From 017b8398eab176e333f511baf5029f2c7309a4fe Mon Sep 17 00:00:00 2001 From: Shefali Date: Wed, 13 May 2015 16:08:56 -0700 Subject: [PATCH 01/38] adding models --- src/ResourceManager.sln | 22 ++-- .../Commands.HDInsight.csproj | 119 ++++++++++++++++++ .../Commands/NewAzureHDInsightCommand.cs | 29 +++++ .../HDInsight/Commands.HDInsight/Constants.cs | 20 +++ .../Commands.HDInsight/Models/Cluster.cs | 67 ++++++++++ .../Models/ClusterDefinition.cs | 43 +++++++ .../Models/ClusterGetProperties.cs | 98 +++++++++++++++ .../Models/ComputeProfile.cs | 35 ++++++ .../Models/ConnectivityEndpoint.cs | 46 +++++++ .../Commands.HDInsight/Models/ErrorInfo.cs | 36 ++++++ .../HDInsightClusterProvisioningState.cs | 47 +++++++ .../Models/HardwareProfile.cs | 34 +++++ .../Models/LinuxOperatingSystemProfile.cs | 41 ++++++ .../Commands.HDInsight/Models/OsProfile.cs | 39 ++++++ .../Commands.HDInsight/Models/QuotaInfo.cs | 31 +++++ .../Commands.HDInsight/Models/RdpSettings.cs | 43 +++++++ .../Commands.HDInsight/Models/Role.cs | 59 +++++++++ .../Commands.HDInsight/Models/SshProfile.cs | 40 ++++++ .../Commands.HDInsight/Models/SshPublicKey.cs | 31 +++++ .../Models/VirtualNetworkProfile.cs | 36 ++++++ .../Models/WindowsOperatingSystemProfile.cs | 32 +++++ .../Properties/AssemblyInfo.cs | 36 ++++++ .../Commands.HDInsight/packages.config | 12 ++ 23 files changed, 987 insertions(+), 9 deletions(-) create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightCommand.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Constants.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/Cluster.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/ClusterDefinition.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/ClusterGetProperties.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/ComputeProfile.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/ConnectivityEndpoint.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/ErrorInfo.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/HDInsightClusterProvisioningState.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/HardwareProfile.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/LinuxOperatingSystemProfile.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/OsProfile.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/QuotaInfo.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/RdpSettings.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/Role.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/SshProfile.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/SshPublicKey.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/VirtualNetworkProfile.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/WindowsOperatingSystemProfile.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Properties/AssemblyInfo.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/packages.config diff --git a/src/ResourceManager.sln b/src/ResourceManager.sln index 48250f0f9915..aa23b7916bcb 100644 --- a/src/ResourceManager.sln +++ b/src/ResourceManager.sln @@ -1,6 +1,6 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 2013 -VisualStudioVersion = 12.0.31101.0 +VisualStudioVersion = 12.0.30723.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{8531411A-0137-4E27-9C5E-49E07C245048}" ProjectSection(SolutionItems) = preProject @@ -49,7 +49,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.StreamAnalytics.Te EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Insights", "ResourceManager\Insights\Commands.Insights\Commands.Insights.csproj", "{DEA446A1-84E2-46CC-B780-EB4AFDE2460E}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ResourceManagement.Automation.Test", "ResourceManager\Automation\Commands.Automation.Test\Commands.ResourceManagement.Automation.Test.csproj", "{127D0D51-FDEA-4E1A-8CD8-34DEB5C2F7F6}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ResourceManagement.Automation.Test", "ResourceManager\Automation\Commands.Automation.Test\Commands.ResourceManagement.Automation.Test.csproj", "{59D1B5DC-9175-43EC-90C6-CBA601B3565F}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Websites", "ResourceManager\Websites\Commands.Websites\Commands.Websites.csproj", "{80A92297-7C92-456B-8EE7-9FB6CE30149D}" EndProject @@ -63,6 +63,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Dns", "ResourceMan EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Dns.Test", "ResourceManager\Dns\Commands.Dns.Test\Commands.Dns.Test.csproj", "{133561EC-99AF-4ADC-AF41-39C4D3AD323B}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.HDInsight", "ResourceManager\HDInsight\Commands.HDInsight\Commands.HDInsight.csproj", "{6B7540C5-8AB3-4011-864B-0BE76F282F9E}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -145,10 +147,10 @@ Global {DEA446A1-84E2-46CC-B780-EB4AFDE2460E}.Debug|Any CPU.Build.0 = Debug|Any CPU {DEA446A1-84E2-46CC-B780-EB4AFDE2460E}.Release|Any CPU.ActiveCfg = Release|Any CPU {DEA446A1-84E2-46CC-B780-EB4AFDE2460E}.Release|Any CPU.Build.0 = Release|Any CPU - {127D0D51-FDEA-4E1A-8CD8-34DEB5C2F7F6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {127D0D51-FDEA-4E1A-8CD8-34DEB5C2F7F6}.Debug|Any CPU.Build.0 = Debug|Any CPU - {127D0D51-FDEA-4E1A-8CD8-34DEB5C2F7F6}.Release|Any CPU.ActiveCfg = Release|Any CPU - {127D0D51-FDEA-4E1A-8CD8-34DEB5C2F7F6}.Release|Any CPU.Build.0 = Release|Any CPU + {59D1B5DC-9175-43EC-90C6-CBA601B3565F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {59D1B5DC-9175-43EC-90C6-CBA601B3565F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {59D1B5DC-9175-43EC-90C6-CBA601B3565F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {59D1B5DC-9175-43EC-90C6-CBA601B3565F}.Release|Any CPU.Build.0 = Release|Any CPU {80A92297-7C92-456B-8EE7-9FB6CE30149D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {80A92297-7C92-456B-8EE7-9FB6CE30149D}.Debug|Any CPU.Build.0 = Debug|Any CPU {80A92297-7C92-456B-8EE7-9FB6CE30149D}.Release|Any CPU.ActiveCfg = Release|Any CPU @@ -173,6 +175,10 @@ Global {133561EC-99AF-4ADC-AF41-39C4D3AD323B}.Debug|Any CPU.Build.0 = Debug|Any CPU {133561EC-99AF-4ADC-AF41-39C4D3AD323B}.Release|Any CPU.ActiveCfg = Release|Any CPU {133561EC-99AF-4ADC-AF41-39C4D3AD323B}.Release|Any CPU.Build.0 = Release|Any CPU + {6B7540C5-8AB3-4011-864B-0BE76F282F9E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6B7540C5-8AB3-4011-864B-0BE76F282F9E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6B7540C5-8AB3-4011-864B-0BE76F282F9E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6B7540C5-8AB3-4011-864B-0BE76F282F9E}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -186,11 +192,9 @@ Global {080B0477-7E52-4455-90AB-23BD13D1B1CE} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} {56ED8C97-53B9-4DF6-ACB5-7E6800105BF8} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} {7E6683BE-ECFF-4709-89EB-1325E9E70512} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} - {127D0D51-FDEA-4E1A-8CD8-34DEB5C2F7F6} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} + {59D1B5DC-9175-43EC-90C6-CBA601B3565F} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} {13E031E4-8A43-4B87-9D72-D70180C31C11} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} - {F4ABAD68-64A5-4B23-B09C-42559A7524DE} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} {469F20E0-9D40-41AD-94C3-B47AD15A4C00} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} {133561EC-99AF-4ADC-AF41-39C4D3AD323B} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} - {13E031E4-8A43-4B87-9D72-D70180C31C11} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} EndGlobalSection EndGlobal diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj new file mode 100644 index 000000000000..28726cc96191 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj @@ -0,0 +1,119 @@ + + + + + Debug + AnyCPU + {6B7540C5-8AB3-4011-864B-0BE76F282F9E} + Library + Properties + Microsoft.Azure.Commands.HDInsight + Microsoft.Azure.Commands.HDInsight + v4.5 + 512 + ..\..\..\ + true + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + ;$(ProgramFiles)\Microsoft Visual Studio 12.0\Team Tools\Static Analysis Tools\Rule Sets + ;$(ProgramFiles)\Microsoft Visual Studio 12.0\Team Tools\Static Analysis Tools\FxCop\Rules + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ..\..\..\packages\Hyak.Common.1.0.2\lib\net45\Hyak.Common.dll + + + ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.dll + + + ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll + + + ..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll + + + ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.dll + + + ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.dll + + + ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll + + + False + ..\..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll + + + + + + + ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Extensions.dll + + + ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Primitives.dll + + + + + + {5ee72c53-1720-4309-b54b-5fb79703195f} + Commands.Common + + + + + + + This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + + + + + + \ No newline at end of file diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightCommand.cs new file mode 100644 index 000000000000..2c00c9b76d70 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightCommand.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.Management.Automation; +using Microsoft.WindowsAzure.Commands.Utilities.Common; + +namespace Microsoft.Azure.Commands.HDInsight +{ + [Cmdlet( + VerbsCommon.New, + Constants.AzureHDInsightCluster), + OutputType( + typeof(PSVirtualMachine))] + public class NewAzureHDInsightCommand : AzurePSCmdlet + { + + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Constants.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Constants.cs new file mode 100644 index 000000000000..5f432ac1e060 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Constants.cs @@ -0,0 +1,20 @@ +// +// 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.HDInsight +{ + internal static class Constants + { + public const string AzureHDInsightCluster = "AzureHDInsightCluster"; + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Cluster.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Cluster.cs new file mode 100644 index 000000000000..5d55b202e169 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Cluster.cs @@ -0,0 +1,67 @@ +// ---------------------------------------------------------------------------------- +// +// 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; + +namespace Microsoft.Azure.Commands.HDInsight.Models +{ + /// + /// Describes the cluster. + /// + public class Cluster + { + /// + /// Optional. The ETag for the resource + /// + public string ETag { get; set; } + + /// + /// Optional. The ID of the resource. + /// + public string Id { get; set; } + + /// + /// Optional. The location of the resource. + /// + public string Location { get; set; } + + /// + /// Optional. The name of the resource. + /// + public string Name { get; set; } + + /// + /// Optional. The properties of the cluster. + /// + public ClusterGetProperties Properties { get; set; } + + /// + /// Optional. The resource tags. + /// + public IDictionary Tags { get; set; } + + /// + /// Optional. The type of resource. + /// + public string Type { get; set; } + + /// + /// Initializes a new instance of the Cluster class. + /// + public Cluster() + { + this.Tags = new Dictionary(); + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/ClusterDefinition.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/ClusterDefinition.cs new file mode 100644 index 000000000000..d3db65b5fe0a --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/ClusterDefinition.cs @@ -0,0 +1,43 @@ +// ---------------------------------------------------------------------------------- +// +// 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.HDInsight.Models +{ + public class ClusterDefinition + { + /// + /// The link to the blueprint. + /// + public Uri BlueprintUri { get; set; } + + /// + /// The type of cluster. + /// + public string ClusterType { get; set; } + + /// + /// The cluster configurations. + /// + public string Configurations { get; set; } + + /// + /// Initializes a new instance of the ClusterDefinition class. + /// + public ClusterDefinition() + { + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/ClusterGetProperties.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/ClusterGetProperties.cs new file mode 100644 index 000000000000..36074b8f25ff --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/ClusterGetProperties.cs @@ -0,0 +1,98 @@ +// ---------------------------------------------------------------------------------- +// +// 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; + +namespace Microsoft.Azure.Commands.HDInsight.Models +{ + /// + /// Describes the properties of a cluster. + /// + public class ClusterGetProperties + { + /// + /// The cluster definition. + /// + public ClusterDefinition ClusterDefinition { get; set; } + + /// + /// The state of the cluster. + /// + public string ClusterState { get; set; } + + /// + /// The version of the cluster. + /// + public string ClusterVersion { get; set; } + + /// + /// The compute profile. + /// + public ComputeProfile ComputeProfile { get; set; } + + /// + /// The list of connectivity endpoints. + /// + public IList ConnectivityEndpoints { get; set; } + + /// + /// The date on which the cluster was created. + /// + public DateTime CreatedDate { get; set; } + + /// + /// The list of errors. + /// + public IList ErrorInfos { get; set; } + + /// + /// The type of operating system. + /// + public string OperatingSystemType { get; set; } + + /// + /// The provisioning state, which only appears in the response. + /// + public HDInsightClusterProvisioningState ProvisioningState { get; set; } + + /// + /// The quota information. + /// + public QuotaInfo QuotaInfo { get; set; } + + /// + /// Initializes a new instance of the ClusterGetProperties class. + /// + public ClusterGetProperties() + { + this.ConnectivityEndpoints = new List(); + this.ErrorInfos = new List(); + } + + /// + /// Initializes a new instance of the ClusterGetProperties class with + /// required arguments. + /// + public ClusterGetProperties(ClusterDefinition clusterDefinition) + : this() + { + if (clusterDefinition == null) + { + throw new ArgumentNullException("clusterDefinition"); + } + this.ClusterDefinition = clusterDefinition; + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/ComputeProfile.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/ComputeProfile.cs new file mode 100644 index 000000000000..565e8758ceb7 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/ComputeProfile.cs @@ -0,0 +1,35 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.WindowsAzure.Commands.ServiceManagement.Model; + +namespace Microsoft.Azure.Commands.HDInsight.Models +{ + public class ComputeProfile + { + /// + /// The list of roles in the cluster. + /// + public IList Roles { get; set; } + + /// + /// Initializes a new instance of the ComputeProfile class. + /// + public ComputeProfile() + { + this.Roles = new List(); + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/ConnectivityEndpoint.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/ConnectivityEndpoint.cs new file mode 100644 index 000000000000..d0c1225fbed1 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/ConnectivityEndpoint.cs @@ -0,0 +1,46 @@ +// ---------------------------------------------------------------------------------- +// +// 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.HDInsight.Models +{ + public class ConnectivityEndpoint + { + /// + /// The location of the endpoint. + /// + public string Location { get; set; } + + /// + /// The name of the endpoint. + /// + public string Name { get; set; } + + /// + /// The port to connect to. + /// + public int Port { get; set; } + + /// + /// The protocol of the endpoint. + /// + public string Protocol { get; set; } + + /// + /// Initializes a new instance of the ConnectivityEndpoint class. + /// + public ConnectivityEndpoint() + { + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/ErrorInfo.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/ErrorInfo.cs new file mode 100644 index 000000000000..c8196981e558 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/ErrorInfo.cs @@ -0,0 +1,36 @@ +// ---------------------------------------------------------------------------------- +// +// 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.HDInsight.Models +{ + public class ErrorInfo + { + /// + /// The error code. + /// + public string Code { get; set; } + + /// + /// The error message. + /// + public string Message { get; set; } + + /// + /// Initializes a new instance of the ErrorInfo class. + /// + public ErrorInfo() + { + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/HDInsightClusterProvisioningState.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/HDInsightClusterProvisioningState.cs new file mode 100644 index 000000000000..5c58ca8856c8 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/HDInsightClusterProvisioningState.cs @@ -0,0 +1,47 @@ +// ---------------------------------------------------------------------------------- +// +// 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.HDInsight.Models +{ + /// + /// The provisioning state of the cluster. + /// + public enum HDInsightClusterProvisioningState + { + /// + /// The cluster create is in progress. + /// + InProgress = 1, + + /// + /// The cluster create failed. + /// + Failed = 2, + + /// + /// The cluster create succeeded. + /// + Succeeded = 3, + + /// + /// The cluster create is canceled. + /// + Canceled = 4, + + /// + /// The cluster is deleting. + /// + Deleting = 5, + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/HardwareProfile.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/HardwareProfile.cs new file mode 100644 index 000000000000..ce950fef4a64 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/HardwareProfile.cs @@ -0,0 +1,34 @@ +// ---------------------------------------------------------------------------------- +// +// 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.HDInsight.Models +{ + /// + /// Describes the hardware profile. + /// + public class HardwareProfile + { + /// + /// The size of the VM + /// + public string VmSize { get; set; } + + /// + /// Initializes a new instance of the HardwareProfile class. + /// + public HardwareProfile() + { + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/LinuxOperatingSystemProfile.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/LinuxOperatingSystemProfile.cs new file mode 100644 index 000000000000..be8b7ca7cdb6 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/LinuxOperatingSystemProfile.cs @@ -0,0 +1,41 @@ +// ---------------------------------------------------------------------------------- +// +// 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.HDInsight.Models +{ + public class LinuxOperatingSystemProfile + { + /// + /// The password. + /// + public string Password { get; set; } + + /// + /// The SSH profile. + /// + public SshProfile SshProfile { get; set; } + + /// + /// The username. + /// + public string UserName { get; set; } + + /// + /// Initializes a new instance of the LinuxOperatingSystemProfile class. + /// + public LinuxOperatingSystemProfile() + { + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/OsProfile.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/OsProfile.cs new file mode 100644 index 000000000000..bb173e4c719b --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/OsProfile.cs @@ -0,0 +1,39 @@ +// ---------------------------------------------------------------------------------- +// +// 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.HDInsight.Models +{ + /// + /// The OS profile. + /// + public class OsProfile + { + /// + /// The Linux OS profile. + /// + public LinuxOperatingSystemProfile LinuxOperatingSystemProfile { get; set; } + + /// + /// The Windows OS profile. + /// + public WindowsOperatingSystemProfile WindowsOperatingSystemProfile { get; set; } + + /// + /// Initializes a new instance of the OsProfile class. + /// + public OsProfile() + { + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/QuotaInfo.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/QuotaInfo.cs new file mode 100644 index 000000000000..138ae93afa74 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/QuotaInfo.cs @@ -0,0 +1,31 @@ +// ---------------------------------------------------------------------------------- +// +// 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.HDInsight.Models +{ + public class QuotaInfo + { + /// + /// The cores used by the cluster. + /// + public int CoresUsed { get; set; } + + /// + /// Initializes a new instance of the QuotaInfo class. + /// + public QuotaInfo() + { + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/RdpSettings.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/RdpSettings.cs new file mode 100644 index 000000000000..92f3ccde2aa5 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/RdpSettings.cs @@ -0,0 +1,43 @@ +// ---------------------------------------------------------------------------------- +// +// 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.HDInsight.Models +{ + public class RdpSettings + { + /// + /// The RDP expiry date. + /// + public DateTime ExpiryDate { get; set; } + + /// + /// The password for the RDP user. + /// + public string Password { get; set; } + + /// + /// The username for the RDP user. + /// + public string UserName { get; set; } + + /// + /// Initializes a new instance of the RdpSettings class. + /// + public RdpSettings() + { + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Role.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Role.cs new file mode 100644 index 000000000000..82d8f4d71bf5 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Role.cs @@ -0,0 +1,59 @@ +// ---------------------------------------------------------------------------------- +// +// 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.HDInsight.Models +{ + /// + /// Describes a role on the cluster. + /// + public class Role + { + /// + /// The hardware profile. + /// + public HardwareProfile HardwareProfile { get; set; } + + /// + /// The minimum instance count required to mark the cluster operational. + /// + public int? MinInstanceCount { get; set; } + + /// + /// The name of the role. + /// + public string Name { get; set; } + + /// + /// The operating system profile. + /// + public OsProfile OsProfile { get; set; } + + /// + /// The instance count of the cluster. + /// + public int TargetInstanceCount { get; set; } + + /// + /// The virtual network profile. + /// + public VirtualNetworkProfile VirtualNetworkProfile { get; set; } + + /// + /// Initializes a new instance of the Role class. + /// + public Role() + { + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/SshProfile.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/SshProfile.cs new file mode 100644 index 000000000000..638b40ece2d6 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/SshProfile.cs @@ -0,0 +1,40 @@ +// ---------------------------------------------------------------------------------- +// +// 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; + +namespace Microsoft.Azure.Commands.HDInsight.Models +{ + public class SshProfile + { + private IList _sshPublicKeys; + + /// + /// The list of SSH public keys. + /// + public IList SshPublicKeys + { + get { return this._sshPublicKeys; } + set { this._sshPublicKeys = value; } + } + + /// + /// Initializes a new instance of the SshProfile class. + /// + public SshProfile() + { + this.SshPublicKeys = new List(); + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/SshPublicKey.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/SshPublicKey.cs new file mode 100644 index 000000000000..d271afa62c20 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/SshPublicKey.cs @@ -0,0 +1,31 @@ +// ---------------------------------------------------------------------------------- +// +// 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.HDInsight.Models +{ + public class SshPublicKey + { + /// + /// The certificate for SSH. + /// + public string CertificateData { get; set; } + + /// + /// Initializes a new instance of the SshPublicKey class. + /// + public SshPublicKey() + { + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/VirtualNetworkProfile.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/VirtualNetworkProfile.cs new file mode 100644 index 000000000000..197d8a798859 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/VirtualNetworkProfile.cs @@ -0,0 +1,36 @@ +// ---------------------------------------------------------------------------------- +// +// 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.HDInsight.Models +{ + public class VirtualNetworkProfile + { + /// + /// The ID of the virtual network. + /// + public string Id { get; set; } + + /// + /// The name of the subnet. + /// + public string SubnetName { get; set; } + + /// + /// Initializes a new instance of the VirtualNetworkProfile class. + /// + public VirtualNetworkProfile() + { + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/WindowsOperatingSystemProfile.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/WindowsOperatingSystemProfile.cs new file mode 100644 index 000000000000..170b9bec93d3 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/WindowsOperatingSystemProfile.cs @@ -0,0 +1,32 @@ +// ---------------------------------------------------------------------------------- +// +// 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.HDInsight.Models +{ + public class WindowsOperatingSystemProfile + { + /// + /// The RDP settings. + /// + public RdpSettings RdpSettings { get; set; } + + /// + /// Initializes a new instance of the WindowsOperatingSystemProfile + /// class. + /// + public WindowsOperatingSystemProfile() + { + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Properties/AssemblyInfo.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..8686e0ea45ca --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Commands.HDInsight")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Commands.HDInsight")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("57ad7b0e-1f56-4166-b1f9-ec6512139a54")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/packages.config b/src/ResourceManager/HDInsight/Commands.HDInsight/packages.config new file mode 100644 index 000000000000..75eda5ed0675 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/packages.config @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file From 6d4fe40a884beb6b66e5f285d0e56c1e876b2347 Mon Sep 17 00:00:00 2001 From: Shefali Date: Wed, 13 May 2015 20:32:37 -0700 Subject: [PATCH 02/38] removing unnecessary models and adding create cluster cmdlet --- .../Commands.HDInsight.csproj | 37 ++-- .../HDInsightCmdletBase.cs} | 31 +-- .../Commands/NewAzureHDInsightCommand.cs | 202 +++++++++++++++++- .../Models/AzureHDInsightConfig.cs | 79 +++++++ ...sProfile.cs => AzureHDInsightMetastore.cs} | 20 +- ...e.cs => AzureHdInsightManagementClient.cs} | 27 +-- .../Commands.HDInsight/Models/Cluster.cs | 67 ------ .../Models/ClusterDefinition.cs | 43 ---- .../Models/ClusterGetProperties.cs | 98 --------- .../Models/ComputeProfile.cs | 35 --- .../Models/ConnectivityEndpoint.cs | 46 ---- .../HDInsightClusterProvisioningState.cs | 47 ---- .../Models/HardwareProfile.cs | 34 --- .../Models/LinuxOperatingSystemProfile.cs | 41 ---- .../Commands.HDInsight/Models/QuotaInfo.cs | 31 --- .../Commands.HDInsight/Models/RdpSettings.cs | 43 ---- .../Commands.HDInsight/Models/Role.cs | 59 ----- .../Commands.HDInsight/Models/SshPublicKey.cs | 31 --- .../Models/VirtualNetworkProfile.cs | 36 ---- .../Models/WindowsOperatingSystemProfile.cs | 32 --- .../Commands.HDInsight/packages.config | 6 +- 21 files changed, 340 insertions(+), 705 deletions(-) rename src/ResourceManager/HDInsight/Commands.HDInsight/{Models/ErrorInfo.cs => Commands/HDInsightCmdletBase.cs} (52%) create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightConfig.cs rename src/ResourceManager/HDInsight/Commands.HDInsight/Models/{OsProfile.cs => AzureHDInsightMetastore.cs} (67%) rename src/ResourceManager/HDInsight/Commands.HDInsight/Models/{SshProfile.cs => AzureHdInsightManagementClient.cs} (50%) delete mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/Cluster.cs delete mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/ClusterDefinition.cs delete mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/ClusterGetProperties.cs delete mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/ComputeProfile.cs delete mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/ConnectivityEndpoint.cs delete mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/HDInsightClusterProvisioningState.cs delete mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/HardwareProfile.cs delete mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/LinuxOperatingSystemProfile.cs delete mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/QuotaInfo.cs delete mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/RdpSettings.cs delete mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/Role.cs delete mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/SshPublicKey.cs delete mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/VirtualNetworkProfile.cs delete mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/WindowsOperatingSystemProfile.cs diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj index 28726cc96191..2a0be27c875f 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj @@ -35,25 +35,12 @@ true + - - - - - - - - - - - - - - - - - + + + @@ -66,12 +53,24 @@ ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.dll + + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll + + ..\..\..\..\..\azure-sdk-for-net-pr\binaries\net40\Microsoft.Azure.Management.HDInsight.dll + ..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll + + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.14.201151115\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + + + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.14.201151115\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.dll @@ -90,10 +89,10 @@ - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Extensions.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.29\lib\net45\System.Net.Http.Extensions.dll - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Primitives.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.29\lib\net45\System.Net.Http.Primitives.dll diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/ErrorInfo.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/HDInsightCmdletBase.cs similarity index 52% rename from src/ResourceManager/HDInsight/Commands.HDInsight/Models/ErrorInfo.cs rename to src/ResourceManager/HDInsight/Commands.HDInsight/Commands/HDInsightCmdletBase.cs index c8196981e558..a4daf5943470 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/ErrorInfo.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/HDInsightCmdletBase.cs @@ -12,25 +12,26 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -namespace Microsoft.Azure.Commands.HDInsight.Models +using Microsoft.Azure.Commands.HDInsight.Models; +using Microsoft.WindowsAzure.Commands.Utilities.Common; + +namespace Microsoft.Azure.Commands.HDInsight.Commands { - public class ErrorInfo + public class HDInsightCmdletBase : AzurePSCmdlet { - /// - /// The error code. - /// - public string Code { get; set; } - - /// - /// The error message. - /// - public string Message { get; set; } + private AzureHdInsightManagementClient _hdInsightManagementClient; - /// - /// Initializes a new instance of the ErrorInfo class. - /// - public ErrorInfo() + public AzureHdInsightManagementClient HDInsightManagementClient { + get + { + if (this._hdInsightManagementClient == null) + { + this._hdInsightManagementClient = new AzureHdInsightManagementClient(Profile.Context); + } + return this._hdInsightManagementClient; + } + set { this._hdInsightManagementClient = value; } } } } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightCommand.cs index 2c00c9b76d70..633c674feb57 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightCommand.cs @@ -12,8 +12,12 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using System; +using System.Collections.Generic; using System.Management.Automation; -using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.Azure.Commands.HDInsight.Commands; +using Microsoft.Azure.Commands.HDInsight.Models; +using Microsoft.Azure.Management.HDInsight.Models; namespace Microsoft.Azure.Commands.HDInsight { @@ -21,9 +25,201 @@ namespace Microsoft.Azure.Commands.HDInsight VerbsCommon.New, Constants.AzureHDInsightCluster), OutputType( - typeof(PSVirtualMachine))] - public class NewAzureHDInsightCommand : AzurePSCmdlet + typeof(ClusterGetResponse))] + public class NewAzureHDInsightCommand : HDInsightCmdletBase { + #region Input Parameter Definitions + [Parameter(Mandatory = true, + HelpMessage = "Gets or sets the name of the resource group.")] + public string ResourceGroupName { get; set; } + + [Parameter(Mandatory = true, + HelpMessage = "Gets or sets the name of the cluster.")] + public string ClusterName { get; set; } + + [Parameter(Mandatory = true, + HelpMessage = "Gets or sets the datacenter location for the cluster.")] + public string Location { get; set; } + + [Parameter(Mandatory = true, + HelpMessage = "Gets or sets the StorageName for the default Azure Storage Account.")] + public string DefaultStorageAccountName { get; set; } + + [Parameter(Mandatory = true, + HelpMessage = "Gets or sets the StorageKey for the default Azure Storage Account.")] + public string DefaultStorageAccountKey { get; set; } + + [Parameter(Mandatory = true, + HelpMessage = "Gets or sets the number of workernodes for the cluster.")] + public int ClusterSizeInNodes { get; set; } + + [Parameter(HelpMessage = "Gets or sets the database to store the metadata for Oozie.")] + public AzureHDInsightMetastore OozieMetastore { get; set; } + + [Parameter(HelpMessage = "Gets or sets the database to store the metadata for Hive.")] + public AzureHDInsightMetastore HiveMetastore { get; set; } + + [Parameter(HelpMessage = "Gets additional Azure Storage Account that you want to enable access to.")] + public Dictionary AdditionalStorageAccounts { get; private set; } + + [Parameter(HelpMessage = "Gets the configurations of this HDInsight cluster.")] + public Dictionary> Configurations { get; private set; } + + [Parameter(HelpMessage = "Gets or sets the StorageContainer for the default Azure Storage Account.")] + public string DefaultStorageContainer { get; set; } + + [Parameter(HelpMessage = "Gets or sets the login for the cluster's user.")] + public string UserName { get; set; } + + [Parameter(HelpMessage = "Gets or sets the password for the cluster's user.")] + public string Password { get; set; } + + [Parameter(HelpMessage = "Gets or sets the username for RDP access to the cluster.")] + public string RdpUsername { get; set; } + + [Parameter(HelpMessage = "Gets or sets the password for RDP access to the cluster.")] + public string RdpPassword { get; set; } + + [Parameter(HelpMessage = "Gets or sets the expiry DateTime for RDP access on the cluster.")] + public DateTime RdpAccessExpiry { get; set; } + + [Parameter(HelpMessage = "Gets or sets the version of the HDInsight cluster.")] + public string Version { get; set; } + + [Parameter(HelpMessage = "Gets or sets the size of the Head Node.")] + public string HeadNodeSize { get; set; } + + [Parameter(HelpMessage = "Gets or sets the size of the Data Node.")] + public string DataNodeSize { get; set; } + + [Parameter(HelpMessage = "Gets or sets the size of the Zookeeper Node.")] + public string ZookeeperNodeSize { get; set; } + + [Parameter(HelpMessage = "Gets or sets the flavor for a cluster.")] + public string ClusterType { get; set; } + + [Parameter(HelpMessage = "Gets or sets the virtual network guid for this HDInsight cluster.")] + public string VirtualNetworkId { get; set; } + + [Parameter(HelpMessage = "Gets or sets the subnet name for this HDInsight cluster.")] + public string SubnetName { get; set; } + + [Parameter(HelpMessage = "Gets or sets the type of operating system installed on cluster nodes.")] + public string OSType { get; set; } + + [Parameter(HelpMessage = "Gets or sets SSH user name.")] + public string SshUserName { get; set; } + + [Parameter(HelpMessage = "Gets or sets SSH password.")] + public string SshPassword { get; set; } + + [Parameter(HelpMessage = "Gets or sets the public key to be used for SSH.")] + public string SshPublicKey { get; set; } + + [Parameter(HelpMessage = "The HDInsight cluster configuration to use when creating the new cluster")] + public AzureHDInsightConfig Config { + get + { + var result = new AzureHDInsightConfig + { + ClusterType = this.ClusterType, + DefaultStorageAccountName = this.DefaultStorageAccountName, + DefaultStorageAccountKey = this.DefaultStorageAccountKey, + DataNodeSize = this.DataNodeSize, + HeadNodeSize = this.HeadNodeSize, + ZookeeperNodeSize = this.ZookeeperNodeSize, + HiveMetastore = this.HiveMetastore, + OozieMetastore = this.OozieMetastore + }; + foreach (var storageAccount in this.AdditionalStorageAccounts) + { + result.AdditionalStorageAccounts.Add(storageAccount.Key, storageAccount.Value); + } + foreach (var val in this.Configurations) + { + result.Configurations.Add(val.Key, val.Value); + } + return result; + } + set + { + this.ClusterType = value.ClusterType; + this.DefaultStorageAccountName = value.DefaultStorageAccountName; + this.DefaultStorageAccountKey = value.DefaultStorageAccountKey; + this.DataNodeSize = value.DataNodeSize; + this.HeadNodeSize = value.HeadNodeSize; + this.ZookeeperNodeSize = value.ZookeeperNodeSize; + this.HiveMetastore = value.HiveMetastore; + this.OozieMetastore = value.HiveMetastore; + foreach (var storageAccount in value.AdditionalStorageAccounts) + { + this.AdditionalStorageAccounts.Add(storageAccount.Key, storageAccount.Value); + } + foreach (var val in value.Configurations) + { + this.Configurations.Add(val.Key, val.Value); + } + } + } + + #endregion + + public NewAzureHDInsightCommand() + { + this.AdditionalStorageAccounts = new Dictionary(); + this.Configurations = new Dictionary>(); + } + + public override void ExecuteCmdlet() + { + var parameters = new ClusterCreateParameters + { + Location = this.Location, + DefaultStorageAccountName = this.DefaultStorageAccountName, + DefaultStorageAccountKey = this.DefaultStorageAccountKey, + ClusterSizeInNodes = this.ClusterSizeInNodes, + DefaultStorageContainer = this.DefaultStorageContainer, + UserName = this.UserName, + Password = this.Password, + RdpUsername = this.RdpUsername, + RdpPassword = this.RdpPassword, + RdpAccessExpiry = this.RdpAccessExpiry, + Version = this.Version, + HeadNodeSize = this.HeadNodeSize, + DataNodeSize = this.DataNodeSize, + ZookeeperNodeSize = this.ZookeeperNodeSize, + ClusterType = this.ClusterType, + VirtualNetworkId = this.VirtualNetworkId, + SubnetName = this.SubnetName, + OSType = this.OSType, + SshUserName = this.SshUserName, + SshPassword = this.SshPassword, + SshPublicKey = this.SshPublicKey + }; + + foreach (var storageAccount in this.AdditionalStorageAccounts) + { + parameters.AdditionalStorageAccounts.Add(storageAccount.Key, storageAccount.Value); + } + foreach (var config in this.Configurations) + { + parameters.Configurations.Add(config.Key, config.Value); + } + if (this.OozieMetastore != null) + { + var metastore = this.OozieMetastore; + parameters.OozieMetastore = new Metastore(metastore.SqlAzureServerName, metastore.DatabaseName, metastore.Credential.UserName, metastore.Credential.Password.ToString()); + } + if (this.HiveMetastore != null) + { + var metastore = this.HiveMetastore; + parameters.OozieMetastore = new Metastore(metastore.SqlAzureServerName, metastore.DatabaseName, metastore.Credential.UserName, metastore.Credential.Password.ToString()); + } + + var cluster = HDInsightManagementClient.CreateNewCluster(ResourceGroupName, ClusterName, parameters); + + this.WriteObject(cluster); + } } } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightConfig.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightConfig.cs new file mode 100644 index 000000000000..d6042f8f5161 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightConfig.cs @@ -0,0 +1,79 @@ +// ---------------------------------------------------------------------------------- +// +// 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; + +namespace Microsoft.Azure.Commands.HDInsight.Models +{ + public class AzureHDInsightConfig + { + /// + /// Gets or sets the database to store the metadata for Oozie. + /// + public AzureHDInsightMetastore OozieMetastore { get; set; } + + /// + /// Gets or sets the database to store the metadata for Hive. + /// + public AzureHDInsightMetastore HiveMetastore { get; set; } + + /// + /// Gets additional Azure Storage Account that you want to enable access to. + /// + public Dictionary AdditionalStorageAccounts { get; private set; } + + /// + /// Gets the configurations of this HDInsight cluster. + /// + public Dictionary> Configurations { get; private set; } + + /// + /// Gets or sets the StorageName for the default Azure Storage Account. + /// + public string DefaultStorageAccountName { get; set; } + + /// + /// Gets or sets the StorageKey for the default Azure Storage Account. + /// + public string DefaultStorageAccountKey { get; set; } + + /// + /// Gets or sets the size of the Head Node. + /// + public string HeadNodeSize { get; set; } + + /// + /// Gets or sets the size of the Data Node. + /// + public string DataNodeSize { get; set; } + + /// + /// Gets or sets the size of the Zookeeper Node. + /// + public string ZookeeperNodeSize { get; set; } + + /// + /// Gets or sets the flavor for a cluster. + /// + public string ClusterType { get; set; } + + public AzureHDInsightConfig() + { + this.AdditionalStorageAccounts = new Dictionary(); + this.ClusterType = "Hadoop"; + this.Configurations = new Dictionary>(); + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/OsProfile.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightMetastore.cs similarity index 67% rename from src/ResourceManager/HDInsight/Commands.HDInsight/Models/OsProfile.cs rename to src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightMetastore.cs index bb173e4c719b..2e7021fdc0ff 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/OsProfile.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightMetastore.cs @@ -12,28 +12,28 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using System.Management.Automation; + namespace Microsoft.Azure.Commands.HDInsight.Models { /// - /// The OS profile. + /// Represents an AzureHDInsightMetastore. /// - public class OsProfile + public class AzureHDInsightMetastore { /// - /// The Linux OS profile. + /// Gets or sets the Azure SQL Server user credentials. /// - public LinuxOperatingSystemProfile LinuxOperatingSystemProfile { get; set; } + public PSCredential Credential { get; set; } /// - /// The Windows OS profile. + /// Gets or sets the Azure SQL Server database name. /// - public WindowsOperatingSystemProfile WindowsOperatingSystemProfile { get; set; } + public string DatabaseName { get; set; } /// - /// Initializes a new instance of the OsProfile class. + /// Gets or sets the Azure SQL Server for the metastore. /// - public OsProfile() - { - } + public string SqlAzureServerName { get; set; } } } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/SshProfile.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHdInsightManagementClient.cs similarity index 50% rename from src/ResourceManager/HDInsight/Commands.HDInsight/Models/SshProfile.cs rename to src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHdInsightManagementClient.cs index 638b40ece2d6..096dfe1c6546 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/SshProfile.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHdInsightManagementClient.cs @@ -12,29 +12,30 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using System.Collections.Generic; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; +using Microsoft.Azure.Management.HDInsight; +using Microsoft.Azure.Management.HDInsight.Models; namespace Microsoft.Azure.Commands.HDInsight.Models { - public class SshProfile + public class AzureHdInsightManagementClient { - private IList _sshPublicKeys; - - /// - /// The list of SSH public keys. - /// - public IList SshPublicKeys + public AzureHdInsightManagementClient(AzureContext context) { - get { return this._sshPublicKeys; } - set { this._sshPublicKeys = value; } + HdInsightManagementClient = AzureSession.ClientFactory.CreateClient(context, AzureEnvironment.Endpoint.ResourceManager); } /// - /// Initializes a new instance of the SshProfile class. + /// Parameterless constructor for mocking /// - public SshProfile() + public AzureHdInsightManagementClient() { } + + private IHDInsightManagementClient HdInsightManagementClient { get; set; } + + public ClusterGetResponse CreateNewCluster(string resourceGroupName, string clusterName, ClusterCreateParameters parameters) { - this.SshPublicKeys = new List(); + return this.HdInsightManagementClient.Clusters.Create(resourceGroupName, clusterName, parameters); } } } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Cluster.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Cluster.cs deleted file mode 100644 index 5d55b202e169..000000000000 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Cluster.cs +++ /dev/null @@ -1,67 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// 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; - -namespace Microsoft.Azure.Commands.HDInsight.Models -{ - /// - /// Describes the cluster. - /// - public class Cluster - { - /// - /// Optional. The ETag for the resource - /// - public string ETag { get; set; } - - /// - /// Optional. The ID of the resource. - /// - public string Id { get; set; } - - /// - /// Optional. The location of the resource. - /// - public string Location { get; set; } - - /// - /// Optional. The name of the resource. - /// - public string Name { get; set; } - - /// - /// Optional. The properties of the cluster. - /// - public ClusterGetProperties Properties { get; set; } - - /// - /// Optional. The resource tags. - /// - public IDictionary Tags { get; set; } - - /// - /// Optional. The type of resource. - /// - public string Type { get; set; } - - /// - /// Initializes a new instance of the Cluster class. - /// - public Cluster() - { - this.Tags = new Dictionary(); - } - } -} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/ClusterDefinition.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/ClusterDefinition.cs deleted file mode 100644 index d3db65b5fe0a..000000000000 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/ClusterDefinition.cs +++ /dev/null @@ -1,43 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// 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.HDInsight.Models -{ - public class ClusterDefinition - { - /// - /// The link to the blueprint. - /// - public Uri BlueprintUri { get; set; } - - /// - /// The type of cluster. - /// - public string ClusterType { get; set; } - - /// - /// The cluster configurations. - /// - public string Configurations { get; set; } - - /// - /// Initializes a new instance of the ClusterDefinition class. - /// - public ClusterDefinition() - { - } - } -} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/ClusterGetProperties.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/ClusterGetProperties.cs deleted file mode 100644 index 36074b8f25ff..000000000000 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/ClusterGetProperties.cs +++ /dev/null @@ -1,98 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// 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; - -namespace Microsoft.Azure.Commands.HDInsight.Models -{ - /// - /// Describes the properties of a cluster. - /// - public class ClusterGetProperties - { - /// - /// The cluster definition. - /// - public ClusterDefinition ClusterDefinition { get; set; } - - /// - /// The state of the cluster. - /// - public string ClusterState { get; set; } - - /// - /// The version of the cluster. - /// - public string ClusterVersion { get; set; } - - /// - /// The compute profile. - /// - public ComputeProfile ComputeProfile { get; set; } - - /// - /// The list of connectivity endpoints. - /// - public IList ConnectivityEndpoints { get; set; } - - /// - /// The date on which the cluster was created. - /// - public DateTime CreatedDate { get; set; } - - /// - /// The list of errors. - /// - public IList ErrorInfos { get; set; } - - /// - /// The type of operating system. - /// - public string OperatingSystemType { get; set; } - - /// - /// The provisioning state, which only appears in the response. - /// - public HDInsightClusterProvisioningState ProvisioningState { get; set; } - - /// - /// The quota information. - /// - public QuotaInfo QuotaInfo { get; set; } - - /// - /// Initializes a new instance of the ClusterGetProperties class. - /// - public ClusterGetProperties() - { - this.ConnectivityEndpoints = new List(); - this.ErrorInfos = new List(); - } - - /// - /// Initializes a new instance of the ClusterGetProperties class with - /// required arguments. - /// - public ClusterGetProperties(ClusterDefinition clusterDefinition) - : this() - { - if (clusterDefinition == null) - { - throw new ArgumentNullException("clusterDefinition"); - } - this.ClusterDefinition = clusterDefinition; - } - } -} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/ComputeProfile.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/ComputeProfile.cs deleted file mode 100644 index 565e8758ceb7..000000000000 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/ComputeProfile.cs +++ /dev/null @@ -1,35 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// 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 Microsoft.WindowsAzure.Commands.ServiceManagement.Model; - -namespace Microsoft.Azure.Commands.HDInsight.Models -{ - public class ComputeProfile - { - /// - /// The list of roles in the cluster. - /// - public IList Roles { get; set; } - - /// - /// Initializes a new instance of the ComputeProfile class. - /// - public ComputeProfile() - { - this.Roles = new List(); - } - } -} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/ConnectivityEndpoint.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/ConnectivityEndpoint.cs deleted file mode 100644 index d0c1225fbed1..000000000000 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/ConnectivityEndpoint.cs +++ /dev/null @@ -1,46 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// 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.HDInsight.Models -{ - public class ConnectivityEndpoint - { - /// - /// The location of the endpoint. - /// - public string Location { get; set; } - - /// - /// The name of the endpoint. - /// - public string Name { get; set; } - - /// - /// The port to connect to. - /// - public int Port { get; set; } - - /// - /// The protocol of the endpoint. - /// - public string Protocol { get; set; } - - /// - /// Initializes a new instance of the ConnectivityEndpoint class. - /// - public ConnectivityEndpoint() - { - } - } -} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/HDInsightClusterProvisioningState.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/HDInsightClusterProvisioningState.cs deleted file mode 100644 index 5c58ca8856c8..000000000000 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/HDInsightClusterProvisioningState.cs +++ /dev/null @@ -1,47 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// 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.HDInsight.Models -{ - /// - /// The provisioning state of the cluster. - /// - public enum HDInsightClusterProvisioningState - { - /// - /// The cluster create is in progress. - /// - InProgress = 1, - - /// - /// The cluster create failed. - /// - Failed = 2, - - /// - /// The cluster create succeeded. - /// - Succeeded = 3, - - /// - /// The cluster create is canceled. - /// - Canceled = 4, - - /// - /// The cluster is deleting. - /// - Deleting = 5, - } -} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/HardwareProfile.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/HardwareProfile.cs deleted file mode 100644 index ce950fef4a64..000000000000 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/HardwareProfile.cs +++ /dev/null @@ -1,34 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// 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.HDInsight.Models -{ - /// - /// Describes the hardware profile. - /// - public class HardwareProfile - { - /// - /// The size of the VM - /// - public string VmSize { get; set; } - - /// - /// Initializes a new instance of the HardwareProfile class. - /// - public HardwareProfile() - { - } - } -} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/LinuxOperatingSystemProfile.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/LinuxOperatingSystemProfile.cs deleted file mode 100644 index be8b7ca7cdb6..000000000000 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/LinuxOperatingSystemProfile.cs +++ /dev/null @@ -1,41 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// 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.HDInsight.Models -{ - public class LinuxOperatingSystemProfile - { - /// - /// The password. - /// - public string Password { get; set; } - - /// - /// The SSH profile. - /// - public SshProfile SshProfile { get; set; } - - /// - /// The username. - /// - public string UserName { get; set; } - - /// - /// Initializes a new instance of the LinuxOperatingSystemProfile class. - /// - public LinuxOperatingSystemProfile() - { - } - } -} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/QuotaInfo.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/QuotaInfo.cs deleted file mode 100644 index 138ae93afa74..000000000000 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/QuotaInfo.cs +++ /dev/null @@ -1,31 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// 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.HDInsight.Models -{ - public class QuotaInfo - { - /// - /// The cores used by the cluster. - /// - public int CoresUsed { get; set; } - - /// - /// Initializes a new instance of the QuotaInfo class. - /// - public QuotaInfo() - { - } - } -} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/RdpSettings.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/RdpSettings.cs deleted file mode 100644 index 92f3ccde2aa5..000000000000 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/RdpSettings.cs +++ /dev/null @@ -1,43 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// 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.HDInsight.Models -{ - public class RdpSettings - { - /// - /// The RDP expiry date. - /// - public DateTime ExpiryDate { get; set; } - - /// - /// The password for the RDP user. - /// - public string Password { get; set; } - - /// - /// The username for the RDP user. - /// - public string UserName { get; set; } - - /// - /// Initializes a new instance of the RdpSettings class. - /// - public RdpSettings() - { - } - } -} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Role.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Role.cs deleted file mode 100644 index 82d8f4d71bf5..000000000000 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Role.cs +++ /dev/null @@ -1,59 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// 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.HDInsight.Models -{ - /// - /// Describes a role on the cluster. - /// - public class Role - { - /// - /// The hardware profile. - /// - public HardwareProfile HardwareProfile { get; set; } - - /// - /// The minimum instance count required to mark the cluster operational. - /// - public int? MinInstanceCount { get; set; } - - /// - /// The name of the role. - /// - public string Name { get; set; } - - /// - /// The operating system profile. - /// - public OsProfile OsProfile { get; set; } - - /// - /// The instance count of the cluster. - /// - public int TargetInstanceCount { get; set; } - - /// - /// The virtual network profile. - /// - public VirtualNetworkProfile VirtualNetworkProfile { get; set; } - - /// - /// Initializes a new instance of the Role class. - /// - public Role() - { - } - } -} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/SshPublicKey.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/SshPublicKey.cs deleted file mode 100644 index d271afa62c20..000000000000 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/SshPublicKey.cs +++ /dev/null @@ -1,31 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// 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.HDInsight.Models -{ - public class SshPublicKey - { - /// - /// The certificate for SSH. - /// - public string CertificateData { get; set; } - - /// - /// Initializes a new instance of the SshPublicKey class. - /// - public SshPublicKey() - { - } - } -} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/VirtualNetworkProfile.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/VirtualNetworkProfile.cs deleted file mode 100644 index 197d8a798859..000000000000 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/VirtualNetworkProfile.cs +++ /dev/null @@ -1,36 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// 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.HDInsight.Models -{ - public class VirtualNetworkProfile - { - /// - /// The ID of the virtual network. - /// - public string Id { get; set; } - - /// - /// The name of the subnet. - /// - public string SubnetName { get; set; } - - /// - /// Initializes a new instance of the VirtualNetworkProfile class. - /// - public VirtualNetworkProfile() - { - } - } -} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/WindowsOperatingSystemProfile.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/WindowsOperatingSystemProfile.cs deleted file mode 100644 index 170b9bec93d3..000000000000 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/WindowsOperatingSystemProfile.cs +++ /dev/null @@ -1,32 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// 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.HDInsight.Models -{ - public class WindowsOperatingSystemProfile - { - /// - /// The RDP settings. - /// - public RdpSettings RdpSettings { get; set; } - - /// - /// Initializes a new instance of the WindowsOperatingSystemProfile - /// class. - /// - public WindowsOperatingSystemProfile() - { - } - } -} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/packages.config b/src/ResourceManager/HDInsight/Commands.HDInsight/packages.config index 75eda5ed0675..5fcaf22bc161 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/packages.config +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/packages.config @@ -2,11 +2,13 @@ + - + - + + \ No newline at end of file From f0febfcbc0c7c517971207adb666130816d5a7ce Mon Sep 17 00:00:00 2001 From: Shefali Date: Thu, 14 May 2015 11:51:53 -0700 Subject: [PATCH 03/38] parameter set names --- .../Commands/NewAzureHDInsightCommand.cs | 80 ++++++++++++------- .../HDInsight/Commands.HDInsight/Constants.cs | 11 ++- 2 files changed, 62 insertions(+), 29 deletions(-) diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightCommand.cs index 633c674feb57..9f3c889860b8 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightCommand.cs @@ -23,50 +23,67 @@ namespace Microsoft.Azure.Commands.HDInsight { [Cmdlet( VerbsCommon.New, - Constants.AzureHDInsightCluster), + Constants.CommandNames.AzureHDInsightCluster), OutputType( typeof(ClusterGetResponse))] public class NewAzureHDInsightCommand : HDInsightCmdletBase { #region Input Parameter Definitions - [Parameter(Mandatory = true, + [Parameter( + Position = 0, + Mandatory = true, HelpMessage = "Gets or sets the name of the resource group.")] public string ResourceGroupName { get; set; } - [Parameter(Mandatory = true, + [Parameter( + Position = 1, + Mandatory = true, HelpMessage = "Gets or sets the name of the cluster.")] public string ClusterName { get; set; } - [Parameter(Mandatory = true, + [Parameter( + Position = 2, + Mandatory = true, HelpMessage = "Gets or sets the datacenter location for the cluster.")] public string Location { get; set; } - [Parameter(Mandatory = true, + [Parameter( + Position = 3, + Mandatory = true, + HelpMessage = "Gets or sets the number of workernodes for the cluster.")] + public int ClusterSizeInNodes { get; set; } + + [Parameter( + Position = 4, + Mandatory = true, HelpMessage = "Gets or sets the StorageName for the default Azure Storage Account.")] public string DefaultStorageAccountName { get; set; } - [Parameter(Mandatory = true, + [Parameter( + Position = 5, + Mandatory = true, HelpMessage = "Gets or sets the StorageKey for the default Azure Storage Account.")] public string DefaultStorageAccountKey { get; set; } - [Parameter(Mandatory = true, - HelpMessage = "Gets or sets the number of workernodes for the cluster.")] - public int ClusterSizeInNodes { get; set; } - - [Parameter(HelpMessage = "Gets or sets the database to store the metadata for Oozie.")] + [Parameter( + HelpMessage = "Gets or sets the database to store the metadata for Oozie.")] public AzureHDInsightMetastore OozieMetastore { get; set; } - [Parameter(HelpMessage = "Gets or sets the database to store the metadata for Hive.")] + [Parameter( + HelpMessage = "Gets or sets the database to store the metadata for Hive.")] public AzureHDInsightMetastore HiveMetastore { get; set; } - [Parameter(HelpMessage = "Gets additional Azure Storage Account that you want to enable access to.")] + [Parameter( + HelpMessage = "Gets additional Azure Storage Account that you want to enable access to.")] public Dictionary AdditionalStorageAccounts { get; private set; } - [Parameter(HelpMessage = "Gets the configurations of this HDInsight cluster.")] + [Parameter( + HelpMessage = "Gets the configurations of this HDInsight cluster.")] public Dictionary> Configurations { get; private set; } - [Parameter(HelpMessage = "Gets or sets the StorageContainer for the default Azure Storage Account.")] + [Parameter( + HelpMessage = "Gets or sets the StorageContainer for the default Azure Storage Account.")] public string DefaultStorageContainer { get; set; } [Parameter(HelpMessage = "Gets or sets the login for the cluster's user.")] @@ -75,15 +92,6 @@ public class NewAzureHDInsightCommand : HDInsightCmdletBase [Parameter(HelpMessage = "Gets or sets the password for the cluster's user.")] public string Password { get; set; } - [Parameter(HelpMessage = "Gets or sets the username for RDP access to the cluster.")] - public string RdpUsername { get; set; } - - [Parameter(HelpMessage = "Gets or sets the password for RDP access to the cluster.")] - public string RdpPassword { get; set; } - - [Parameter(HelpMessage = "Gets or sets the expiry DateTime for RDP access on the cluster.")] - public DateTime RdpAccessExpiry { get; set; } - [Parameter(HelpMessage = "Gets or sets the version of the HDInsight cluster.")] public string Version { get; set; } @@ -108,16 +116,32 @@ public class NewAzureHDInsightCommand : HDInsightCmdletBase [Parameter(HelpMessage = "Gets or sets the type of operating system installed on cluster nodes.")] public string OSType { get; set; } - [Parameter(HelpMessage = "Gets or sets SSH user name.")] + [Parameter(HelpMessage = "Gets or sets SSH user name.", + ParameterSetName = Constants.ParameterSetNames.LinuxOS)] public string SshUserName { get; set; } - [Parameter(HelpMessage = "Gets or sets SSH password.")] + [Parameter(HelpMessage = "Gets or sets SSH password.", + ParameterSetName = Constants.ParameterSetNames.LinuxOS)] public string SshPassword { get; set; } - [Parameter(HelpMessage = "Gets or sets the public key to be used for SSH.")] + [Parameter(HelpMessage = "Gets or sets the public key to be used for SSH.", + ParameterSetName = Constants.ParameterSetNames.LinuxOS)] public string SshPublicKey { get; set; } - [Parameter(HelpMessage = "The HDInsight cluster configuration to use when creating the new cluster")] + [Parameter(HelpMessage = "Gets or sets the username for RDP access to the cluster.", + ParameterSetName = Constants.ParameterSetNames.WindowsOS)] + public string RdpUsername { get; set; } + + [Parameter(HelpMessage = "Gets or sets the password for RDP access to the cluster.", + ParameterSetName = Constants.ParameterSetNames.WindowsOS)] + public string RdpPassword { get; set; } + + [Parameter(HelpMessage = "Gets or sets the expiry DateTime for RDP access on the cluster.", + ParameterSetName = Constants.ParameterSetNames.WindowsOS)] + public DateTime RdpAccessExpiry { get; set; } + + [Parameter(ValueFromPipeline = true, + HelpMessage = "The HDInsight cluster configuration to use when creating the new cluster")] public AzureHDInsightConfig Config { get { diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Constants.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Constants.cs index 5f432ac1e060..765289ab4b51 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Constants.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Constants.cs @@ -15,6 +15,15 @@ namespace Microsoft.Azure.Commands.HDInsight { internal static class Constants { - public const string AzureHDInsightCluster = "AzureHDInsightCluster"; + public static class CommandNames + { + public const string AzureHDInsightCluster = "AzureHDInsightCluster"; + } + + public static class ParameterSetNames + { + public const string WindowsOS = "WindowsOperatingSystem"; + public const string LinuxOS = "LinuxOperatingSystem"; + } } } From 3de0483be2c3ce8931d4d13c469de578bc53ce65 Mon Sep 17 00:00:00 2001 From: Shefali Date: Thu, 14 May 2015 18:28:25 -0700 Subject: [PATCH 04/38] os type is enum --- .../Commands.HDInsight/Commands/NewAzureHDInsightCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightCommand.cs index 9f3c889860b8..07047db16863 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightCommand.cs @@ -114,7 +114,7 @@ public class NewAzureHDInsightCommand : HDInsightCmdletBase public string SubnetName { get; set; } [Parameter(HelpMessage = "Gets or sets the type of operating system installed on cluster nodes.")] - public string OSType { get; set; } + public OSType OSType { get; set; } [Parameter(HelpMessage = "Gets or sets SSH user name.", ParameterSetName = Constants.ParameterSetNames.LinuxOS)] From 374eb5a1f6ac1e80ac98f70e5788b433586a5bc5 Mon Sep 17 00:00:00 2001 From: Shefali Date: Thu, 14 May 2015 18:43:12 -0700 Subject: [PATCH 05/38] remove defaults --- .../Commands.HDInsight/Models/AzureHDInsightConfig.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightConfig.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightConfig.cs index d6042f8f5161..a15abbfe9d5e 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightConfig.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightConfig.cs @@ -14,6 +14,7 @@ using System.Collections.Generic; using System.Management.Automation; +using Microsoft.Azure.Management.HDInsight.Models; namespace Microsoft.Azure.Commands.HDInsight.Models { @@ -67,12 +68,12 @@ public class AzureHDInsightConfig /// /// Gets or sets the flavor for a cluster. /// - public string ClusterType { get; set; } + public HDInsightClusterType ClusterType { get; set; } public AzureHDInsightConfig() { this.AdditionalStorageAccounts = new Dictionary(); - this.ClusterType = "Hadoop"; + this.ClusterType = HDInsightClusterType.Hadoop; this.Configurations = new Dictionary>(); } } From 18ff1d33e41da336043bfbde71c61d0ce2363dd4 Mon Sep 17 00:00:00 2001 From: Shefali Date: Mon, 18 May 2015 17:36:39 -0700 Subject: [PATCH 06/38] fixing new cluster, adding get, resize cmdlets --- src/ResourceManager.sln | 6 ++ .../Commands.HDInsight.csproj | 8 ++- .../Commands/GetAzureHDInsightCommand.cs | 51 +++++++++++++++ .../Commands/HDInsightCmdletBase.cs | 10 +-- .../Commands/NewAzureHDInsightCommand.cs | 33 ++++------ .../SetAzureHDInsightClusterSizeCommand.cs | 65 +++++++++++++++++++ .../HDInsight/Commands.HDInsight/Constants.cs | 1 + .../Models/AzureHdInsightManagementClient.cs | 10 +++ .../AzureResourceManager.psd1 | 1 + 9 files changed, 156 insertions(+), 29 deletions(-) create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GetAzureHDInsightCommand.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Commands/SetAzureHDInsightClusterSizeCommand.cs diff --git a/src/ResourceManager.sln b/src/ResourceManager.sln index aa23b7916bcb..5be75617bad8 100644 --- a/src/ResourceManager.sln +++ b/src/ResourceManager.sln @@ -65,6 +65,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Dns.Test", "Resour EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.HDInsight", "ResourceManager\HDInsight\Commands.HDInsight\Commands.HDInsight.csproj", "{6B7540C5-8AB3-4011-864B-0BE76F282F9E}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.TrafficManager2", "ResourceManager\TrafficManager\Commands.TrafficManager2\Commands.TrafficManager2.csproj", "{270CBB5F-BB8A-4E33-B35B-95698E607D97}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -179,6 +181,10 @@ Global {6B7540C5-8AB3-4011-864B-0BE76F282F9E}.Debug|Any CPU.Build.0 = Debug|Any CPU {6B7540C5-8AB3-4011-864B-0BE76F282F9E}.Release|Any CPU.ActiveCfg = Release|Any CPU {6B7540C5-8AB3-4011-864B-0BE76F282F9E}.Release|Any CPU.Build.0 = Release|Any CPU + {270CBB5F-BB8A-4E33-B35B-95698E607D97}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {270CBB5F-BB8A-4E33-B35B-95698E607D97}.Debug|Any CPU.Build.0 = Debug|Any CPU + {270CBB5F-BB8A-4E33-B35B-95698E607D97}.Release|Any CPU.ActiveCfg = Release|Any CPU + {270CBB5F-BB8A-4E33-B35B-95698E607D97}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj index 2a0be27c875f..77a8d4abc5c8 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj @@ -18,7 +18,7 @@ true full false - bin\Debug\ + ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\HDInsight\ DEBUG;TRACE prompt 4 @@ -26,7 +26,7 @@ pdbonly true - bin\Release\ + ..\..\..\Package\Release\ResourceManager\AzureResourceManager\HDInsight\ TRACE prompt 4 @@ -35,12 +35,14 @@ true + + - + diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GetAzureHDInsightCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GetAzureHDInsightCommand.cs new file mode 100644 index 000000000000..4a403f02c8e1 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GetAzureHDInsightCommand.cs @@ -0,0 +1,51 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using Microsoft.Azure.Commands.HDInsight.Commands; +using Microsoft.Azure.Management.HDInsight.Models; + +namespace Microsoft.Azure.Commands.HDInsight +{ + [Cmdlet( + VerbsCommon.Get, + Constants.CommandNames.AzureHDInsightCluster), + OutputType( + typeof(ClusterGetResponse))] + public class GetAzureHDInsightCommand : HDInsightCmdletBase + { + #region Input Parameter Definitions + + [Parameter( + Position = 0, + Mandatory = true, + HelpMessage = "Gets or sets the name of the resource group.")] + public string ResourceGroupName { get; set; } + + [Parameter( + Position = 1, + Mandatory = true, + HelpMessage = "Gets or sets the name of the cluster.")] + public string ClusterName { get; set; } + + #endregion + + public override void ExecuteCmdlet() + { + var cluster = HDInsightManagementClient.GetCluster(ResourceGroupName, ClusterName); + + this.WriteObject(cluster); + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/HDInsightCmdletBase.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/HDInsightCmdletBase.cs index a4daf5943470..f1348a0fd8be 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/HDInsightCmdletBase.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/HDInsightCmdletBase.cs @@ -23,13 +23,9 @@ public class HDInsightCmdletBase : AzurePSCmdlet public AzureHdInsightManagementClient HDInsightManagementClient { - get - { - if (this._hdInsightManagementClient == null) - { - this._hdInsightManagementClient = new AzureHdInsightManagementClient(Profile.Context); - } - return this._hdInsightManagementClient; + get { + return this._hdInsightManagementClient ?? + (this._hdInsightManagementClient = new AzureHdInsightManagementClient(Profile.Context)); } set { this._hdInsightManagementClient = value; } } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightCommand.cs index 07047db16863..fba968971a0a 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightCommand.cs @@ -30,23 +30,24 @@ public class NewAzureHDInsightCommand : HDInsightCmdletBase { #region Input Parameter Definitions + [Parameter( Position = 0, Mandatory = true, - HelpMessage = "Gets or sets the name of the resource group.")] - public string ResourceGroupName { get; set; } + HelpMessage = "Gets or sets the datacenter location for the cluster.")] + public string Location { get; set; } [Parameter( Position = 1, Mandatory = true, - HelpMessage = "Gets or sets the name of the cluster.")] - public string ClusterName { get; set; } + HelpMessage = "Gets or sets the name of the resource group.")] + public string ResourceGroupName { get; set; } [Parameter( Position = 2, Mandatory = true, - HelpMessage = "Gets or sets the datacenter location for the cluster.")] - public string Location { get; set; } + HelpMessage = "Gets or sets the name of the cluster.")] + public string ClusterName { get; set; } [Parameter( Position = 3, @@ -105,7 +106,7 @@ public class NewAzureHDInsightCommand : HDInsightCmdletBase public string ZookeeperNodeSize { get; set; } [Parameter(HelpMessage = "Gets or sets the flavor for a cluster.")] - public string ClusterType { get; set; } + public HDInsightClusterType ClusterType { get; set; } [Parameter(HelpMessage = "Gets or sets the virtual network guid for this HDInsight cluster.")] public string VirtualNetworkId { get; set; } @@ -116,28 +117,22 @@ public class NewAzureHDInsightCommand : HDInsightCmdletBase [Parameter(HelpMessage = "Gets or sets the type of operating system installed on cluster nodes.")] public OSType OSType { get; set; } - [Parameter(HelpMessage = "Gets or sets SSH user name.", - ParameterSetName = Constants.ParameterSetNames.LinuxOS)] + [Parameter(HelpMessage = "Gets or sets SSH user name.")] public string SshUserName { get; set; } - [Parameter(HelpMessage = "Gets or sets SSH password.", - ParameterSetName = Constants.ParameterSetNames.LinuxOS)] + [Parameter(HelpMessage = "Gets or sets SSH password.")] public string SshPassword { get; set; } - [Parameter(HelpMessage = "Gets or sets the public key to be used for SSH.", - ParameterSetName = Constants.ParameterSetNames.LinuxOS)] + [Parameter(HelpMessage = "Gets or sets the public key to be used for SSH.")] public string SshPublicKey { get; set; } - [Parameter(HelpMessage = "Gets or sets the username for RDP access to the cluster.", - ParameterSetName = Constants.ParameterSetNames.WindowsOS)] + [Parameter(HelpMessage = "Gets or sets the username for RDP access to the cluster.")] public string RdpUsername { get; set; } - [Parameter(HelpMessage = "Gets or sets the password for RDP access to the cluster.", - ParameterSetName = Constants.ParameterSetNames.WindowsOS)] + [Parameter(HelpMessage = "Gets or sets the password for RDP access to the cluster.")] public string RdpPassword { get; set; } - [Parameter(HelpMessage = "Gets or sets the expiry DateTime for RDP access on the cluster.", - ParameterSetName = Constants.ParameterSetNames.WindowsOS)] + [Parameter(HelpMessage = "Gets or sets the expiry DateTime for RDP access on the cluster.")] public DateTime RdpAccessExpiry { get; set; } [Parameter(ValueFromPipeline = true, diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/SetAzureHDInsightClusterSizeCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/SetAzureHDInsightClusterSizeCommand.cs new file mode 100644 index 000000000000..ca2fcdb65ef6 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/SetAzureHDInsightClusterSizeCommand.cs @@ -0,0 +1,65 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using Microsoft.Azure.Commands.HDInsight.Commands; +using Microsoft.Azure.Management.HDInsight.Models; + +namespace Microsoft.Azure.Commands.HDInsight +{ + [Cmdlet( + VerbsCommon.Set, + Constants.CommandNames.AzureHDInsightClusterSize), + OutputType( + typeof(ClusterGetResponse))] + public class SetAzureHDInsightClusterSizeCommand : HDInsightCmdletBase + { + #region Input Parameter Definitions + + [Parameter( + Position = 0, + Mandatory = true, + HelpMessage = "Gets or sets the name of the resource group.")] + public string ResourceGroupName { get; set; } + + [Parameter( + Position = 1, + Mandatory = true, + HelpMessage = "Gets or sets the name of the cluster.")] + public string ClusterName { get; set; } + + [Parameter( + Position = 3, + Mandatory = true, + HelpMessage = "Gets or sets the name of the cluster.")] + public int TargetInstanceCount { get; set; } + + [Parameter( + Position = 4, + HelpMessage = "Gets or sets the name of the cluster.")] + public int MinInstanceCount { get; set; } + + #endregion + + public override void ExecuteCmdlet() + { + var resizeParams = new ClusterResizeParameters + { + TargetInstanceCount = this.TargetInstanceCount, + MinInstanceCount = this.MinInstanceCount + }; + var cluster = HDInsightManagementClient.ResizeCluster(ResourceGroupName, ClusterName, resizeParams); + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Constants.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Constants.cs index 765289ab4b51..5fbc0abac643 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Constants.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Constants.cs @@ -18,6 +18,7 @@ internal static class Constants public static class CommandNames { public const string AzureHDInsightCluster = "AzureHDInsightCluster"; + public const string AzureHDInsightClusterSize = "AzureHDInsightClusterSize"; } public static class ParameterSetNames diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHdInsightManagementClient.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHdInsightManagementClient.cs index 096dfe1c6546..a8983d4d59ad 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHdInsightManagementClient.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHdInsightManagementClient.cs @@ -37,5 +37,15 @@ public ClusterGetResponse CreateNewCluster(string resourceGroupName, string clus { return this.HdInsightManagementClient.Clusters.Create(resourceGroupName, clusterName, parameters); } + + public ClusterGetResponse GetCluster(string resourceGroupName, string clusterName) + { + return this.HdInsightManagementClient.Clusters.Get(resourceGroupName, clusterName); + } + + public HDInsightLongRunningOperationResponse ResizeCluster(string resourceGroupName, string clusterName, ClusterResizeParameters resizeParams) + { + return this.HdInsightManagementClient.Clusters.Resize(resourceGroupName, clusterName, resizeParams); + } } } diff --git a/src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1 b/src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1 index 43d9982a2e48..52cd858b8001 100644 --- a/src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1 +++ b/src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1 @@ -94,6 +94,7 @@ NestedModules = @( '.\Storage\Microsoft.WindowsAzure.Commands.Storage.dll', '.\ResourceManager\Microsoft.Azure.Commands.ResourceManager.Cmdlets.dll', '.\ApiManagement\Microsoft.Azure.Commands.ApiManagement.dll' + '.\HDInsight\Microsoft.Azure.Commands.HDInsight.dll' ) # Functions to export from this module From 95789bc88cdd62643012e0998edf2f07a5909715 Mon Sep 17 00:00:00 2001 From: Shefali Date: Mon, 18 May 2015 22:14:18 -0700 Subject: [PATCH 07/38] add delete, HTTP, RDP cmdlets --- .../Commands.HDInsight.csproj | 7 +- ....cs => GetAzureHDInsightClusterCommand.cs} | 6 +- ...AzureHDInsightHttpServicesAccessCommand.cs | 62 +++++++++++++ ...tAzureHDInsightRdpServicesAccessCommand.cs | 88 +++++++++++++++++++ ....cs => NewAzureHDInsightClusterCommand.cs} | 18 ++-- .../RemoveAzureHDInsightClusterCommand.cs | 52 +++++++++++ .../HDInsight/Commands.HDInsight/Constants.cs | 2 + .../Models/AzureHdInsightManagementClient.cs | 35 +++++++- 8 files changed, 250 insertions(+), 20 deletions(-) rename src/ResourceManager/HDInsight/Commands.HDInsight/Commands/{GetAzureHDInsightCommand.cs => GetAzureHDInsightClusterCommand.cs} (89%) create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GrantAzureHDInsightHttpServicesAccessCommand.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GrantAzureHDInsightRdpServicesAccessCommand.cs rename src/ResourceManager/HDInsight/Commands.HDInsight/Commands/{NewAzureHDInsightCommand.cs => NewAzureHDInsightClusterCommand.cs} (94%) create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Commands/RemoveAzureHDInsightClusterCommand.cs diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj index 77a8d4abc5c8..ed36b376d373 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj @@ -35,14 +35,17 @@ true + + + - + - + diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GetAzureHDInsightCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GetAzureHDInsightClusterCommand.cs similarity index 89% rename from src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GetAzureHDInsightCommand.cs rename to src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GetAzureHDInsightClusterCommand.cs index 4a403f02c8e1..8b04675d8e0b 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GetAzureHDInsightCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GetAzureHDInsightClusterCommand.cs @@ -29,13 +29,11 @@ public class GetAzureHDInsightCommand : HDInsightCmdletBase [Parameter( Position = 0, - Mandatory = true, HelpMessage = "Gets or sets the name of the resource group.")] public string ResourceGroupName { get; set; } [Parameter( Position = 1, - Mandatory = true, HelpMessage = "Gets or sets the name of the cluster.")] public string ClusterName { get; set; } @@ -43,9 +41,9 @@ public class GetAzureHDInsightCommand : HDInsightCmdletBase public override void ExecuteCmdlet() { - var cluster = HDInsightManagementClient.GetCluster(ResourceGroupName, ClusterName); + var result = HDInsightManagementClient.GetCluster(ResourceGroupName, ClusterName); - this.WriteObject(cluster); + this.WriteObject(result, true); } } } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GrantAzureHDInsightHttpServicesAccessCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GrantAzureHDInsightHttpServicesAccessCommand.cs new file mode 100644 index 000000000000..8b70f26d0bcd --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GrantAzureHDInsightHttpServicesAccessCommand.cs @@ -0,0 +1,62 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using Microsoft.Azure.Commands.HDInsight.Commands; +using Microsoft.Azure.Management.HDInsight.Models; + +namespace Microsoft.Azure.Commands.HDInsight +{ + [Cmdlet( + VerbsSecurity.Grant, + Constants.CommandNames.AzureHDInsightHttpServicesAccess), + OutputType( + typeof(ClusterGetResponse))] + public class GrantAzureHDInsightHttpServicesAccessCommand : HDInsightCmdletBase + { + #region Input Parameter Definitions + + [Parameter( + Position = 0, + HelpMessage = "Gets or sets the name of the resource group.")] + public string ResourceGroupName { get; set; } + + [Parameter( + Position = 1, + HelpMessage = "Gets or sets the name of the cluster.")] + public string ClusterName { get; set; } + + [Parameter(Position = 2, + HelpMessage = "Whether or not HTTP is enabled.")] + public bool Enable { get; set; } + + [Parameter(Position = 3, + HelpMessage = "Gets or sets the login for the cluster's user.")] + public PSCredential HttpUser { get; set; } + + #endregion + + public override void ExecuteCmdlet() + { + var httpParams = new HttpSettingsParameters + { + HttpUserEnabled = this.Enable, + HttpUsername = this.HttpUser.UserName, + HttpPassword = this.HttpUser.Password.ToString() + }; + + var result = HDInsightManagementClient.EnableHTTP(ResourceGroupName, ClusterName, httpParams); + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GrantAzureHDInsightRdpServicesAccessCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GrantAzureHDInsightRdpServicesAccessCommand.cs new file mode 100644 index 000000000000..84ba7e32573d --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GrantAzureHDInsightRdpServicesAccessCommand.cs @@ -0,0 +1,88 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using Microsoft.Azure.Commands.HDInsight.Commands; +using Microsoft.Azure.Management.HDInsight.Models; + +namespace Microsoft.Azure.Commands.HDInsight +{ + [Cmdlet( + VerbsSecurity.Grant, + Constants.CommandNames.AzureHDInsightRdpServicesAccess), + OutputType( + typeof(ClusterGetResponse))] + public class GrantAzureHDInsightRdpServicesAccessCommand : HDInsightCmdletBase + { + #region Input Parameter Definitions + + [Parameter( + Position = 0, + HelpMessage = "Gets or sets the name of the resource group.")] + public string ResourceGroupName { get; set; } + + [Parameter( + Position = 1, + HelpMessage = "Gets or sets the name of the cluster.")] + public string ClusterName { get; set; } + + [Parameter(Position = 2, + HelpMessage = "Whether or not RDP should be enabled.")] + public bool Enable { get; set; } + + [Parameter(Position = 3, + HelpMessage = "Gets or sets the username for RDP access to the cluster.")] + public PSCredential RdpUser { get; set; } + + [Parameter(Position = 4, + HelpMessage = "Gets or sets the expiry DateTime for RDP access on the cluster.")] + public DateTime RdpAccessExpiry { get; set; } + + #endregion + + public override void ExecuteCmdlet() + { + if (this.Enable && this.RdpUser == null) + { + return; + } + var rdpSettings = new RdpSettings(); + if (RdpUser != null) + { + rdpSettings = new RdpSettings + { + UserName = this.RdpUser.UserName, + Password = this.RdpUser.Password.ToString(), + ExpiryDate = this.RdpAccessExpiry + }; + } + + var osProfile = new OsProfile + { + WindowsOperatingSystemProfile = new WindowsOperatingSystemProfile + { + RdpSettings = rdpSettings + } + }; + + var rdpParams = new RDPSettingsParameters + { + OsProfile = osProfile + }; + + var result = HDInsightManagementClient.EnableRDP(ResourceGroupName, ClusterName, rdpParams); + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightClusterCommand.cs similarity index 94% rename from src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightCommand.cs rename to src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightClusterCommand.cs index fba968971a0a..1bb7a25a2ec4 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightClusterCommand.cs @@ -88,10 +88,7 @@ public class NewAzureHDInsightCommand : HDInsightCmdletBase public string DefaultStorageContainer { get; set; } [Parameter(HelpMessage = "Gets or sets the login for the cluster's user.")] - public string UserName { get; set; } - - [Parameter(HelpMessage = "Gets or sets the password for the cluster's user.")] - public string Password { get; set; } + public PSCredential HttpUser { get; set; } [Parameter(HelpMessage = "Gets or sets the version of the HDInsight cluster.")] public string Version { get; set; } @@ -127,10 +124,7 @@ public class NewAzureHDInsightCommand : HDInsightCmdletBase public string SshPublicKey { get; set; } [Parameter(HelpMessage = "Gets or sets the username for RDP access to the cluster.")] - public string RdpUsername { get; set; } - - [Parameter(HelpMessage = "Gets or sets the password for RDP access to the cluster.")] - public string RdpPassword { get; set; } + public PSCredential RdpUser { get; set; } [Parameter(HelpMessage = "Gets or sets the expiry DateTime for RDP access on the cluster.")] public DateTime RdpAccessExpiry { get; set; } @@ -199,10 +193,10 @@ public override void ExecuteCmdlet() DefaultStorageAccountKey = this.DefaultStorageAccountKey, ClusterSizeInNodes = this.ClusterSizeInNodes, DefaultStorageContainer = this.DefaultStorageContainer, - UserName = this.UserName, - Password = this.Password, - RdpUsername = this.RdpUsername, - RdpPassword = this.RdpPassword, + UserName = this.HttpUser.UserName, + Password = this.HttpUser.Password.ToString(), + RdpUsername = this.RdpUser.UserName, + RdpPassword = this.RdpUser.Password.ToString(), RdpAccessExpiry = this.RdpAccessExpiry, Version = this.Version, HeadNodeSize = this.HeadNodeSize, diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/RemoveAzureHDInsightClusterCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/RemoveAzureHDInsightClusterCommand.cs new file mode 100644 index 000000000000..5c194e05a1e4 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/RemoveAzureHDInsightClusterCommand.cs @@ -0,0 +1,52 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using System.Runtime.InteropServices; +using Microsoft.Azure.Commands.HDInsight.Commands; +using Microsoft.Azure.Management.HDInsight.Models; + +namespace Microsoft.Azure.Commands.HDInsight +{ + [Cmdlet( + VerbsCommon.Remove, + Constants.CommandNames.AzureHDInsightCluster), + OutputType( + typeof(ClusterGetResponse))] + public class RemoveAzureHDInsightCommand : HDInsightCmdletBase + { + #region Input Parameter Definitions + + [Parameter( + Position = 0, + Mandatory = true, + HelpMessage = "Gets or sets the name of the resource group.")] + public string ResourceGroupName { get; set; } + + [Parameter( + Position = 1, + Mandatory = true, + HelpMessage = "Gets or sets the name of the cluster.")] + public string ClusterName { get; set; } + + #endregion + + public override void ExecuteCmdlet() + { + var result = HDInsightManagementClient.DeleteCluster(ResourceGroupName, ClusterName); + + this.WriteObject(result, true); + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Constants.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Constants.cs index 5fbc0abac643..c35e9a50b684 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Constants.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Constants.cs @@ -19,6 +19,8 @@ public static class CommandNames { public const string AzureHDInsightCluster = "AzureHDInsightCluster"; public const string AzureHDInsightClusterSize = "AzureHDInsightClusterSize"; + public const string AzureHDInsightHttpServicesAccess = "AzureHDInsightHttpServicesAccess"; + public const string AzureHDInsightRdpServicesAccess = "AzureHDInsightRdpServicesAccess"; } public static class ParameterSetNames diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHdInsightManagementClient.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHdInsightManagementClient.cs index a8983d4d59ad..df55e26265fb 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHdInsightManagementClient.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHdInsightManagementClient.cs @@ -12,6 +12,7 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using System.Collections.Generic; using Microsoft.Azure.Common.Authentication; using Microsoft.Azure.Common.Authentication.Models; using Microsoft.Azure.Management.HDInsight; @@ -38,14 +39,44 @@ public ClusterGetResponse CreateNewCluster(string resourceGroupName, string clus return this.HdInsightManagementClient.Clusters.Create(resourceGroupName, clusterName, parameters); } - public ClusterGetResponse GetCluster(string resourceGroupName, string clusterName) + public List GetCluster(string resourceGroupName, string clusterName) { - return this.HdInsightManagementClient.Clusters.Get(resourceGroupName, clusterName); + var result = new List(); + if (string.IsNullOrEmpty(resourceGroupName) && string.IsNullOrEmpty(clusterName)) + { + var listresponse = this.HdInsightManagementClient.Clusters.List(); + result.AddRange(listresponse.Clusters); + } + else if (string.IsNullOrEmpty(clusterName)) + { + var listresponse = this.HdInsightManagementClient.Clusters.ListByResourceGroup(resourceGroupName); + result.AddRange(listresponse.Clusters); + } + else if (string.IsNullOrEmpty(resourceGroupName)) + { + result.Add(this.HdInsightManagementClient.Clusters.Get(resourceGroupName, clusterName).Cluster); + } + return result; } public HDInsightLongRunningOperationResponse ResizeCluster(string resourceGroupName, string clusterName, ClusterResizeParameters resizeParams) { return this.HdInsightManagementClient.Clusters.Resize(resourceGroupName, clusterName, resizeParams); } + + public ClusterGetResponse DeleteCluster(string resourceGroupName, string clusterName) + { + return this.HdInsightManagementClient.Clusters.Delete(resourceGroupName, clusterName); + } + + public HDInsightLongRunningOperationResponse EnableHTTP(string resourceGroupName, string clusterName, HttpSettingsParameters httpSettings) + { + return this.HdInsightManagementClient.Clusters.ConfigureHttpSettings(resourceGroupName, clusterName, httpSettings); + } + + public HDInsightLongRunningOperationResponse EnableRDP(string resourceGroupName, string clusterName, RDPSettingsParameters rdpSettings) + { + return this.HdInsightManagementClient.Clusters.ConfigureRdpSettings(resourceGroupName, clusterName, rdpSettings); + } } } From 7d5fa02a2de579ba010d5f54a00e6047b28eef50 Mon Sep 17 00:00:00 2001 From: Shefali Date: Tue, 19 May 2015 18:32:14 -0700 Subject: [PATCH 08/38] adding config commands --- .../Commands.HDInsight.csproj | 2 + .../AddAzureHDInsightConfigValuesCommand.cs | 145 ++++++++++++++++++ .../NewAzureHDInsightClusterCommand.cs | 15 +- .../NewAzureHDInsightClusterConfigCommand.cs | 106 +++++++++++++ .../HDInsight/Commands.HDInsight/Constants.cs | 2 + 5 files changed, 260 insertions(+), 10 deletions(-) create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Commands/AddAzureHDInsightConfigValuesCommand.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightClusterConfigCommand.cs diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj index ed36b376d373..938051dbace7 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj @@ -35,8 +35,10 @@ true + + diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/AddAzureHDInsightConfigValuesCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/AddAzureHDInsightConfigValuesCommand.cs new file mode 100644 index 000000000000..df8336cd8448 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/AddAzureHDInsightConfigValuesCommand.cs @@ -0,0 +1,145 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections.Generic; +using System.Diagnostics; +using System.Management.Automation; +using Microsoft.Azure.Commands.HDInsight.Commands; +using Microsoft.Azure.Commands.HDInsight.Models; +using Microsoft.Azure.Management.HDInsight; + +namespace Microsoft.Azure.Commands.HDInsight +{ + [Cmdlet( + VerbsCommon.Add, + Constants.CommandNames.AzureHDInsightConfigValues), + OutputType( + typeof(AzureHDInsightConfig))] + public class AddAzureHDInsightConfigValuesCommand : HDInsightCmdletBase + { + private Dictionary> _configurations; + #region Input Parameter Definitions + + [Parameter(Position = 0, + Mandatory = true, + ValueFromPipeline = true, + HelpMessage = "The HDInsight cluster configuration to use when creating the new cluster")] + public AzureHDInsightConfig Config { get; set; } + + [Parameter(HelpMessage = "Gets the Core Site configurations of this HDInsight cluster.")] + public Dictionary Core { get; set; } + + [Parameter(HelpMessage = "Gets the Hive Site configurations of this HDInsight cluster.")] + public Dictionary HiveSite { get; set; } + + [Parameter(HelpMessage = "Gets the Hive Env configurations of this HDInsight cluster.")] + public Dictionary HiveEnv { get; set; } + + [Parameter(HelpMessage = "Gets the Oozie Site configurations of this HDInsight cluster.")] + public Dictionary OozieSite { get; set; } + + [Parameter(HelpMessage = "Gets the Oozie Env configurations of this HDInsight cluster.")] + public Dictionary OozieEnv { get; set; } + + [Parameter(HelpMessage = "Gets the WebHCat Site configurations of this HDInsight cluster.")] + public Dictionary WebHCat { get; set; } + + [Parameter(HelpMessage = "Gets the HBase Site configurations of this HDInsight cluster.")] + public Dictionary HBaseSite { get; set; } + + [Parameter(HelpMessage = "Gets the HBase Env configurations of this HDInsight cluster.")] + public Dictionary HBaseEnv { get; set; } + + [Parameter(HelpMessage = "Gets the Storm Site configurations of this HDInsight cluster.")] + public Dictionary Storm { get; set; } + + [Parameter(HelpMessage = "Gets the Yarn Site configurations of this HDInsight cluster.")] + public Dictionary Yarn { get; set; } + + [Parameter(HelpMessage = "Gets the MapRed Site configurations of this HDInsight cluster.")] + public Dictionary MapRed { get; set; } + + [Parameter(HelpMessage = "Gets the Tez Site configurations of this HDInsight cluster.")] + public Dictionary Tez { get; set; } + + [Parameter(HelpMessage = "Gets the Hdfs Site configurations of this HDInsight cluster.")] + public Dictionary Hdfs { get; set; } + + #endregion + + public AddAzureHDInsightConfigValuesCommand() + { + this.Core = new Dictionary(); + this.HiveSite = new Dictionary(); + this.HiveEnv = new Dictionary(); + this.OozieSite = new Dictionary(); + this.OozieEnv = new Dictionary(); + this.WebHCat = new Dictionary(); + this.HBaseSite = new Dictionary(); + this.HBaseEnv = new Dictionary(); + this.Storm = new Dictionary(); + this.Yarn = new Dictionary(); + this.MapRed = new Dictionary(); + this.Tez = new Dictionary(); + this.Hdfs = new Dictionary(); + } + + public override void ExecuteCmdlet() + { + var config = this.Config; + _configurations = config.Configurations ?? new Dictionary>(); + + AddConfigToConfigurations(this.Core, ConfigurationKey.CoreSite); + AddConfigToConfigurations(this.HiveSite, ConfigurationKey.HiveSite); + AddConfigToConfigurations(this.HiveEnv, ConfigurationKey.HiveEnv); + AddConfigToConfigurations(this.OozieSite, ConfigurationKey.OozieSite); + AddConfigToConfigurations(this.OozieEnv, ConfigurationKey.OozieEnv); + AddConfigToConfigurations(this.WebHCat, ConfigurationKey.WebHCatSite); + AddConfigToConfigurations(this.HBaseSite, ConfigurationKey.HBaseSite); + AddConfigToConfigurations(this.HBaseEnv, ConfigurationKey.HBaseEnv); + AddConfigToConfigurations(this.Storm, ConfigurationKey.StormSite); + AddConfigToConfigurations(this.Yarn, ConfigurationKey.YarnSite); + AddConfigToConfigurations(this.MapRed, ConfigurationKey.MapRedSite); + AddConfigToConfigurations(this.Tez, ConfigurationKey.TezSite); + AddConfigToConfigurations(this.Hdfs, ConfigurationKey.HdfsSite); + } + + private void AddConfigToConfigurations(Dictionary userConfigs, string configKey) + { + //if no configs of this type provided, do nothing + if (userConfigs == null || userConfigs.Count == 0) + { + return; + } + + Dictionary config; + + //if configs provided and key does not already exist, add the key with provided dictionary + if (!_configurations.TryGetValue(configKey, out config)) + { + _configurations.Add(configKey, userConfigs); + return; + } + + //if configs provided and key already exists, add the provided values to the dictionary for the key + foreach (var conf in userConfigs) + { + config.Add(conf.Key, conf.Value); + } + _configurations[configKey] = config; + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightClusterCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightClusterCommand.cs index 1bb7a25a2ec4..7646f654f902 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightClusterCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightClusterCommand.cs @@ -67,24 +67,19 @@ public class NewAzureHDInsightCommand : HDInsightCmdletBase HelpMessage = "Gets or sets the StorageKey for the default Azure Storage Account.")] public string DefaultStorageAccountKey { get; set; } - [Parameter( - HelpMessage = "Gets or sets the database to store the metadata for Oozie.")] + [Parameter(HelpMessage = "Gets or sets the database to store the metadata for Oozie.")] public AzureHDInsightMetastore OozieMetastore { get; set; } - [Parameter( - HelpMessage = "Gets or sets the database to store the metadata for Hive.")] + [Parameter(HelpMessage = "Gets or sets the database to store the metadata for Hive.")] public AzureHDInsightMetastore HiveMetastore { get; set; } - [Parameter( - HelpMessage = "Gets additional Azure Storage Account that you want to enable access to.")] + [Parameter(HelpMessage = "Gets additional Azure Storage Account that you want to enable access to.")] public Dictionary AdditionalStorageAccounts { get; private set; } - [Parameter( - HelpMessage = "Gets the configurations of this HDInsight cluster.")] + [Parameter(HelpMessage = "Gets the configurations of this HDInsight cluster.")] public Dictionary> Configurations { get; private set; } - [Parameter( - HelpMessage = "Gets or sets the StorageContainer for the default Azure Storage Account.")] + [Parameter(HelpMessage = "Gets or sets the StorageContainer for the default Azure Storage Account.")] public string DefaultStorageContainer { get; set; } [Parameter(HelpMessage = "Gets or sets the login for the cluster's user.")] diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightClusterConfigCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightClusterConfigCommand.cs new file mode 100644 index 000000000000..e9d3922f1822 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightClusterConfigCommand.cs @@ -0,0 +1,106 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System.Management.Automation; +using Microsoft.Azure.Commands.HDInsight.Commands; +using Microsoft.Azure.Commands.HDInsight.Models; +using Microsoft.Azure.Management.HDInsight.Models; + +namespace Microsoft.Azure.Commands.HDInsight +{ + [Cmdlet( + VerbsCommon.New, + Constants.CommandNames.AzureHDInsightClusterConfig), + OutputType( + typeof(AzureHDInsightConfig))] + public class NewAzureHDInsightClusterConfigCommand : HDInsightCmdletBase + { + private readonly AzureHDInsightConfig config = new AzureHDInsightConfig(); + + #region Input Parameter Definitions + + [Parameter(HelpMessage = "Gets or sets the StorageName for the default Azure Storage Account.")] + public string DefaultStorageAccountName { + get { return this.config.DefaultStorageAccountName; } + set { this.config.DefaultStorageAccountName = value; } + } + + [Parameter(HelpMessage = "Gets or sets the StorageKey for the default Azure Storage Account.")] + public string DefaultStorageAccountKey + { + get { return this.config.DefaultStorageAccountKey; } + set { this.config.DefaultStorageAccountKey = value; } + } + + [Parameter(HelpMessage = "Gets or sets the database to store the metadata for Oozie.")] + public AzureHDInsightMetastore OozieMetastore + { + get { return this.config.OozieMetastore; } + set { this.config.OozieMetastore = value; } + } + + [Parameter(HelpMessage = "Gets or sets the database to store the metadata for Hive.")] + public AzureHDInsightMetastore HiveMetastore + { + get { return this.config.HiveMetastore; } + set { this.config.HiveMetastore = value; } + } + + [Parameter(HelpMessage = "Gets or sets the size of the Head Node.")] + public string HeadNodeSize + { + get { return this.config.HeadNodeSize; } + set { this.config.HeadNodeSize = value; } + } + + [Parameter(HelpMessage = "Gets or sets the size of the Data Node.")] + public string DataNodeSize + { + get { return this.config.DataNodeSize; } + set { this.config.DataNodeSize = value; } + } + + [Parameter(HelpMessage = "Gets or sets the size of the Zookeeper Node.")] + public string ZookeeperNodeSize + { + get { return this.config.ZookeeperNodeSize; } + set { this.config.ZookeeperNodeSize = value; } + } + + [Parameter(HelpMessage = "Gets or sets the flavor for a cluster.")] + public HDInsightClusterType ClusterType + { + get { return this.config.ClusterType; } + set { this.config.ClusterType = value; } + } + + #endregion + + public override void ExecuteCmdlet() + { + var result = new AzureHDInsightConfig + { + ClusterType = this.ClusterType, + DefaultStorageAccountName = this.DefaultStorageAccountName, + DefaultStorageAccountKey = this.DefaultStorageAccountKey, + DataNodeSize = this.DataNodeSize, + HeadNodeSize = this.HeadNodeSize, + ZookeeperNodeSize = this.ZookeeperNodeSize, + HiveMetastore = this.HiveMetastore, + OozieMetastore = this.OozieMetastore + }; + this.WriteObject(result); + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Constants.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Constants.cs index c35e9a50b684..4b96045dde7f 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Constants.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Constants.cs @@ -18,9 +18,11 @@ internal static class Constants public static class CommandNames { public const string AzureHDInsightCluster = "AzureHDInsightCluster"; + public const string AzureHDInsightClusterConfig = "AzureHDInsightClusterConfig"; public const string AzureHDInsightClusterSize = "AzureHDInsightClusterSize"; public const string AzureHDInsightHttpServicesAccess = "AzureHDInsightHttpServicesAccess"; public const string AzureHDInsightRdpServicesAccess = "AzureHDInsightRdpServicesAccess"; + public const string AzureHDInsightConfigValues = "AzureHDInsightConfigValues"; } public static class ParameterSetNames From 2d39f963224a3b69e6c38c80c8f9a9c408344db5 Mon Sep 17 00:00:00 2001 From: Shefali Date: Tue, 19 May 2015 19:28:31 -0700 Subject: [PATCH 09/38] adding revoke http/rdp, fixing parameter attributes --- .../Commands.HDInsight.csproj | 2 + .../AddAzureHDInsightConfigValuesCommand.cs | 2 + .../GetAzureHDInsightClusterCommand.cs | 5 +- ...AzureHDInsightHttpServicesAccessCommand.cs | 13 ++-- ...tAzureHDInsightRdpServicesAccessCommand.cs | 48 ++++++--------- ...AzureHDInsightHttpServicesAccessCommand.cs | 54 +++++++++++++++++ ...eAzureHDInsightRdpServicesAccessCommand.cs | 60 +++++++++++++++++++ .../Models/AzureHdInsightManagementClient.cs | 4 +- 8 files changed, 148 insertions(+), 40 deletions(-) create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Commands/RevokeAzureHDInsightHttpServicesAccessCommand.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Commands/RevokeAzureHDInsightRdpServicesAccessCommand.cs diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj index 938051dbace7..7a0746e6dc05 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj @@ -36,6 +36,8 @@ + + diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/AddAzureHDInsightConfigValuesCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/AddAzureHDInsightConfigValuesCommand.cs index df8336cd8448..a8630c8afafe 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/AddAzureHDInsightConfigValuesCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/AddAzureHDInsightConfigValuesCommand.cs @@ -115,6 +115,8 @@ public override void ExecuteCmdlet() AddConfigToConfigurations(this.MapRed, ConfigurationKey.MapRedSite); AddConfigToConfigurations(this.Tez, ConfigurationKey.TezSite); AddConfigToConfigurations(this.Hdfs, ConfigurationKey.HdfsSite); + + WriteObject(_configurations); } private void AddConfigToConfigurations(Dictionary userConfigs, string configKey) diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GetAzureHDInsightClusterCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GetAzureHDInsightClusterCommand.cs index 8b04675d8e0b..738e957dbfa7 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GetAzureHDInsightClusterCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GetAzureHDInsightClusterCommand.cs @@ -12,6 +12,7 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using System.Collections.Generic; using System.Management.Automation; using Microsoft.Azure.Commands.HDInsight.Commands; using Microsoft.Azure.Management.HDInsight.Models; @@ -22,18 +23,20 @@ namespace Microsoft.Azure.Commands.HDInsight VerbsCommon.Get, Constants.CommandNames.AzureHDInsightCluster), OutputType( - typeof(ClusterGetResponse))] + typeof(List))] public class GetAzureHDInsightCommand : HDInsightCmdletBase { #region Input Parameter Definitions [Parameter( Position = 0, + Mandatory = true, HelpMessage = "Gets or sets the name of the resource group.")] public string ResourceGroupName { get; set; } [Parameter( Position = 1, + Mandatory = true, HelpMessage = "Gets or sets the name of the cluster.")] public string ClusterName { get; set; } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GrantAzureHDInsightHttpServicesAccessCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GrantAzureHDInsightHttpServicesAccessCommand.cs index 8b70f26d0bcd..d2aa889175fc 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GrantAzureHDInsightHttpServicesAccessCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GrantAzureHDInsightHttpServicesAccessCommand.cs @@ -22,26 +22,25 @@ namespace Microsoft.Azure.Commands.HDInsight VerbsSecurity.Grant, Constants.CommandNames.AzureHDInsightHttpServicesAccess), OutputType( - typeof(ClusterGetResponse))] + typeof(void))] public class GrantAzureHDInsightHttpServicesAccessCommand : HDInsightCmdletBase { #region Input Parameter Definitions [Parameter( Position = 0, + Mandatory = true, HelpMessage = "Gets or sets the name of the resource group.")] public string ResourceGroupName { get; set; } [Parameter( Position = 1, + Mandatory = true, HelpMessage = "Gets or sets the name of the cluster.")] public string ClusterName { get; set; } [Parameter(Position = 2, - HelpMessage = "Whether or not HTTP is enabled.")] - public bool Enable { get; set; } - - [Parameter(Position = 3, + Mandatory = true, HelpMessage = "Gets or sets the login for the cluster's user.")] public PSCredential HttpUser { get; set; } @@ -51,12 +50,12 @@ public override void ExecuteCmdlet() { var httpParams = new HttpSettingsParameters { - HttpUserEnabled = this.Enable, + HttpUserEnabled = true, HttpUsername = this.HttpUser.UserName, HttpPassword = this.HttpUser.Password.ToString() }; - var result = HDInsightManagementClient.EnableHTTP(ResourceGroupName, ClusterName, httpParams); + HDInsightManagementClient.ConfigureHttp(ResourceGroupName, ClusterName, httpParams); } } } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GrantAzureHDInsightRdpServicesAccessCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GrantAzureHDInsightRdpServicesAccessCommand.cs index 84ba7e32573d..535d1c85ce13 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GrantAzureHDInsightRdpServicesAccessCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GrantAzureHDInsightRdpServicesAccessCommand.cs @@ -23,30 +23,30 @@ namespace Microsoft.Azure.Commands.HDInsight VerbsSecurity.Grant, Constants.CommandNames.AzureHDInsightRdpServicesAccess), OutputType( - typeof(ClusterGetResponse))] + typeof(void))] public class GrantAzureHDInsightRdpServicesAccessCommand : HDInsightCmdletBase { #region Input Parameter Definitions [Parameter( Position = 0, + Mandatory = true, HelpMessage = "Gets or sets the name of the resource group.")] public string ResourceGroupName { get; set; } [Parameter( Position = 1, + Mandatory = true, HelpMessage = "Gets or sets the name of the cluster.")] public string ClusterName { get; set; } [Parameter(Position = 2, - HelpMessage = "Whether or not RDP should be enabled.")] - public bool Enable { get; set; } - - [Parameter(Position = 3, + Mandatory = true, HelpMessage = "Gets or sets the username for RDP access to the cluster.")] public PSCredential RdpUser { get; set; } - [Parameter(Position = 4, + [Parameter(Position = 3, + Mandatory = true, HelpMessage = "Gets or sets the expiry DateTime for RDP access on the cluster.")] public DateTime RdpAccessExpiry { get; set; } @@ -54,35 +54,23 @@ public class GrantAzureHDInsightRdpServicesAccessCommand : HDInsightCmdletBase public override void ExecuteCmdlet() { - if (this.Enable && this.RdpUser == null) - { - return; - } - var rdpSettings = new RdpSettings(); - if (RdpUser != null) - { - rdpSettings = new RdpSettings - { - UserName = this.RdpUser.UserName, - Password = this.RdpUser.Password.ToString(), - ExpiryDate = this.RdpAccessExpiry - }; - } - - var osProfile = new OsProfile + var rdpParams = new RDPSettingsParameters { - WindowsOperatingSystemProfile = new WindowsOperatingSystemProfile + OsProfile = new OsProfile { - RdpSettings = rdpSettings + WindowsOperatingSystemProfile = new WindowsOperatingSystemProfile + { + RdpSettings = new RdpSettings + { + UserName = this.RdpUser.UserName, + Password = this.RdpUser.Password.ToString(), + ExpiryDate = this.RdpAccessExpiry + } + } } }; - var rdpParams = new RDPSettingsParameters - { - OsProfile = osProfile - }; - - var result = HDInsightManagementClient.EnableRDP(ResourceGroupName, ClusterName, rdpParams); + HDInsightManagementClient.ConfigureRdp(ResourceGroupName, ClusterName, rdpParams); } } } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/RevokeAzureHDInsightHttpServicesAccessCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/RevokeAzureHDInsightHttpServicesAccessCommand.cs new file mode 100644 index 000000000000..aaf290c26bd7 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/RevokeAzureHDInsightHttpServicesAccessCommand.cs @@ -0,0 +1,54 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using Microsoft.Azure.Commands.HDInsight.Commands; +using Microsoft.Azure.Management.HDInsight.Models; + +namespace Microsoft.Azure.Commands.HDInsight +{ + [Cmdlet( + VerbsSecurity.Revoke, + Constants.CommandNames.AzureHDInsightHttpServicesAccess), + OutputType( + typeof(void))] + public class RevokeAzureHDInsightHttpServicesAccessCommand : HDInsightCmdletBase + { + #region Input Parameter Definitions + + [Parameter( + Position = 0, + Mandatory = true, + HelpMessage = "Gets or sets the name of the resource group.")] + public string ResourceGroupName { get; set; } + + [Parameter( + Position = 1, + Mandatory = true, + HelpMessage = "Gets or sets the name of the cluster.")] + public string ClusterName { get; set; } + + #endregion + + public override void ExecuteCmdlet() + { + var httpParams = new HttpSettingsParameters + { + HttpUserEnabled = false + }; + + HDInsightManagementClient.ConfigureHttp(ResourceGroupName, ClusterName, httpParams); + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/RevokeAzureHDInsightRdpServicesAccessCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/RevokeAzureHDInsightRdpServicesAccessCommand.cs new file mode 100644 index 000000000000..08f67b18d9c4 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/RevokeAzureHDInsightRdpServicesAccessCommand.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.Management.Automation; +using Microsoft.Azure.Commands.HDInsight.Commands; +using Microsoft.Azure.Management.HDInsight.Models; + +namespace Microsoft.Azure.Commands.HDInsight +{ + [Cmdlet( + VerbsSecurity.Revoke, + Constants.CommandNames.AzureHDInsightRdpServicesAccess), + OutputType( + typeof(void))] + public class RevokeAzureHDInsightRdpServicesAccessCommand : HDInsightCmdletBase + { + #region Input Parameter Definitions + + [Parameter( + Position = 0, + Mandatory = true, + HelpMessage = "Gets or sets the name of the resource group.")] + public string ResourceGroupName { get; set; } + + [Parameter( + Position = 1, + Mandatory = true, + HelpMessage = "Gets or sets the name of the cluster.")] + public string ClusterName { get; set; } + + #endregion + + public override void ExecuteCmdlet() + { + var rdpParams = new RDPSettingsParameters + { + OsProfile = new OsProfile + { + WindowsOperatingSystemProfile = new WindowsOperatingSystemProfile + { + RdpSettings = null + } + } + }; + + HDInsightManagementClient.ConfigureRdp(ResourceGroupName, ClusterName, rdpParams); + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHdInsightManagementClient.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHdInsightManagementClient.cs index df55e26265fb..43f984018aee 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHdInsightManagementClient.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHdInsightManagementClient.cs @@ -69,12 +69,12 @@ public ClusterGetResponse DeleteCluster(string resourceGroupName, string cluster return this.HdInsightManagementClient.Clusters.Delete(resourceGroupName, clusterName); } - public HDInsightLongRunningOperationResponse EnableHTTP(string resourceGroupName, string clusterName, HttpSettingsParameters httpSettings) + public HDInsightLongRunningOperationResponse ConfigureHttp(string resourceGroupName, string clusterName, HttpSettingsParameters httpSettings) { return this.HdInsightManagementClient.Clusters.ConfigureHttpSettings(resourceGroupName, clusterName, httpSettings); } - public HDInsightLongRunningOperationResponse EnableRDP(string resourceGroupName, string clusterName, RDPSettingsParameters rdpSettings) + public HDInsightLongRunningOperationResponse ConfigureRdp(string resourceGroupName, string clusterName, RDPSettingsParameters rdpSettings) { return this.HdInsightManagementClient.Clusters.ConfigureRdpSettings(resourceGroupName, clusterName, rdpSettings); } From 0f60e00f84f874ac2fdaea679936cf41bdf2e1e3 Mon Sep 17 00:00:00 2001 From: Shefali Date: Wed, 20 May 2015 12:05:24 -0700 Subject: [PATCH 10/38] adding metastore, scriptaction, storage, props cmdlets --- .../Commands.HDInsight.csproj | 5 + .../AddAzureHDInsightConfigValuesCommand.cs | 2 +- .../AddAzureHDInsightMetastoreCommand.cs | 92 ++++++++++++++ .../AddAzureHDInsightScriptActionCommand.cs | 118 ++++++++++++++++++ .../AddAzureHDInsightStorageCommand.cs | 53 ++++++++ .../GetAzureHDInsightPropertiesCommand.cs | 45 +++++++ .../NewAzureHDInsightClusterCommand.cs | 6 +- .../NewAzureHDInsightClusterConfigCommand.cs | 52 ++++---- .../HDInsight/Commands.HDInsight/Constants.cs | 4 + .../Models/AzureHDInsightConfig.cs | 6 + .../Models/AzureHDInsightMetastoreType.cs | 34 +++++ 11 files changed, 385 insertions(+), 32 deletions(-) create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Commands/AddAzureHDInsightMetastoreCommand.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Commands/AddAzureHDInsightScriptActionCommand.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Commands/AddAzureHDInsightStorageCommand.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GetAzureHDInsightPropertiesCommand.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightMetastoreType.cs diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj index 7a0746e6dc05..69ea6717ef15 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj @@ -35,7 +35,11 @@ true + + + + @@ -48,6 +52,7 @@ + diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/AddAzureHDInsightConfigValuesCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/AddAzureHDInsightConfigValuesCommand.cs index a8630c8afafe..87339ce3eb59 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/AddAzureHDInsightConfigValuesCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/AddAzureHDInsightConfigValuesCommand.cs @@ -142,6 +142,6 @@ private void AddConfigToConfigurations(Dictionary userConfigs, s config.Add(conf.Key, conf.Value); } _configurations[configKey] = config; - } + } } } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/AddAzureHDInsightMetastoreCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/AddAzureHDInsightMetastoreCommand.cs new file mode 100644 index 000000000000..0c02438fb796 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/AddAzureHDInsightMetastoreCommand.cs @@ -0,0 +1,92 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using Microsoft.Azure.Commands.HDInsight.Commands; +using Microsoft.Azure.Commands.HDInsight.Models; + +namespace Microsoft.Azure.Commands.HDInsight +{ + [Cmdlet( + VerbsCommon.Add, + Constants.CommandNames.AzureHDInsightMetastore), + OutputType( + typeof(AzureHDInsightConfig))] + public class AddAzureHDInsightMetastoreCommand : HDInsightCmdletBase + { + private AzureHDInsightMetastore _metastore; + + #region Input Parameter Definitions + + [Parameter(Position = 0, + Mandatory = true, + ValueFromPipeline = true, + HelpMessage = "The HDInsight cluster configuration to use when creating the new cluster")] + public AzureHDInsightConfig Config { get; set; } + + [Parameter(Position = 1, + Mandatory = true, + HelpMessage = "The type of metastore.")] + public AzureHDInsightMetastoreType MetastoreType { get; set; } + + [Parameter(Position = 2, + Mandatory = true, + HelpMessage = "The Azure SQL Server instance to use for this metastore.")] + public string SqlAzureServerName + { + get { return this._metastore.SqlAzureServerName; } + set { this._metastore.SqlAzureServerName = value; } + } + + [Parameter(Position = 3, + Mandatory = true, + HelpMessage = "The database on the Azure SQL Server instance to use for this metastore.")] + public string DatabaseName + { + get { return this._metastore.DatabaseName; } + set { this._metastore.DatabaseName = value; } + } + + [Parameter(Position = 4, + Mandatory = true, + HelpMessage = "The user credentials to use for the Azure SQL Server database.")] + public PSCredential Credential + { + get { return this._metastore.Credential; } + set { this._metastore.Credential = value; } + } + + #endregion + + public AddAzureHDInsightMetastoreCommand() + { + _metastore = new AzureHDInsightMetastore(); + } + + public override void ExecuteCmdlet() + { + switch (this.MetastoreType) + { + case AzureHDInsightMetastoreType.HiveMetastore: + this.Config.HiveMetastore = this._metastore; + break; + case AzureHDInsightMetastoreType.OozieMetastore: + this.Config.OozieMetastore = this._metastore; + break; + } + + WriteObject(this.Config); + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/AddAzureHDInsightScriptActionCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/AddAzureHDInsightScriptActionCommand.cs new file mode 100644 index 000000000000..5c38b924703f --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/AddAzureHDInsightScriptActionCommand.cs @@ -0,0 +1,118 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using Microsoft.Azure.Commands.HDInsight.Commands; +using Microsoft.Azure.Commands.HDInsight.Models; +using Microsoft.Azure.Management.HDInsight.Models; + +namespace Microsoft.Azure.Commands.HDInsight +{ + [Cmdlet( + VerbsCommon.Add, + Constants.CommandNames.AzureHDInsightScriptAction), + OutputType(typeof(AzureHDInsightConfig))] + public class AddAzureHDInsightScriptActionCommand : HDInsightCmdletBase + { + private ScriptAction _action; + #region Input Parameter Definitions + + [Parameter(Position = 0, + Mandatory = true, + ValueFromPipeline = true, + HelpMessage = "The HDInsight cluster configuration to use when creating the new cluster")] + public AzureHDInsightConfig Config { get; set; } + + [Parameter(Position = 1, + Mandatory = true, + HelpMessage = "The node on which to apply the action.")] + public ClusterNodeType NodeType { get; set; } + + [Parameter(Position = 2, + Mandatory = true, + HelpMessage = "The URI for the action.")] + public Uri Uri + { + get { return this._action.Uri; } + set { this._action.Uri = value; } + } + + [Parameter(Position = 3, + Mandatory = true, + HelpMessage = "The name of the action.")] + public string Name + { + get { return this._action.Name; } + set { this._action.Name = value; } + } + + [Parameter(Position = 4, + Mandatory = true, + HelpMessage = "The parameters for the action.")] + public string Parameters + { + get { return this._action.Parameters; } + set { this._action.Parameters = value; } + } + + #endregion + + public AddAzureHDInsightScriptActionCommand() + { + _action = new ScriptAction(); + } + + public override void ExecuteCmdlet() + { + List actions; + + if (this.Config.ScriptActions.TryGetValue(this.NodeType, out actions)) + { + actions.Add(this._action); + this.Config.ScriptActions[this.NodeType] = actions; + } + else + { + this.Config.ScriptActions.Add(this.NodeType, new List {_action}); + } + } + + private void AddConfigToConfigurations(Dictionary userConfigs, string configKey) + { + //if no configs of this type provided, do nothing + if (userConfigs == null || userConfigs.Count == 0) + { + return; + } + + Dictionary config; + + //if configs provided and key does not already exist, add the key with provided dictionary + if (!_configurations.TryGetValue(configKey, out config)) + { + _configurations.Add(configKey, userConfigs); + return; + } + + //if configs provided and key already exists, add the provided values to the dictionary for the key + foreach (var conf in userConfigs) + { + config.Add(conf.Key, conf.Value); + } + _configurations[configKey] = config; + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/AddAzureHDInsightStorageCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/AddAzureHDInsightStorageCommand.cs new file mode 100644 index 000000000000..2c71aba40c50 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/AddAzureHDInsightStorageCommand.cs @@ -0,0 +1,53 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using Microsoft.Azure.Commands.HDInsight.Commands; +using Microsoft.Azure.Commands.HDInsight.Models; + +namespace Microsoft.Azure.Commands.HDInsight +{ + [Cmdlet( + VerbsCommon.Add, + Constants.CommandNames.AzureHDInsightStorage), + OutputType(typeof(AzureHDInsightConfig))] + public class AddAzureHDInsightStorageCommand : HDInsightCmdletBase + { + #region Input Parameter Definitions + + [Parameter(Position = 0, + Mandatory = true, + ValueFromPipeline = true, + HelpMessage = "The HDInsight cluster configuration to use when creating the new cluster")] + public AzureHDInsightConfig Config { get; set; } + + [Parameter(Position = 1, + Mandatory = true, + HelpMessage = "The storage account name for the storage account to be added to the new cluster.")] + public string StorageAccountName { get; set; } + + [Parameter(Position = 2, + Mandatory = true, + HelpMessage = "The storage account key for the storage account to be added to the new cluster.")] + public string StorageAccountKey { get; set; } + + #endregion + + public override void ExecuteCmdlet() + { + this.Config.AdditionalStorageAccounts.Add(this.StorageAccountName, this.StorageAccountKey); + WriteObject(this.Config); + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GetAzureHDInsightPropertiesCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GetAzureHDInsightPropertiesCommand.cs new file mode 100644 index 000000000000..a19b013c1f91 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GetAzureHDInsightPropertiesCommand.cs @@ -0,0 +1,45 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using Microsoft.Azure.Commands.HDInsight.Commands; +using Microsoft.Azure.Management.HDInsight.Models; + +namespace Microsoft.Azure.Commands.HDInsight +{ + [Cmdlet( + VerbsCommon.Get, + Constants.CommandNames.AzureHDInsightProperties), + OutputType( + typeof(CapabilitiesResponse))] + public class GetAzureHDInsightPropertiesCommand : HDInsightCmdletBase + { + #region Input Parameter Definitions + + [Parameter( + Position = 0, + Mandatory = true, + HelpMessage = "Gets or sets the datacenter location for the cluster.")] + public string Location { get; set; } + + #endregion + + public override void ExecuteCmdlet() + { + var result = HDInsightManagementClient.GetCapabilities(Location); + + WriteObject(result); + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightClusterCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightClusterCommand.cs index 7646f654f902..e76c17a591b9 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightClusterCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightClusterCommand.cs @@ -29,8 +29,7 @@ namespace Microsoft.Azure.Commands.HDInsight public class NewAzureHDInsightCommand : HDInsightCmdletBase { #region Input Parameter Definitions - - + [Parameter( Position = 0, Mandatory = true, @@ -79,6 +78,9 @@ public class NewAzureHDInsightCommand : HDInsightCmdletBase [Parameter(HelpMessage = "Gets the configurations of this HDInsight cluster.")] public Dictionary> Configurations { get; private set; } + [Parameter(HelpMessage = "Gets config actions for the cluster.")] + public Dictionary> ScriptActions { get; private set; } + [Parameter(HelpMessage = "Gets or sets the StorageContainer for the default Azure Storage Account.")] public string DefaultStorageContainer { get; set; } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightClusterConfigCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightClusterConfigCommand.cs index e9d3922f1822..d4ce22495599 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightClusterConfigCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightClusterConfigCommand.cs @@ -26,81 +26,75 @@ namespace Microsoft.Azure.Commands.HDInsight typeof(AzureHDInsightConfig))] public class NewAzureHDInsightClusterConfigCommand : HDInsightCmdletBase { - private readonly AzureHDInsightConfig config = new AzureHDInsightConfig(); + private readonly AzureHDInsightConfig _config; #region Input Parameter Definitions [Parameter(HelpMessage = "Gets or sets the StorageName for the default Azure Storage Account.")] public string DefaultStorageAccountName { - get { return this.config.DefaultStorageAccountName; } - set { this.config.DefaultStorageAccountName = value; } + get { return this._config.DefaultStorageAccountName; } + set { this._config.DefaultStorageAccountName = value; } } [Parameter(HelpMessage = "Gets or sets the StorageKey for the default Azure Storage Account.")] public string DefaultStorageAccountKey { - get { return this.config.DefaultStorageAccountKey; } - set { this.config.DefaultStorageAccountKey = value; } + get { return this._config.DefaultStorageAccountKey; } + set { this._config.DefaultStorageAccountKey = value; } } [Parameter(HelpMessage = "Gets or sets the database to store the metadata for Oozie.")] public AzureHDInsightMetastore OozieMetastore { - get { return this.config.OozieMetastore; } - set { this.config.OozieMetastore = value; } + get { return this._config.OozieMetastore; } + set { this._config.OozieMetastore = value; } } [Parameter(HelpMessage = "Gets or sets the database to store the metadata for Hive.")] public AzureHDInsightMetastore HiveMetastore { - get { return this.config.HiveMetastore; } - set { this.config.HiveMetastore = value; } + get { return this._config.HiveMetastore; } + set { this._config.HiveMetastore = value; } } [Parameter(HelpMessage = "Gets or sets the size of the Head Node.")] public string HeadNodeSize { - get { return this.config.HeadNodeSize; } - set { this.config.HeadNodeSize = value; } + get { return this._config.HeadNodeSize; } + set { this._config.HeadNodeSize = value; } } [Parameter(HelpMessage = "Gets or sets the size of the Data Node.")] public string DataNodeSize { - get { return this.config.DataNodeSize; } - set { this.config.DataNodeSize = value; } + get { return this._config.DataNodeSize; } + set { this._config.DataNodeSize = value; } } [Parameter(HelpMessage = "Gets or sets the size of the Zookeeper Node.")] public string ZookeeperNodeSize { - get { return this.config.ZookeeperNodeSize; } - set { this.config.ZookeeperNodeSize = value; } + get { return this._config.ZookeeperNodeSize; } + set { this._config.ZookeeperNodeSize = value; } } [Parameter(HelpMessage = "Gets or sets the flavor for a cluster.")] public HDInsightClusterType ClusterType { - get { return this.config.ClusterType; } - set { this.config.ClusterType = value; } + get { return this._config.ClusterType; } + set { this._config.ClusterType = value; } } #endregion + public NewAzureHDInsightClusterConfigCommand() + { + _config = new AzureHDInsightConfig(); + } + public override void ExecuteCmdlet() { - var result = new AzureHDInsightConfig - { - ClusterType = this.ClusterType, - DefaultStorageAccountName = this.DefaultStorageAccountName, - DefaultStorageAccountKey = this.DefaultStorageAccountKey, - DataNodeSize = this.DataNodeSize, - HeadNodeSize = this.HeadNodeSize, - ZookeeperNodeSize = this.ZookeeperNodeSize, - HiveMetastore = this.HiveMetastore, - OozieMetastore = this.OozieMetastore - }; - this.WriteObject(result); + this.WriteObject(_config); } } } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Constants.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Constants.cs index 4b96045dde7f..7d70e12b5949 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Constants.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Constants.cs @@ -23,6 +23,10 @@ public static class CommandNames public const string AzureHDInsightHttpServicesAccess = "AzureHDInsightHttpServicesAccess"; public const string AzureHDInsightRdpServicesAccess = "AzureHDInsightRdpServicesAccess"; public const string AzureHDInsightConfigValues = "AzureHDInsightConfigValues"; + public const string AzureHDInsightMetastore = "AzureHDInsightMetastore"; + public const string AzureHDInsightScriptAction = "AzureHDInsightScriptAction"; + public const string AzureHDInsightStorage = "AzureHDInsightStorage"; + public const string AzureHDInsightProperties = "AzureHDInsightProperties"; } public static class ParameterSetNames diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightConfig.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightConfig.cs index a15abbfe9d5e..d3e25932ee3f 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightConfig.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightConfig.cs @@ -40,6 +40,11 @@ public class AzureHDInsightConfig /// public Dictionary> Configurations { get; private set; } + /// + /// Gets config actions for the cluster. + /// + public Dictionary> ScriptActions { get; private set; } + /// /// Gets or sets the StorageName for the default Azure Storage Account. /// @@ -75,6 +80,7 @@ public AzureHDInsightConfig() this.AdditionalStorageAccounts = new Dictionary(); this.ClusterType = HDInsightClusterType.Hadoop; this.Configurations = new Dictionary>(); + this.ScriptActions = new Dictionary>(); } } } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightMetastoreType.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightMetastoreType.cs new file mode 100644 index 000000000000..45efdf6f52f6 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightMetastoreType.cs @@ -0,0 +1,34 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; + +namespace Microsoft.Azure.Commands.HDInsight.Models +{ + /// + /// Defines the type of an AzureHDInsight cluster metastore. + /// + public enum AzureHDInsightMetastoreType + { + /// + /// A Hive metastore. + /// + HiveMetastore, + + /// + /// An Oozie metastore. + /// + OozieMetastore + } +} From 65558c81bf8bce92e8983400f6cd637b00b5b306 Mon Sep 17 00:00:00 2001 From: Shefali Date: Wed, 20 May 2015 17:56:01 -0700 Subject: [PATCH 11/38] start adding job commands --- .../Commands.HDInsight.csproj | 37 ++++--- .../HDInsight/Commands.HDInsight/Constants.cs | 7 +- ...wAzureHDInsightHiveJobDefinitionCommand.cs | 104 ++++++++++++++++++ .../AddAzureHDInsightConfigValuesCommand.cs | 2 +- .../AddAzureHDInsightMetastoreCommand.cs | 2 +- .../AddAzureHDInsightScriptActionCommand.cs | 29 +---- .../AddAzureHDInsightStorageCommand.cs | 2 +- .../GetAzureHDInsightClusterCommand.cs | 2 +- .../GetAzureHDInsightPropertiesCommand.cs | 2 +- ...AzureHDInsightHttpServicesAccessCommand.cs | 2 +- ...tAzureHDInsightRdpServicesAccessCommand.cs | 2 +- .../HDInsightCmdletBase.cs | 13 +++ .../NewAzureHDInsightClusterCommand.cs | 2 +- .../NewAzureHDInsightClusterConfigCommand.cs | 2 +- .../RemoveAzureHDInsightClusterCommand.cs | 2 +- ...AzureHDInsightHttpServicesAccessCommand.cs | 2 +- ...eAzureHDInsightRdpServicesAccessCommand.cs | 2 +- .../SetAzureHDInsightClusterSizeCommand.cs | 2 +- .../Models/AzureHDInsightHiveJobDefinition.cs | 57 ++++++++++ .../Models/AzureHDInsightJobDefinition.cs | 49 +++++++++ .../AzureHdInsightJobManagementClient.cs | 36 ++++++ .../Models/AzureHdInsightManagementClient.cs | 5 + 22 files changed, 307 insertions(+), 56 deletions(-) create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightHiveJobDefinitionCommand.cs rename src/ResourceManager/HDInsight/Commands.HDInsight/{Commands => ManagementCommands}/AddAzureHDInsightConfigValuesCommand.cs (98%) rename src/ResourceManager/HDInsight/Commands.HDInsight/{Commands => ManagementCommands}/AddAzureHDInsightMetastoreCommand.cs (98%) rename src/ResourceManager/HDInsight/Commands.HDInsight/{Commands => ManagementCommands}/AddAzureHDInsightScriptActionCommand.cs (75%) rename src/ResourceManager/HDInsight/Commands.HDInsight/{Commands => ManagementCommands}/AddAzureHDInsightStorageCommand.cs (97%) rename src/ResourceManager/HDInsight/Commands.HDInsight/{Commands => ManagementCommands}/GetAzureHDInsightClusterCommand.cs (96%) rename src/ResourceManager/HDInsight/Commands.HDInsight/{Commands => ManagementCommands}/GetAzureHDInsightPropertiesCommand.cs (95%) rename src/ResourceManager/HDInsight/Commands.HDInsight/{Commands => ManagementCommands}/GrantAzureHDInsightHttpServicesAccessCommand.cs (96%) rename src/ResourceManager/HDInsight/Commands.HDInsight/{Commands => ManagementCommands}/GrantAzureHDInsightRdpServicesAccessCommand.cs (97%) rename src/ResourceManager/HDInsight/Commands.HDInsight/{Commands => ManagementCommands}/HDInsightCmdletBase.cs (74%) rename src/ResourceManager/HDInsight/Commands.HDInsight/{Commands => ManagementCommands}/NewAzureHDInsightClusterCommand.cs (99%) rename src/ResourceManager/HDInsight/Commands.HDInsight/{Commands => ManagementCommands}/NewAzureHDInsightClusterConfigCommand.cs (98%) rename src/ResourceManager/HDInsight/Commands.HDInsight/{Commands => ManagementCommands}/RemoveAzureHDInsightClusterCommand.cs (96%) rename src/ResourceManager/HDInsight/Commands.HDInsight/{Commands => ManagementCommands}/RevokeAzureHDInsightHttpServicesAccessCommand.cs (96%) rename src/ResourceManager/HDInsight/Commands.HDInsight/{Commands => ManagementCommands}/RevokeAzureHDInsightRdpServicesAccessCommand.cs (96%) rename src/ResourceManager/HDInsight/Commands.HDInsight/{Commands => ManagementCommands}/SetAzureHDInsightClusterSizeCommand.cs (97%) create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightHiveJobDefinition.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightJobDefinition.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHdInsightJobManagementClient.cs diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj index 69ea6717ef15..66050986970f 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj @@ -35,26 +35,30 @@ true - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - + @@ -76,6 +80,9 @@ ..\..\..\..\..\azure-sdk-for-net-pr\binaries\net40\Microsoft.Azure.Management.HDInsight.dll + + ..\..\..\..\..\azure-sdk-for-net-pr\binaries\portable\Microsoft.Azure.Management.HDInsight.Job.dll + ..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Constants.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Constants.cs index 7d70e12b5949..d464f8109454 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Constants.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Constants.cs @@ -15,7 +15,7 @@ namespace Microsoft.Azure.Commands.HDInsight { internal static class Constants { - public static class CommandNames + public static class ManagementCommandNames { public const string AzureHDInsightCluster = "AzureHDInsightCluster"; public const string AzureHDInsightClusterConfig = "AzureHDInsightClusterConfig"; @@ -29,6 +29,11 @@ public static class CommandNames public const string AzureHDInsightProperties = "AzureHDInsightProperties"; } + public static class JobCommandNames + { + public const string AzureHDInsightHiveJobDefinition = "AzureHDInsightHiveJobDefinition"; + } + public static class ParameterSetNames { public const string WindowsOS = "WindowsOperatingSystem"; diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightHiveJobDefinitionCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightHiveJobDefinitionCommand.cs new file mode 100644 index 000000000000..078e1c912750 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightHiveJobDefinitionCommand.cs @@ -0,0 +1,104 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections.Generic; +using System.Management.Automation; +using Microsoft.Azure.Commands.HDInsight.Commands; +using Microsoft.Azure.Commands.HDInsight.Models; +using Microsoft.Azure.Management.HDInsight.Models; + +namespace Microsoft.Azure.Commands.HDInsight +{ + [Cmdlet( + VerbsCommon.New, + Constants.JobCommandNames.AzureHDInsightHiveJobDefinition), + OutputType( + typeof(AzureHDInsightHiveJobDefinition))] + public class NewAzureHDInsightHiveJobDefinitionCommand : HDInsightCmdletBase + { + private AzureHDInsightHiveJobDefinition job; + + #region Input Parameter Definitions + + [Parameter(HelpMessage = "The hive arguments for the jobDetails.")] + public ICollection Arguments + { + get { return this.job.Arguments; } + set { this.job.Arguments = value; } + } + + [Parameter(HelpMessage = "The parameters for the jobDetails.")] + public IDictionary Defines + { + get { return this.job.Defines; } + set { this.job.Defines = value; } + } + + [Parameter(HelpMessage = "The query file to run in the jobDetails.")] + public string File + { + get { return this.job.File; } + set { this.job.File = value; } + } + + [Parameter(HelpMessage = "The files for the jobDetails.")] + public ICollection Files + { + get { return this.job.Files; } + set { this.job.Files = value; } + } + + [Parameter(HelpMessage = "The name of the jobDetails.")] + public string JobName + { + get { return this.job.JobName; } + set { this.job.JobName = value; } + } + + [Parameter(HelpMessage = "The query to run in the jobDetails.")] + public string Query + { + get { return this.job.Query; } + set { this.job.Query = value; } + } + + [Parameter(HelpMessage = "Run the query as a file.")] + public SwitchParameter RunAsFileJob + { + get { return this.job.RunAsFileJob; } + set { this.job.RunAsFileJob = value; } + } + + [Parameter(HelpMessage = "The output location to use for the job.")] + public string StatusFolder + { + get { return this.job.StatusFolder; } + set { this.job.StatusFolder = value; } + } + + #endregion + + public NewAzureHDInsightHiveJobDefinitionCommand() + { + job = new AzureHDInsightHiveJobDefinition(); + } + + public override void ExecuteCmdlet() + { + WriteObject(job); + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/AddAzureHDInsightConfigValuesCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightConfigValuesCommand.cs similarity index 98% rename from src/ResourceManager/HDInsight/Commands.HDInsight/Commands/AddAzureHDInsightConfigValuesCommand.cs rename to src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightConfigValuesCommand.cs index 87339ce3eb59..be9b8bfecf7d 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/AddAzureHDInsightConfigValuesCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightConfigValuesCommand.cs @@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.HDInsight { [Cmdlet( VerbsCommon.Add, - Constants.CommandNames.AzureHDInsightConfigValues), + Constants.ManagementCommandNames.AzureHDInsightConfigValues), OutputType( typeof(AzureHDInsightConfig))] public class AddAzureHDInsightConfigValuesCommand : HDInsightCmdletBase diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/AddAzureHDInsightMetastoreCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightMetastoreCommand.cs similarity index 98% rename from src/ResourceManager/HDInsight/Commands.HDInsight/Commands/AddAzureHDInsightMetastoreCommand.cs rename to src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightMetastoreCommand.cs index 0c02438fb796..ef16982da553 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/AddAzureHDInsightMetastoreCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightMetastoreCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.HDInsight { [Cmdlet( VerbsCommon.Add, - Constants.CommandNames.AzureHDInsightMetastore), + Constants.ManagementCommandNames.AzureHDInsightMetastore), OutputType( typeof(AzureHDInsightConfig))] public class AddAzureHDInsightMetastoreCommand : HDInsightCmdletBase diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/AddAzureHDInsightScriptActionCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightScriptActionCommand.cs similarity index 75% rename from src/ResourceManager/HDInsight/Commands.HDInsight/Commands/AddAzureHDInsightScriptActionCommand.cs rename to src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightScriptActionCommand.cs index 5c38b924703f..b783f0ed6d9d 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/AddAzureHDInsightScriptActionCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightScriptActionCommand.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.HDInsight { [Cmdlet( VerbsCommon.Add, - Constants.CommandNames.AzureHDInsightScriptAction), + Constants.ManagementCommandNames.AzureHDInsightScriptAction), OutputType(typeof(AzureHDInsightConfig))] public class AddAzureHDInsightScriptActionCommand : HDInsightCmdletBase { @@ -86,33 +86,8 @@ public override void ExecuteCmdlet() } else { - this.Config.ScriptActions.Add(this.NodeType, new List {_action}); + this.Config.ScriptActions.Add(this.NodeType, new List {this._action}); } } - - private void AddConfigToConfigurations(Dictionary userConfigs, string configKey) - { - //if no configs of this type provided, do nothing - if (userConfigs == null || userConfigs.Count == 0) - { - return; - } - - Dictionary config; - - //if configs provided and key does not already exist, add the key with provided dictionary - if (!_configurations.TryGetValue(configKey, out config)) - { - _configurations.Add(configKey, userConfigs); - return; - } - - //if configs provided and key already exists, add the provided values to the dictionary for the key - foreach (var conf in userConfigs) - { - config.Add(conf.Key, conf.Value); - } - _configurations[configKey] = config; - } } } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/AddAzureHDInsightStorageCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightStorageCommand.cs similarity index 97% rename from src/ResourceManager/HDInsight/Commands.HDInsight/Commands/AddAzureHDInsightStorageCommand.cs rename to src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightStorageCommand.cs index 2c71aba40c50..54a50bb69ee3 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/AddAzureHDInsightStorageCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightStorageCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.HDInsight { [Cmdlet( VerbsCommon.Add, - Constants.CommandNames.AzureHDInsightStorage), + Constants.ManagementCommandNames.AzureHDInsightStorage), OutputType(typeof(AzureHDInsightConfig))] public class AddAzureHDInsightStorageCommand : HDInsightCmdletBase { diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GetAzureHDInsightClusterCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GetAzureHDInsightClusterCommand.cs similarity index 96% rename from src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GetAzureHDInsightClusterCommand.cs rename to src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GetAzureHDInsightClusterCommand.cs index 738e957dbfa7..11f595151b90 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GetAzureHDInsightClusterCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GetAzureHDInsightClusterCommand.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.HDInsight { [Cmdlet( VerbsCommon.Get, - Constants.CommandNames.AzureHDInsightCluster), + Constants.ManagementCommandNames.AzureHDInsightCluster), OutputType( typeof(List))] public class GetAzureHDInsightCommand : HDInsightCmdletBase diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GetAzureHDInsightPropertiesCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GetAzureHDInsightPropertiesCommand.cs similarity index 95% rename from src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GetAzureHDInsightPropertiesCommand.cs rename to src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GetAzureHDInsightPropertiesCommand.cs index a19b013c1f91..e889c787d7df 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GetAzureHDInsightPropertiesCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GetAzureHDInsightPropertiesCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.HDInsight { [Cmdlet( VerbsCommon.Get, - Constants.CommandNames.AzureHDInsightProperties), + Constants.ManagementCommandNames.AzureHDInsightProperties), OutputType( typeof(CapabilitiesResponse))] public class GetAzureHDInsightPropertiesCommand : HDInsightCmdletBase diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GrantAzureHDInsightHttpServicesAccessCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GrantAzureHDInsightHttpServicesAccessCommand.cs similarity index 96% rename from src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GrantAzureHDInsightHttpServicesAccessCommand.cs rename to src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GrantAzureHDInsightHttpServicesAccessCommand.cs index d2aa889175fc..328c539bc9ab 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GrantAzureHDInsightHttpServicesAccessCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GrantAzureHDInsightHttpServicesAccessCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.HDInsight { [Cmdlet( VerbsSecurity.Grant, - Constants.CommandNames.AzureHDInsightHttpServicesAccess), + Constants.ManagementCommandNames.AzureHDInsightHttpServicesAccess), OutputType( typeof(void))] public class GrantAzureHDInsightHttpServicesAccessCommand : HDInsightCmdletBase diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GrantAzureHDInsightRdpServicesAccessCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GrantAzureHDInsightRdpServicesAccessCommand.cs similarity index 97% rename from src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GrantAzureHDInsightRdpServicesAccessCommand.cs rename to src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GrantAzureHDInsightRdpServicesAccessCommand.cs index 535d1c85ce13..52debcbb18a8 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/GrantAzureHDInsightRdpServicesAccessCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GrantAzureHDInsightRdpServicesAccessCommand.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.HDInsight { [Cmdlet( VerbsSecurity.Grant, - Constants.CommandNames.AzureHDInsightRdpServicesAccess), + Constants.ManagementCommandNames.AzureHDInsightRdpServicesAccess), OutputType( typeof(void))] public class GrantAzureHDInsightRdpServicesAccessCommand : HDInsightCmdletBase diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/HDInsightCmdletBase.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/HDInsightCmdletBase.cs similarity index 74% rename from src/ResourceManager/HDInsight/Commands.HDInsight/Commands/HDInsightCmdletBase.cs rename to src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/HDInsightCmdletBase.cs index f1348a0fd8be..d0450cd204d7 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/HDInsightCmdletBase.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/HDInsightCmdletBase.cs @@ -12,7 +12,9 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using System; using Microsoft.Azure.Commands.HDInsight.Models; +using Microsoft.Azure.Management.HDInsight.Job; using Microsoft.WindowsAzure.Commands.Utilities.Common; namespace Microsoft.Azure.Commands.HDInsight.Commands @@ -20,6 +22,7 @@ namespace Microsoft.Azure.Commands.HDInsight.Commands public class HDInsightCmdletBase : AzurePSCmdlet { private AzureHdInsightManagementClient _hdInsightManagementClient; + private AzureHdInsightJobManagementClient _hdInsightJobClient; public AzureHdInsightManagementClient HDInsightManagementClient { @@ -29,5 +32,15 @@ public AzureHdInsightManagementClient HDInsightManagementClient } set { this._hdInsightManagementClient = value; } } + + public AzureHdInsightJobManagementClient HDInsightJobClient + { + get + { + return this._hdInsightJobClient ?? + (this._hdInsightJobClient = new AzureHdInsightJobManagementClient(Profile.Context)); + } + set { this._hdInsightJobClient = value; } + } } } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightClusterCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterCommand.cs similarity index 99% rename from src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightClusterCommand.cs rename to src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterCommand.cs index e76c17a591b9..1795121b7b03 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightClusterCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterCommand.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.HDInsight { [Cmdlet( VerbsCommon.New, - Constants.CommandNames.AzureHDInsightCluster), + Constants.ManagementCommandNames.AzureHDInsightCluster), OutputType( typeof(ClusterGetResponse))] public class NewAzureHDInsightCommand : HDInsightCmdletBase diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightClusterConfigCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterConfigCommand.cs similarity index 98% rename from src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightClusterConfigCommand.cs rename to src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterConfigCommand.cs index d4ce22495599..66180eb8015c 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/NewAzureHDInsightClusterConfigCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterConfigCommand.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.HDInsight { [Cmdlet( VerbsCommon.New, - Constants.CommandNames.AzureHDInsightClusterConfig), + Constants.ManagementCommandNames.AzureHDInsightClusterConfig), OutputType( typeof(AzureHDInsightConfig))] public class NewAzureHDInsightClusterConfigCommand : HDInsightCmdletBase diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/RemoveAzureHDInsightClusterCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/RemoveAzureHDInsightClusterCommand.cs similarity index 96% rename from src/ResourceManager/HDInsight/Commands.HDInsight/Commands/RemoveAzureHDInsightClusterCommand.cs rename to src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/RemoveAzureHDInsightClusterCommand.cs index 5c194e05a1e4..caa558dcb2a8 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/RemoveAzureHDInsightClusterCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/RemoveAzureHDInsightClusterCommand.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.HDInsight { [Cmdlet( VerbsCommon.Remove, - Constants.CommandNames.AzureHDInsightCluster), + Constants.ManagementCommandNames.AzureHDInsightCluster), OutputType( typeof(ClusterGetResponse))] public class RemoveAzureHDInsightCommand : HDInsightCmdletBase diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/RevokeAzureHDInsightHttpServicesAccessCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/RevokeAzureHDInsightHttpServicesAccessCommand.cs similarity index 96% rename from src/ResourceManager/HDInsight/Commands.HDInsight/Commands/RevokeAzureHDInsightHttpServicesAccessCommand.cs rename to src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/RevokeAzureHDInsightHttpServicesAccessCommand.cs index aaf290c26bd7..d81b2c1df440 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/RevokeAzureHDInsightHttpServicesAccessCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/RevokeAzureHDInsightHttpServicesAccessCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.HDInsight { [Cmdlet( VerbsSecurity.Revoke, - Constants.CommandNames.AzureHDInsightHttpServicesAccess), + Constants.ManagementCommandNames.AzureHDInsightHttpServicesAccess), OutputType( typeof(void))] public class RevokeAzureHDInsightHttpServicesAccessCommand : HDInsightCmdletBase diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/RevokeAzureHDInsightRdpServicesAccessCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/RevokeAzureHDInsightRdpServicesAccessCommand.cs similarity index 96% rename from src/ResourceManager/HDInsight/Commands.HDInsight/Commands/RevokeAzureHDInsightRdpServicesAccessCommand.cs rename to src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/RevokeAzureHDInsightRdpServicesAccessCommand.cs index 08f67b18d9c4..41f613704a92 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/RevokeAzureHDInsightRdpServicesAccessCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/RevokeAzureHDInsightRdpServicesAccessCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.HDInsight { [Cmdlet( VerbsSecurity.Revoke, - Constants.CommandNames.AzureHDInsightRdpServicesAccess), + Constants.ManagementCommandNames.AzureHDInsightRdpServicesAccess), OutputType( typeof(void))] public class RevokeAzureHDInsightRdpServicesAccessCommand : HDInsightCmdletBase diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/SetAzureHDInsightClusterSizeCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/SetAzureHDInsightClusterSizeCommand.cs similarity index 97% rename from src/ResourceManager/HDInsight/Commands.HDInsight/Commands/SetAzureHDInsightClusterSizeCommand.cs rename to src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/SetAzureHDInsightClusterSizeCommand.cs index ca2fcdb65ef6..5fba9e4310f4 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands/SetAzureHDInsightClusterSizeCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/SetAzureHDInsightClusterSizeCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.HDInsight { [Cmdlet( VerbsCommon.Set, - Constants.CommandNames.AzureHDInsightClusterSize), + Constants.ManagementCommandNames.AzureHDInsightClusterSize), OutputType( typeof(ClusterGetResponse))] public class SetAzureHDInsightClusterSizeCommand : HDInsightCmdletBase diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightHiveJobDefinition.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightHiveJobDefinition.cs new file mode 100644 index 000000000000..acc4e9a10dea --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightHiveJobDefinition.cs @@ -0,0 +1,57 @@ +// ---------------------------------------------------------------------------------- +// +// 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; + +namespace Microsoft.Azure.Commands.HDInsight.Models +{ + /// + /// Provides creation details for a new Hive jobDetails. + /// + public class AzureHDInsightHiveJobDefinition : AzureHDInsightJobDefinition + { + /// + /// Initializes a new instance of the AzureHDInsightHiveJobDefinition class. + /// + public AzureHDInsightHiveJobDefinition() + { + this.Defines = new Dictionary(); + } + + /// + /// Gets the parameters for the jobDetails. + /// + public IDictionary Defines { get; set; } + + /// + /// Gets or sets the query file to use for a hive jobDetails. + /// + public string File { get; set; } + + /// + /// Gets or sets the name of the jobDetails. + /// + public string JobName { get; set; } + + /// + /// Gets or sets the query to use for a hive jobDetails. + /// + public string Query { get; set; } + + /// + /// Gets or sets the switch to run queries as files. + /// + public bool RunAsFileJob { get; set; } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightJobDefinition.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightJobDefinition.cs new file mode 100644 index 000000000000..aab246db7c89 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightJobDefinition.cs @@ -0,0 +1,49 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Collections.ObjectModel; + +namespace Microsoft.Azure.Commands.HDInsight.Models +{ + /// + /// Provides the details of an HDInsight jobDetails when creating the jobDetails. + /// + public abstract class AzureHDInsightJobDefinition + { + /// + /// Initializes a new instance of the AzureHDInsightJobDefinition class. + /// + protected AzureHDInsightJobDefinition() + { + this.Files = new List(); + this.Arguments = new Collection(); + } + + /// + /// Gets the arguments for the jobDetails. + /// + public ICollection Arguments { get; set; } + + /// + /// Gets the resources for the jobDetails. + /// + public ICollection Files { get; set; } + + /// + /// Gets or sets the status folder to use for the jobDetails. + /// + public string StatusFolder { get; set; } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHdInsightJobManagementClient.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHdInsightJobManagementClient.cs new file mode 100644 index 000000000000..78eaabb10532 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHdInsightJobManagementClient.cs @@ -0,0 +1,36 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; +using Microsoft.Azure.Management.HDInsight.Job; + +namespace Microsoft.Azure.Commands.HDInsight.Models +{ + public class AzureHdInsightJobManagementClient + { + public AzureHdInsightJobManagementClient(AzureContext context) + { + HdInsightJobManagementClient = AzureSession.ClientFactory.CreateClient(context, AzureEnvironment.Endpoint.ResourceManager); + } + + /// + /// Parameterless constructor for mocking + /// + public AzureHdInsightJobManagementClient() { } + + private IHDInsightJobManagementClient HdInsightJobManagementClient { get; set; } + + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHdInsightManagementClient.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHdInsightManagementClient.cs index 43f984018aee..0dec1ba77858 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHdInsightManagementClient.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHdInsightManagementClient.cs @@ -78,5 +78,10 @@ public HDInsightLongRunningOperationResponse ConfigureRdp(string resourceGroupNa { return this.HdInsightManagementClient.Clusters.ConfigureRdpSettings(resourceGroupName, clusterName, rdpSettings); } + + public CapabilitiesResponse GetCapabilities(string location) + { + return this.HdInsightManagementClient.Clusters.GetCapabilities(location); + } } } From 580fbfca32b91f34e80529f6a0587f2950da6f74 Mon Sep 17 00:00:00 2001 From: Shefali Date: Wed, 20 May 2015 21:03:58 -0700 Subject: [PATCH 12/38] adding several job commands --- .../Commands.HDInsight.csproj | 26 +++- .../HDInsight/Commands.HDInsight/Constants.cs | 9 +- .../GetAzureHDInsightJobCommand.cs | 46 +++++++ ...wAzureHDInsightHiveJobDefinitionCommand.cs | 54 ++++---- ...eHDInsightMapReduceJobDefinitionCommand.cs | 110 +++++++++++++++ ...ewAzureHDInsightPigJobDefinitionCommand.cs | 84 ++++++++++++ ...AzureHDInsightSqoopJobDefinitionCommand.cs | 84 ++++++++++++ ...tStreamingMapReduceJobDefinitionCommand.cs | 116 ++++++++++++++++ .../StartAzureHDInsightJobCommand.cs | 83 +++++++++++ .../StopAzureHDInsightJobCommand.cs | 39 ++++++ .../AddAzureHDInsightConfigValuesCommand.cs | 2 +- .../AddAzureHDInsightMetastoreCommand.cs | 2 +- .../AddAzureHDInsightScriptActionCommand.cs | 2 +- .../AddAzureHDInsightStorageCommand.cs | 2 +- .../GetAzureHDInsightClusterCommand.cs | 2 +- .../GetAzureHDInsightPropertiesCommand.cs | 2 +- ...AzureHDInsightHttpServicesAccessCommand.cs | 2 +- ...tAzureHDInsightRdpServicesAccessCommand.cs | 2 +- .../NewAzureHDInsightClusterCommand.cs | 2 +- .../NewAzureHDInsightClusterConfigCommand.cs | 2 +- .../RemoveAzureHDInsightClusterCommand.cs | 2 +- ...AzureHDInsightHttpServicesAccessCommand.cs | 2 +- ...eAzureHDInsightRdpServicesAccessCommand.cs | 2 +- .../SetAzureHDInsightClusterSizeCommand.cs | 2 +- .../AzureHDInsightHiveJobDefinition.cs | 3 +- .../Models/Job/AzureHDInsightJob.cs | 96 +++++++++++++ .../{ => Job}/AzureHDInsightJobDefinition.cs | 4 +- .../AzureHDInsightMapReduceJobDefinition.cs | 58 ++++++++ .../AzureHDInsightPigJobDefinition.cs} | 24 ++-- .../Job/AzureHDInsightSqoopJobDefinition.cs | 32 +++++ ...DInsightStreamingMapReduceJobDefinition.cs | 69 ++++++++++ .../Job/AzureHdInsightJobManagementClient.cs | 129 ++++++++++++++++++ .../{ => Management}/AzureHDInsightConfig.cs | 0 .../AzureHDInsightMetastore.cs | 0 .../AzureHDInsightMetastoreType.cs | 0 .../AzureHdInsightManagementClient.cs | 0 36 files changed, 1029 insertions(+), 65 deletions(-) create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/GetAzureHDInsightJobCommand.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightMapReduceJobDefinitionCommand.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightPigJobDefinitionCommand.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightSqoopJobDefinitionCommand.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightStreamingMapReduceJobDefinitionCommand.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/StartAzureHDInsightJobCommand.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/StopAzureHDInsightJobCommand.cs rename src/ResourceManager/HDInsight/Commands.HDInsight/Models/{ => Job}/AzureHDInsightHiveJobDefinition.cs (93%) create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightJob.cs rename src/ResourceManager/HDInsight/Commands.HDInsight/Models/{ => Job}/AzureHDInsightJobDefinition.cs (93%) create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightMapReduceJobDefinition.cs rename src/ResourceManager/HDInsight/Commands.HDInsight/Models/{AzureHdInsightJobManagementClient.cs => Job/AzureHDInsightPigJobDefinition.cs} (57%) create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightSqoopJobDefinition.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightStreamingMapReduceJobDefinition.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHdInsightJobManagementClient.cs rename src/ResourceManager/HDInsight/Commands.HDInsight/Models/{ => Management}/AzureHDInsightConfig.cs (100%) rename src/ResourceManager/HDInsight/Commands.HDInsight/Models/{ => Management}/AzureHDInsightMetastore.cs (100%) rename src/ResourceManager/HDInsight/Commands.HDInsight/Models/{ => Management}/AzureHDInsightMetastoreType.cs (100%) rename src/ResourceManager/HDInsight/Commands.HDInsight/Models/{ => Management}/AzureHdInsightManagementClient.cs (100%) diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj index 66050986970f..834c1e2bc54a 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj @@ -35,7 +35,14 @@ true + + + + + + + @@ -51,13 +58,18 @@ - - - - - - - + + + + + + + + + + + + diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Constants.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Constants.cs index d464f8109454..9c17c9f7b9c5 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Constants.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Constants.cs @@ -15,7 +15,7 @@ namespace Microsoft.Azure.Commands.HDInsight { internal static class Constants { - public static class ManagementCommandNames + public static class CommandNames { public const string AzureHDInsightCluster = "AzureHDInsightCluster"; public const string AzureHDInsightClusterConfig = "AzureHDInsightClusterConfig"; @@ -27,11 +27,16 @@ public static class ManagementCommandNames public const string AzureHDInsightScriptAction = "AzureHDInsightScriptAction"; public const string AzureHDInsightStorage = "AzureHDInsightStorage"; public const string AzureHDInsightProperties = "AzureHDInsightProperties"; + public const string AzureHDInsightJob = "AzureHDInsightJob"; } - public static class JobCommandNames + public static class JobDefinitions { public const string AzureHDInsightHiveJobDefinition = "AzureHDInsightHiveJobDefinition"; + public const string AzureHDInsightPigJobDefinition = "AzureHDInsightPigJobDefinition"; + public const string AzureHDInsightMapReduceJobDefinition = "AzureHDInsightMapReduceJobDefinition"; + public const string AzureHDInsightSqoopJobDefinition = "AzureHDInsightSqoopJobDefinition"; + public const string AzureHDInsightStreamingMapReduceJobDefinition = "AzureHDInsightStreamingMapReduceJobDefinition"; } public static class ParameterSetNames diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/GetAzureHDInsightJobCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/GetAzureHDInsightJobCommand.cs new file mode 100644 index 000000000000..0435698ff7b6 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/GetAzureHDInsightJobCommand.cs @@ -0,0 +1,46 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using Microsoft.Azure.Commands.HDInsight.Commands; +using Microsoft.Azure.Commands.HDInsight.Models; + +namespace Microsoft.Azure.Commands.HDInsight +{ + [Cmdlet(VerbsCommon.Get, + Constants.CommandNames.AzureHDInsightJob), + OutputType(typeof(AzureHDInsightJob))] + public class GetAzureHDInsightJobCommand : HDInsightCmdletBase + { + [Parameter(Mandatory = true, + Position = 0, + HelpMessage = "The JobID of the jobDetails to stop.")] + public string JobId { get; set; } + + public override async void ExecuteCmdlet() + { + if (this.JobId != null) + { + var job = await this.HDInsightJobClient.GetJob(this.JobId); + var jobDetails = new AzureHDInsightJob(job.JobDetail, this.HDInsightJobClient.ClusterName); + WriteObject(jobDetails); + } + else + { + var jobs = await this.HDInsightJobClient.ListJobs(); + WriteObject(jobs, true); + } + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightHiveJobDefinitionCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightHiveJobDefinitionCommand.cs index 078e1c912750..2a0aef92d69b 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightHiveJobDefinitionCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightHiveJobDefinitionCommand.cs @@ -12,19 +12,17 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using System; using System.Collections; using System.Collections.Generic; using System.Management.Automation; using Microsoft.Azure.Commands.HDInsight.Commands; using Microsoft.Azure.Commands.HDInsight.Models; -using Microsoft.Azure.Management.HDInsight.Models; namespace Microsoft.Azure.Commands.HDInsight { [Cmdlet( VerbsCommon.New, - Constants.JobCommandNames.AzureHDInsightHiveJobDefinition), + Constants.JobDefinitions.AzureHDInsightHiveJobDefinition), OutputType( typeof(AzureHDInsightHiveJobDefinition))] public class NewAzureHDInsightHiveJobDefinitionCommand : HDInsightCmdletBase @@ -34,18 +32,20 @@ public class NewAzureHDInsightHiveJobDefinitionCommand : HDInsightCmdletBase #region Input Parameter Definitions [Parameter(HelpMessage = "The hive arguments for the jobDetails.")] - public ICollection Arguments + public string[] Arguments { get; set; } + + [Parameter(HelpMessage = "The files for the jobDetails.")] + public string[] Files { get; set; } + + [Parameter(HelpMessage = "The output location to use for the job.")] + public string StatusFolder { - get { return this.job.Arguments; } - set { this.job.Arguments = value; } + get { return this.job.StatusFolder; } + set { this.job.StatusFolder = value; } } [Parameter(HelpMessage = "The parameters for the jobDetails.")] - public IDictionary Defines - { - get { return this.job.Defines; } - set { this.job.Defines = value; } - } + public Hashtable Defines { get; set; } [Parameter(HelpMessage = "The query file to run in the jobDetails.")] public string File @@ -54,13 +54,6 @@ public string File set { this.job.File = value; } } - [Parameter(HelpMessage = "The files for the jobDetails.")] - public ICollection Files - { - get { return this.job.Files; } - set { this.job.Files = value; } - } - [Parameter(HelpMessage = "The name of the jobDetails.")] public string JobName { @@ -82,22 +75,33 @@ public SwitchParameter RunAsFileJob set { this.job.RunAsFileJob = value; } } - [Parameter(HelpMessage = "The output location to use for the job.")] - public string StatusFolder - { - get { return this.job.StatusFolder; } - set { this.job.StatusFolder = value; } - } - #endregion public NewAzureHDInsightHiveJobDefinitionCommand() { + this.Arguments = new string[] {}; + this.Files = new string[] { }; + this.Defines = new Hashtable(); job = new AzureHDInsightHiveJobDefinition(); } public override void ExecuteCmdlet() { + foreach (var arg in this.Arguments) + { + this.job.Arguments.Add(arg); + } + + foreach (var file in this.Files) + { + this.job.Files.Add(file); + } + + foreach (KeyValuePair define in this.Defines) + { + this.job.Defines.Add(define.Key, define.Value); + } + WriteObject(job); } } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightMapReduceJobDefinitionCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightMapReduceJobDefinitionCommand.cs new file mode 100644 index 000000000000..a2ad9410c022 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightMapReduceJobDefinitionCommand.cs @@ -0,0 +1,110 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections.Generic; +using System.Management.Automation; +using Microsoft.Azure.Commands.HDInsight.Commands; +using Microsoft.Azure.Commands.HDInsight.Models; + +namespace Microsoft.Azure.Commands.HDInsight +{ + [Cmdlet( + VerbsCommon.New, + Constants.JobDefinitions.AzureHDInsightMapReduceJobDefinition), + OutputType( + typeof(AzureHDInsightMapReduceJobDefinition))] + public class NewAzureHDInsightMapReduceJobDefinitionCommand : HDInsightCmdletBase + { + private AzureHDInsightMapReduceJobDefinition job; + + #region Input Parameter Definitions + + [Parameter(HelpMessage = "The hive arguments for the jobDetails.")] + public string[] Arguments { get; set; } + + [Parameter(HelpMessage = "The files for the jobDetails.")] + public string[] Files { get; set; } + + [Parameter(HelpMessage = "The output location to use for the job.")] + public string StatusFolder + { + get { return this.job.StatusFolder; } + set { this.job.StatusFolder = value; } + } + + [Parameter(Mandatory = true, HelpMessage = "The class name to use for the jobDetails.")] + public string ClassName + { + get { return this.job.ClassName; } + set { this.job.ClassName = value; } + } + + [Parameter(HelpMessage = "The parameters for the jobDetails.")] + public Hashtable Defines { get; set; } + + [Parameter(Mandatory = true, HelpMessage = "The jar file to use for the jobDetails.")] + public string JarFile + { + get { return this.job.JarFile; } + set { this.job.JarFile = value; } + } + + [Parameter(HelpMessage = "The name of the jobDetails.")] + public string JobName + { + get { return this.job.JobName; } + set { this.job.JobName = value; } + } + + [Parameter(HelpMessage = "The lib jars for the jobDetails.")] + public string[] LibJars { get; set; } + + #endregion + + public NewAzureHDInsightMapReduceJobDefinitionCommand() + { + this.Arguments = new string[] { }; + this.Files = new string[] { }; + this.Defines = new Hashtable(); + this.LibJars = new string[] { }; + job = new AzureHDInsightMapReduceJobDefinition(); + } + + public override void ExecuteCmdlet() + { + foreach (var arg in this.Arguments) + { + this.job.Arguments.Add(arg); + } + + foreach (var file in this.Files) + { + this.job.Files.Add(file); + } + + foreach (KeyValuePair define in this.Defines) + { + this.job.Defines.Add(define.Key, define.Value); + } + + foreach (var libjar in this.LibJars) + { + this.job.LibJars.Add(libjar); + } + + WriteObject(job); + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightPigJobDefinitionCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightPigJobDefinitionCommand.cs new file mode 100644 index 000000000000..0e263aabcb0e --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightPigJobDefinitionCommand.cs @@ -0,0 +1,84 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Commands.HDInsight.Commands; +using Microsoft.Azure.Commands.HDInsight.Models; + +namespace Microsoft.Azure.Commands.HDInsight +{ + [Cmdlet( + VerbsCommon.New, + Constants.JobDefinitions.AzureHDInsightPigJobDefinition), + OutputType( + typeof(AzureHDInsightPigJobDefinition))] + public class NewAzureHDInsightPigJobDefinitionCommand : HDInsightCmdletBase + { + private AzureHDInsightPigJobDefinition job; + + #region Input Parameter Definitions + + [Parameter(HelpMessage = "The hive arguments for the jobDetails.")] + public string[] Arguments { get; set; } + + [Parameter(HelpMessage = "The files for the jobDetails.")] + public string[] Files { get; set; } + + [Parameter(HelpMessage = "The output location to use for the job.")] + public string StatusFolder + { + get { return this.job.StatusFolder; } + set { this.job.StatusFolder = value; } + } + + [Parameter(HelpMessage = "The query file to run in the jobDetails.")] + public string File + { + get { return this.job.File; } + set { this.job.File = value; } + } + + [Parameter(HelpMessage = "The query to run in the jobDetails.")] + public string Query + { + get { return this.job.Query; } + set { this.job.Query = value; } + } + + #endregion + + public NewAzureHDInsightPigJobDefinitionCommand() + { + this.Arguments = new string[] { }; + this.Files = new string[] { }; + job = new AzureHDInsightPigJobDefinition(); + } + + public override void ExecuteCmdlet() + { + foreach (var arg in this.Arguments) + { + this.job.Arguments.Add(arg); + } + + foreach (var file in this.Files) + { + this.job.Files.Add(file); + } + + WriteObject(job); + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightSqoopJobDefinitionCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightSqoopJobDefinitionCommand.cs new file mode 100644 index 000000000000..39705dc453c3 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightSqoopJobDefinitionCommand.cs @@ -0,0 +1,84 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Commands.HDInsight.Commands; +using Microsoft.Azure.Commands.HDInsight.Models; + +namespace Microsoft.Azure.Commands.HDInsight +{ + [Cmdlet( + VerbsCommon.New, + Constants.JobDefinitions.AzureHDInsightSqoopJobDefinition), + OutputType( + typeof(AzureHDInsightPigJobDefinition))] + public class NewAzureHDInsightSqoopJobDefinitionCommand : HDInsightCmdletBase + { + private AzureHDInsightSqoopJobDefinition job; + + #region Input Parameter Definitions + + [Parameter(HelpMessage = "The hive arguments for the jobDetails.")] + public string[] Arguments { get; set; } + + [Parameter(HelpMessage = "The files for the jobDetails.")] + public string[] Files { get; set; } + + [Parameter(HelpMessage = "The output location to use for the job.")] + public string StatusFolder + { + get { return this.job.StatusFolder; } + set { this.job.StatusFolder = value; } + } + + [Parameter(Mandatory = false, HelpMessage = "The command to run in the sqoop job.")] + public string Command + { + get { return this.job.Command; } + set { this.job.Command = value; } + } + + [Parameter(HelpMessage = "The query file to run in the jobDetails.")] + public string File + { + get { return this.job.File; } + set { this.job.File = value; } + } + + #endregion + + public NewAzureHDInsightSqoopJobDefinitionCommand() + { + this.Arguments = new string[] { }; + this.Files = new string[] { }; + job = new AzureHDInsightSqoopJobDefinition(); + } + + public override void ExecuteCmdlet() + { + foreach (var arg in this.Arguments) + { + this.job.Arguments.Add(arg); + } + + foreach (var file in this.Files) + { + this.job.Files.Add(file); + } + + WriteObject(job); + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightStreamingMapReduceJobDefinitionCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightStreamingMapReduceJobDefinitionCommand.cs new file mode 100644 index 000000000000..7582f964e826 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightStreamingMapReduceJobDefinitionCommand.cs @@ -0,0 +1,116 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections.Generic; +using System.Management.Automation; +using Microsoft.Azure.Commands.HDInsight.Commands; +using Microsoft.Azure.Commands.HDInsight.Models; + +namespace Microsoft.Azure.Commands.HDInsight +{ + [Cmdlet( + VerbsCommon.New, + Constants.JobDefinitions.AzureHDInsightStreamingMapReduceJobDefinition), + OutputType( + typeof(AzureHDInsightStreamingMapReduceJobDefinition))] + public class NewAzureHDInsightStreamingMapReduceJobDefinitionCommand : HDInsightCmdletBase + { + private AzureHDInsightStreamingMapReduceJobDefinition job; + + #region Input Parameter Definitions + + [Parameter(HelpMessage = "The hive arguments for the jobDetails.")] + public string[] Arguments { get; set; } + + [Parameter(HelpMessage = "The file for the jobDetails.")] + public string File + { + get { return this.job.File; } + set { this.job.File = value; } + } + + [Parameter(HelpMessage = "The output location to use for the job.")] + public string StatusFolder + { + get { return this.job.StatusFolder; } + set { this.job.StatusFolder = value; } + } + + [Parameter(HelpMessage = "The command line environment for the mappers or the reducers.")] + public string[] CommandEnvironment { get; set; } + + [Parameter(HelpMessage = "The parameters for the jobDetails.")] + public Hashtable Defines { get; set; } + + [Parameter(Mandatory = true, + HelpMessage = "The input path to use for the jobDetails.")] + public string InputPath + { + get { return this.job.Input; } + set { this.job.Input = value; } + } + + [Parameter(HelpMessage = "The Mapper to use for the jobDetails.")] + public string Mapper + { + get { return this.job.Mapper; } + set { this.job.Mapper = value; } + } + + [Parameter(HelpMessage = "The output path to use for the jobDetails.")] + public string OutputPath + { + get { return this.job.Output; } + set { this.job.Output = value; } + } + + [Parameter(HelpMessage = "The Reducer to use for the jobDetails.")] + public string Reducer + { + get { return this.job.Reducer; } + set { this.job.Reducer = value; } + } + + #endregion + + public NewAzureHDInsightStreamingMapReduceJobDefinitionCommand() + { + this.Arguments = new string[] {}; + this.CommandEnvironment = new string[] {}; + this.Defines = new Hashtable(); + job = new AzureHDInsightStreamingMapReduceJobDefinition(); + } + + public override void ExecuteCmdlet() + { + foreach (var arg in this.Arguments) + { + this.job.Arguments.Add(arg); + } + + foreach (var cmdenv in this.CommandEnvironment) + { + this.job.CommandEnvironment.Add(cmdenv); + } + + foreach (KeyValuePair define in this.Defines) + { + this.job.Defines.Add(define.Key, define.Value); + } + + WriteObject(job); + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/StartAzureHDInsightJobCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/StartAzureHDInsightJobCommand.cs new file mode 100644 index 000000000000..89a1c29775ce --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/StartAzureHDInsightJobCommand.cs @@ -0,0 +1,83 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Commands.HDInsight.Commands; +using Microsoft.Azure.Commands.HDInsight.Models; +using Microsoft.Azure.Management.HDInsight.Job.Models; + +namespace Microsoft.Azure.Commands.HDInsight +{ + [Cmdlet(VerbsLifecycle.Start, + Constants.CommandNames.AzureHDInsightJob), + OutputType(typeof(AzureHDInsightJob))] + public class StartAzureHDInsightJobCommand : HDInsightCmdletBase + { + [Parameter(Mandatory = true, + Position = 0, + HelpMessage = "The jobDetails definition to start on the Azure HDInsight cluster.", + ValueFromPipeline = true)] + public AzureHDInsightJobDefinition JobDefinition { get; set; } + + public override async void ExecuteCmdlet() + { + if (string.IsNullOrEmpty(this.JobDefinition.StatusFolder)) + { + this.JobDefinition.StatusFolder = Guid.NewGuid().ToString(); + } + + JobSubmissionResponse jobCreationResults = null; + + var azureMapReduceJobDefinition = this.JobDefinition as AzureHDInsightMapReduceJobDefinition; + var azureHiveJobDefinition = this.JobDefinition as AzureHDInsightHiveJobDefinition; + var azurePigJobDefinition = this.JobDefinition as AzureHDInsightPigJobDefinition; + var azureStreamingJobDefinition = this.JobDefinition as AzureHDInsightStreamingMapReduceJobDefinition; + var azureSqoopJobDefinition = this.JobDefinition as AzureHDInsightSqoopJobDefinition; + + if (azureMapReduceJobDefinition != null) + { + jobCreationResults = await this.HDInsightJobClient.SubmitMRJob(azureMapReduceJobDefinition); + } + else if (azureHiveJobDefinition != null) + { + jobCreationResults = await this.HDInsightJobClient.SubmitHiveJob(azureHiveJobDefinition); + } + else if (azurePigJobDefinition != null) + { + jobCreationResults = await this.HDInsightJobClient.SubmitPigJob(azurePigJobDefinition); + } + else if (azureSqoopJobDefinition != null) + { + jobCreationResults = await this.HDInsightJobClient.SubmitSqoopJob(azureSqoopJobDefinition); + } + else if (azureStreamingJobDefinition != null) + { + jobCreationResults = await this.HDInsightJobClient.SubmitStreamingJob(azureStreamingJobDefinition); + } + else + { + throw new NotSupportedException( + string.Format(CultureInfo.InvariantCulture, "Cannot start jobDetails of type : {0}.", this.JobDefinition.GetType())); + } + + var startedJob = await this.HDInsightJobClient.GetJob(jobCreationResults.JobSubmissionJsonResponse.Id); + + var jobDetail = new AzureHDInsightJob(startedJob.JobDetail, this.HDInsightJobClient.ClusterName); + + WriteObject(jobDetail); + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/StopAzureHDInsightJobCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/StopAzureHDInsightJobCommand.cs new file mode 100644 index 000000000000..eb4516e41613 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/StopAzureHDInsightJobCommand.cs @@ -0,0 +1,39 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using Microsoft.Azure.Commands.HDInsight.Commands; +using Microsoft.Azure.Commands.HDInsight.Models; + +namespace Microsoft.Azure.Commands.HDInsight +{ + [Cmdlet(VerbsLifecycle.Stop, + Constants.CommandNames.AzureHDInsightJob), + OutputType(typeof(AzureHDInsightJob))] + public class StopAzureHDInsightJobCommand : HDInsightCmdletBase + { + [Parameter(Mandatory = true, + Position = 0, + HelpMessage = "The JobID of the jobDetails to stop.", + ValueFromPipeline = true)] + public string JobId { get; set; } + + public override async void ExecuteCmdlet() + { + var job = await this.HDInsightJobClient.StopJob(this.JobId); + var jobDetail = new AzureHDInsightJob(job.JobDetail, this.HDInsightJobClient.ClusterName); + WriteObject(jobDetail); + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightConfigValuesCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightConfigValuesCommand.cs index be9b8bfecf7d..87339ce3eb59 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightConfigValuesCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightConfigValuesCommand.cs @@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.HDInsight { [Cmdlet( VerbsCommon.Add, - Constants.ManagementCommandNames.AzureHDInsightConfigValues), + Constants.CommandNames.AzureHDInsightConfigValues), OutputType( typeof(AzureHDInsightConfig))] public class AddAzureHDInsightConfigValuesCommand : HDInsightCmdletBase diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightMetastoreCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightMetastoreCommand.cs index ef16982da553..0c02438fb796 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightMetastoreCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightMetastoreCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.HDInsight { [Cmdlet( VerbsCommon.Add, - Constants.ManagementCommandNames.AzureHDInsightMetastore), + Constants.CommandNames.AzureHDInsightMetastore), OutputType( typeof(AzureHDInsightConfig))] public class AddAzureHDInsightMetastoreCommand : HDInsightCmdletBase diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightScriptActionCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightScriptActionCommand.cs index b783f0ed6d9d..662cba080a3c 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightScriptActionCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightScriptActionCommand.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.HDInsight { [Cmdlet( VerbsCommon.Add, - Constants.ManagementCommandNames.AzureHDInsightScriptAction), + Constants.CommandNames.AzureHDInsightScriptAction), OutputType(typeof(AzureHDInsightConfig))] public class AddAzureHDInsightScriptActionCommand : HDInsightCmdletBase { diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightStorageCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightStorageCommand.cs index 54a50bb69ee3..2c71aba40c50 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightStorageCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightStorageCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.HDInsight { [Cmdlet( VerbsCommon.Add, - Constants.ManagementCommandNames.AzureHDInsightStorage), + Constants.CommandNames.AzureHDInsightStorage), OutputType(typeof(AzureHDInsightConfig))] public class AddAzureHDInsightStorageCommand : HDInsightCmdletBase { diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GetAzureHDInsightClusterCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GetAzureHDInsightClusterCommand.cs index 11f595151b90..738e957dbfa7 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GetAzureHDInsightClusterCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GetAzureHDInsightClusterCommand.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.HDInsight { [Cmdlet( VerbsCommon.Get, - Constants.ManagementCommandNames.AzureHDInsightCluster), + Constants.CommandNames.AzureHDInsightCluster), OutputType( typeof(List))] public class GetAzureHDInsightCommand : HDInsightCmdletBase diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GetAzureHDInsightPropertiesCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GetAzureHDInsightPropertiesCommand.cs index e889c787d7df..a19b013c1f91 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GetAzureHDInsightPropertiesCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GetAzureHDInsightPropertiesCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.HDInsight { [Cmdlet( VerbsCommon.Get, - Constants.ManagementCommandNames.AzureHDInsightProperties), + Constants.CommandNames.AzureHDInsightProperties), OutputType( typeof(CapabilitiesResponse))] public class GetAzureHDInsightPropertiesCommand : HDInsightCmdletBase diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GrantAzureHDInsightHttpServicesAccessCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GrantAzureHDInsightHttpServicesAccessCommand.cs index 328c539bc9ab..d2aa889175fc 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GrantAzureHDInsightHttpServicesAccessCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GrantAzureHDInsightHttpServicesAccessCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.HDInsight { [Cmdlet( VerbsSecurity.Grant, - Constants.ManagementCommandNames.AzureHDInsightHttpServicesAccess), + Constants.CommandNames.AzureHDInsightHttpServicesAccess), OutputType( typeof(void))] public class GrantAzureHDInsightHttpServicesAccessCommand : HDInsightCmdletBase diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GrantAzureHDInsightRdpServicesAccessCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GrantAzureHDInsightRdpServicesAccessCommand.cs index 52debcbb18a8..535d1c85ce13 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GrantAzureHDInsightRdpServicesAccessCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GrantAzureHDInsightRdpServicesAccessCommand.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.HDInsight { [Cmdlet( VerbsSecurity.Grant, - Constants.ManagementCommandNames.AzureHDInsightRdpServicesAccess), + Constants.CommandNames.AzureHDInsightRdpServicesAccess), OutputType( typeof(void))] public class GrantAzureHDInsightRdpServicesAccessCommand : HDInsightCmdletBase diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterCommand.cs index 1795121b7b03..e76c17a591b9 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterCommand.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.HDInsight { [Cmdlet( VerbsCommon.New, - Constants.ManagementCommandNames.AzureHDInsightCluster), + Constants.CommandNames.AzureHDInsightCluster), OutputType( typeof(ClusterGetResponse))] public class NewAzureHDInsightCommand : HDInsightCmdletBase diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterConfigCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterConfigCommand.cs index 66180eb8015c..d4ce22495599 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterConfigCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterConfigCommand.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.HDInsight { [Cmdlet( VerbsCommon.New, - Constants.ManagementCommandNames.AzureHDInsightClusterConfig), + Constants.CommandNames.AzureHDInsightClusterConfig), OutputType( typeof(AzureHDInsightConfig))] public class NewAzureHDInsightClusterConfigCommand : HDInsightCmdletBase diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/RemoveAzureHDInsightClusterCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/RemoveAzureHDInsightClusterCommand.cs index caa558dcb2a8..5c194e05a1e4 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/RemoveAzureHDInsightClusterCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/RemoveAzureHDInsightClusterCommand.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.HDInsight { [Cmdlet( VerbsCommon.Remove, - Constants.ManagementCommandNames.AzureHDInsightCluster), + Constants.CommandNames.AzureHDInsightCluster), OutputType( typeof(ClusterGetResponse))] public class RemoveAzureHDInsightCommand : HDInsightCmdletBase diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/RevokeAzureHDInsightHttpServicesAccessCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/RevokeAzureHDInsightHttpServicesAccessCommand.cs index d81b2c1df440..aaf290c26bd7 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/RevokeAzureHDInsightHttpServicesAccessCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/RevokeAzureHDInsightHttpServicesAccessCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.HDInsight { [Cmdlet( VerbsSecurity.Revoke, - Constants.ManagementCommandNames.AzureHDInsightHttpServicesAccess), + Constants.CommandNames.AzureHDInsightHttpServicesAccess), OutputType( typeof(void))] public class RevokeAzureHDInsightHttpServicesAccessCommand : HDInsightCmdletBase diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/RevokeAzureHDInsightRdpServicesAccessCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/RevokeAzureHDInsightRdpServicesAccessCommand.cs index 41f613704a92..08f67b18d9c4 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/RevokeAzureHDInsightRdpServicesAccessCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/RevokeAzureHDInsightRdpServicesAccessCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.HDInsight { [Cmdlet( VerbsSecurity.Revoke, - Constants.ManagementCommandNames.AzureHDInsightRdpServicesAccess), + Constants.CommandNames.AzureHDInsightRdpServicesAccess), OutputType( typeof(void))] public class RevokeAzureHDInsightRdpServicesAccessCommand : HDInsightCmdletBase diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/SetAzureHDInsightClusterSizeCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/SetAzureHDInsightClusterSizeCommand.cs index 5fba9e4310f4..ca2fcdb65ef6 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/SetAzureHDInsightClusterSizeCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/SetAzureHDInsightClusterSizeCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.HDInsight { [Cmdlet( VerbsCommon.Set, - Constants.ManagementCommandNames.AzureHDInsightClusterSize), + Constants.CommandNames.AzureHDInsightClusterSize), OutputType( typeof(ClusterGetResponse))] public class SetAzureHDInsightClusterSizeCommand : HDInsightCmdletBase diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightHiveJobDefinition.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightHiveJobDefinition.cs similarity index 93% rename from src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightHiveJobDefinition.cs rename to src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightHiveJobDefinition.cs index acc4e9a10dea..90ccb2fd171b 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightHiveJobDefinition.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightHiveJobDefinition.cs @@ -13,6 +13,7 @@ // ---------------------------------------------------------------------------------- using System.Collections.Generic; +using Microsoft.Azure.Management.HDInsight.Job.Models; namespace Microsoft.Azure.Commands.HDInsight.Models { @@ -32,7 +33,7 @@ public AzureHDInsightHiveJobDefinition() /// /// Gets the parameters for the jobDetails. /// - public IDictionary Defines { get; set; } + public IDictionary Defines { get; private set; } /// /// Gets or sets the query file to use for a hive jobDetails. diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightJob.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightJob.cs new file mode 100644 index 000000000000..fdc578bee524 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightJob.cs @@ -0,0 +1,96 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Collections.ObjectModel; +using Microsoft.Azure.Management.HDInsight.Job.Models; + +namespace Microsoft.Azure.Commands.HDInsight.Models +{ + /// + /// Provides the details of an HDInsight jobDetails when creating the jobDetails. + /// + public class AzureHDInsightJob + { + /// + /// Initializes a new instance of the AzureHDInsightJob class. + /// + /// The HDInsight jobDetails. + /// The cluster that the jobDetails was created against. + public AzureHDInsightJob(JobDetailRootJsonObject jobDetails, string cluster) + { + this.Cluster = cluster; + this.Status = jobDetails.Status; + this.Profile = jobDetails.Profile; + this.JobId = jobDetails.Id; + this.ParentId = jobDetails.ParentId; + this.PercentComplete = jobDetails.PercentComplete; + this.ExitValue = jobDetails.ExitValue; + this.User = jobDetails.User; + this.Callback = jobDetails.Callback; + this.Completed = jobDetails.Completed; + } + + /// + /// Gets or sets the cluster to which the jobDetails was submitted. + /// + public string Cluster { get; set; } + + /// + /// Gets the object containing the job status information. + /// + public Status Status { get; set; } + + /// + /// Gets the object containing the job profile information. + /// + public Profile Profile { get; set; } + + /// + /// Gets the JobId returned by the request. + /// + public string JobId { get; private set; } + + /// + /// Gets or sets the parent job ID. + /// + public string ParentId { get; set; } + + /// + /// Gets the percentage completion of the jobDetails. + /// + public string PercentComplete { get; private set; } + + /// + /// Gets the exit code for the jobDetails. + /// + public int? ExitValue { get; private set; } + + /// + /// Gets the user name of the job creator. + /// + public string User { get; private set; } + + /// + /// Gets the callback URL, if any. + /// + public object Callback { get; set; } + + /// + /// Gets a string representing completed status, for example "done". + /// + public string Completed { get; set; } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightJobDefinition.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightJobDefinition.cs similarity index 93% rename from src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightJobDefinition.cs rename to src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightJobDefinition.cs index aab246db7c89..db5fee3c6fcb 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightJobDefinition.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightJobDefinition.cs @@ -34,12 +34,12 @@ protected AzureHDInsightJobDefinition() /// /// Gets the arguments for the jobDetails. /// - public ICollection Arguments { get; set; } + public ICollection Arguments { get; private set; } /// /// Gets the resources for the jobDetails. /// - public ICollection Files { get; set; } + public ICollection Files { get; private set; } /// /// Gets or sets the status folder to use for the jobDetails. diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightMapReduceJobDefinition.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightMapReduceJobDefinition.cs new file mode 100644 index 000000000000..467cd1b79021 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightMapReduceJobDefinition.cs @@ -0,0 +1,58 @@ +// ---------------------------------------------------------------------------------- +// +// 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; + +namespace Microsoft.Azure.Commands.HDInsight.Models +{ + /// + /// Provides creation details for a new MapReduce jobDetails. + /// + public class AzureHDInsightMapReduceJobDefinition : AzureHDInsightJobDefinition + { + /// + /// Gets or sets the class name to use for the jobDetails. + /// + public string ClassName { get; set; } + + /// + /// Gets the parameters for the jobDetails. + /// + public IDictionary Defines { get; set; } + + /// + /// Gets or sets the jar file to use for the jobDetails. + /// + public string JarFile { get; set; } + + /// + /// Gets or sets the name of the jobDetails. + /// + public string JobName { get; set; } + + /// + /// Gets the libjars to use for the jobDetails. + /// + public ICollection LibJars { get; set; } + + /// + /// Initializes a new instance of the AzureHDInsightMapReduceJobDefinition class. + /// + public AzureHDInsightMapReduceJobDefinition() + { + this.LibJars = new List(); + this.Defines = new Dictionary(); + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHdInsightJobManagementClient.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightPigJobDefinition.cs similarity index 57% rename from src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHdInsightJobManagementClient.cs rename to src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightPigJobDefinition.cs index 78eaabb10532..678b1f9dfdaa 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHdInsightJobManagementClient.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightPigJobDefinition.cs @@ -12,25 +12,21 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using Microsoft.Azure.Common.Authentication; -using Microsoft.Azure.Common.Authentication.Models; -using Microsoft.Azure.Management.HDInsight.Job; - namespace Microsoft.Azure.Commands.HDInsight.Models { - public class AzureHdInsightJobManagementClient + /// + /// Provides creation details for a new Pig jobDetails. + /// + public class AzureHDInsightPigJobDefinition : AzureHDInsightJobDefinition { - public AzureHdInsightJobManagementClient(AzureContext context) - { - HdInsightJobManagementClient = AzureSession.ClientFactory.CreateClient(context, AzureEnvironment.Endpoint.ResourceManager); - } - /// - /// Parameterless constructor for mocking + /// Gets or sets the query file to use for a pig jobDetails. /// - public AzureHdInsightJobManagementClient() { } - - private IHDInsightJobManagementClient HdInsightJobManagementClient { get; set; } + public string File { get; set; } + /// + /// Gets or sets the query to use for a pig jobDetails. + /// + public string Query { get; set; } } } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightSqoopJobDefinition.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightSqoopJobDefinition.cs new file mode 100644 index 000000000000..0771132eaaad --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightSqoopJobDefinition.cs @@ -0,0 +1,32 @@ +// ---------------------------------------------------------------------------------- +// +// 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.HDInsight.Models +{ + /// + /// Provides creation details for a new Sqoop jobDetails. + /// + public class AzureHDInsightSqoopJobDefinition : AzureHDInsightJobDefinition + { + /// + /// Gets or sets the Command to use for a sqoop job. + /// + public string Command { get; set; } + + /// + /// Gets or sets the query file to use for a sqoop job. + /// + public string File { get; set; } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightStreamingMapReduceJobDefinition.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightStreamingMapReduceJobDefinition.cs new file mode 100644 index 000000000000..6c3b8910160c --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightStreamingMapReduceJobDefinition.cs @@ -0,0 +1,69 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Collections.ObjectModel; + +namespace Microsoft.Azure.Commands.HDInsight.Models +{ + /// + /// Provides creation details for a new Streaming jobDetails. + /// + public class AzureHDInsightStreamingMapReduceJobDefinition : AzureHDInsightJobDefinition + { + /// + /// Gets or sets the location of the input data in Hadoop. + /// + public string Input { get; set; } + + /// + /// Gets or sets the Location in which to store the output data. + /// + public string Output { get; set; } + + /// + /// Gets or sets the Mapper. + /// + public string Mapper { get; set; } + + /// + /// Gets or sets the Reducer. + /// + public string Reducer { get; set; } + + /// + /// Gets or sets an HDFS file to add to the distributed cache. + /// + public string File { get; set; } + + /// + /// Gets the parameters for the jobDetails. + /// + public IDictionary Defines { get; private set; } + + /// + /// Gets the command line environment for the mappers or the reducers. + /// + public ICollection CommandEnvironment { get; private set; } + + /// + /// Initializes a new instance of the AzureHDInsightStreamingMapReduceJobDefinition class. + /// + public AzureHDInsightStreamingMapReduceJobDefinition() + { + this.CommandEnvironment = new Collection(); + this.Defines = new Dictionary(); + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHdInsightJobManagementClient.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHdInsightJobManagementClient.cs new file mode 100644 index 000000000000..abaebbc22086 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHdInsightJobManagementClient.cs @@ -0,0 +1,129 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Threading.Tasks; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; +using Microsoft.Azure.Management.HDInsight.Job; +using Microsoft.Azure.Management.HDInsight.Job.Models; + +namespace Microsoft.Azure.Commands.HDInsight.Models +{ + public class AzureHdInsightJobManagementClient + { + public AzureHdInsightJobManagementClient(AzureContext context) + { + HdInsightJobManagementClient = AzureSession.ClientFactory.CreateClient(context, AzureEnvironment.Endpoint.ResourceManager); + } + + /// + /// Parameterless constructor for mocking + /// + public AzureHdInsightJobManagementClient() { } + + private IHDInsightJobManagementClient HdInsightJobManagementClient { get; set; } + + public string ClusterName { get { return this.HdInsightJobManagementClient.ClusterDnsName; } } + + public Task SubmitHiveJob(AzureHDInsightHiveJobDefinition hiveJobDef) + { + var hiveJobParams = new HiveJobSubmissionParameters + { + Arguments = hiveJobDef.Arguments.ToString(), + Defines = hiveJobDef.Defines.ToString(), + File = hiveJobDef.File, + Files = hiveJobDef.Files.ToString(), + Query = hiveJobDef.Query, + StatusDir = hiveJobDef.StatusFolder + }; + hiveJobParams.UserName = this.HdInsightJobManagementClient.Credentials.Username; + + return this.HdInsightJobManagementClient.JobManagement.SubmitHiveJobAsync(hiveJobParams); + } + + public Task SubmitMRJob(AzureHDInsightMapReduceJobDefinition mapredJobDef) + { + var mapredJobParams = new MapReduceJobSubmissionParameters + { + Arguments = mapredJobDef.Arguments.ToString(), + Defines = mapredJobDef.Defines.ToString(), + Files = mapredJobDef.Files.ToString(), + JarClass = mapredJobDef.ClassName, + LibJars = mapredJobDef.LibJars.ToString(), + JarFile = mapredJobDef.JarFile, + StatusDir = mapredJobDef.StatusFolder, + UserName = this.HdInsightJobManagementClient.Credentials.Username + }; + + return this.HdInsightJobManagementClient.JobManagement.SubmitMapReduceJobAsync(mapredJobParams); + } + + public Task SubmitPigJob(AzureHDInsightPigJobDefinition pigJobDef) + { + var pigJobParams = new PigJobSubmissionParameters + { + Arguments = pigJobDef.Arguments.ToString(), + Files = pigJobDef.Files.ToString(), + StatusDir = pigJobDef.StatusFolder, + File = pigJobDef.File, + Query = pigJobDef.Query, + UserName = this.HdInsightJobManagementClient.Credentials.Username + }; + + return this.HdInsightJobManagementClient.JobManagement.SubmitPigJobAsync(pigJobParams); + } + + public Task SubmitSqoopJob(AzureHDInsightSqoopJobDefinition sqoopJobDef) + { + throw new NotImplementedException(); + } + + public Task SubmitStreamingJob( + AzureHDInsightStreamingMapReduceJobDefinition streamingJobDef) + { + var streamingJobParams = new MapReduceStreamingJobSubmissionParameters + { + Input = streamingJobDef.Input, + Output = streamingJobDef.Output, + Mapper = streamingJobDef.Mapper, + Reducer = streamingJobDef.Reducer, + File = streamingJobDef.File, + Defines = streamingJobDef.Defines.ToString(), + CmdEnv = streamingJobDef.CommandEnvironment.ToString(), + Arguments = streamingJobDef.Arguments.ToString(), + StatusDir = streamingJobDef.StatusFolder, + UserName = this.HdInsightJobManagementClient.Credentials.Username + }; + + return this.HdInsightJobManagementClient.JobManagement.SubmitMapReduceStreamingJobAsync(streamingJobParams); + } + + public Task GetJob(string jobId) + { + return this.HdInsightJobManagementClient.JobManagement.GetJobAsync(jobId); + } + + public Task ListJobs() + { + return this.HdInsightJobManagementClient.JobManagement.ListJobsAsync(); + } + + public Task StopJob(string jobId) + { + throw new NotImplementedException(); + } + + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightConfig.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHDInsightConfig.cs similarity index 100% rename from src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightConfig.cs rename to src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHDInsightConfig.cs diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightMetastore.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHDInsightMetastore.cs similarity index 100% rename from src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightMetastore.cs rename to src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHDInsightMetastore.cs diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightMetastoreType.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHDInsightMetastoreType.cs similarity index 100% rename from src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightMetastoreType.cs rename to src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHDInsightMetastoreType.cs diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHdInsightManagementClient.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHdInsightManagementClient.cs similarity index 100% rename from src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHdInsightManagementClient.cs rename to src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHdInsightManagementClient.cs From 648a65f925e41bcb83d36e52a58e687adbe0aa1b Mon Sep 17 00:00:00 2001 From: Shefali Date: Thu, 21 May 2015 23:38:04 -0700 Subject: [PATCH 13/38] fixing cmdlets --- .../Commands.HDInsight.csproj | 1 + .../GetAzureHDInsightJobCommand.cs | 8 +- ...wAzureHDInsightHiveJobDefinitionCommand.cs | 38 +-- ...eHDInsightMapReduceJobDefinitionCommand.cs | 40 +-- ...ewAzureHDInsightPigJobDefinitionCommand.cs | 27 +-- ...AzureHDInsightSqoopJobDefinitionCommand.cs | 27 +-- ...tStreamingMapReduceJobDefinitionCommand.cs | 42 ++-- .../StartAzureHDInsightJobCommand.cs | 30 +-- .../StopAzureHDInsightJobCommand.cs | 4 +- .../AddAzureHDInsightConfigValuesCommand.cs | 60 +++-- .../AddAzureHDInsightMetastoreCommand.cs | 20 +- .../AddAzureHDInsightScriptActionCommand.cs | 22 +- .../AddAzureHDInsightStorageCommand.cs | 4 +- .../GetAzureHDInsightClusterCommand.cs | 11 +- ...AzureHDInsightHttpServicesAccessCommand.cs | 8 +- ...tAzureHDInsightRdpServicesAccessCommand.cs | 7 +- .../ManagementCommands/HDInsightCmdletBase.cs | 14 +- .../NewAzureHDInsightClusterCommand.cs | 229 +++++++++++------- .../NewAzureHDInsightClusterConfigCommand.cs | 34 +-- .../RemoveAzureHDInsightClusterCommand.cs | 3 +- ...AzureHDInsightHttpServicesAccessCommand.cs | 3 +- .../SetAzureHDInsightClusterSizeCommand.cs | 33 ++- .../Job/AzureHDInsightHiveJobDefinition.cs | 2 +- .../Models/Job/AzureHDInsightJob.cs | 23 +- .../Models/Job/AzureHDInsightJobDefinition.cs | 4 +- .../AzureHDInsightMapReduceJobDefinition.cs | 4 +- ...DInsightStreamingMapReduceJobDefinition.cs | 4 +- .../Job/AzureHdInsightJobManagementClient.cs | 24 +- .../Management/AzureHDInsightCluster.cs | 73 ++++++ .../Models/Management/AzureHDInsightConfig.cs | 49 ++-- .../AzureHdInsightManagementClient.cs | 31 ++- 31 files changed, 521 insertions(+), 358 deletions(-) create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHDInsightCluster.cs diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj index 834c1e2bc54a..2bef5d83e64d 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj @@ -65,6 +65,7 @@ + diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/GetAzureHDInsightJobCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/GetAzureHDInsightJobCommand.cs index 0435698ff7b6..c83f63bd597f 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/GetAzureHDInsightJobCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/GetAzureHDInsightJobCommand.cs @@ -30,15 +30,15 @@ public class GetAzureHDInsightJobCommand : HDInsightCmdletBase public override async void ExecuteCmdlet() { - if (this.JobId != null) + if (JobId != null) { - var job = await this.HDInsightJobClient.GetJob(this.JobId); - var jobDetails = new AzureHDInsightJob(job.JobDetail, this.HDInsightJobClient.ClusterName); + var job = await HDInsightJobClient.GetJob(JobId); + var jobDetails = new AzureHDInsightJob(job.JobDetail, HDInsightJobClient.ClusterName); WriteObject(jobDetails); } else { - var jobs = await this.HDInsightJobClient.ListJobs(); + var jobs = await HDInsightJobClient.ListJobs(); WriteObject(jobs, true); } } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightHiveJobDefinitionCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightHiveJobDefinitionCommand.cs index 2a0aef92d69b..f6cd585cfa92 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightHiveJobDefinitionCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightHiveJobDefinitionCommand.cs @@ -40,8 +40,8 @@ public class NewAzureHDInsightHiveJobDefinitionCommand : HDInsightCmdletBase [Parameter(HelpMessage = "The output location to use for the job.")] public string StatusFolder { - get { return this.job.StatusFolder; } - set { this.job.StatusFolder = value; } + get { return job.StatusFolder; } + set { job.StatusFolder = value; } } [Parameter(HelpMessage = "The parameters for the jobDetails.")] @@ -50,56 +50,56 @@ public string StatusFolder [Parameter(HelpMessage = "The query file to run in the jobDetails.")] public string File { - get { return this.job.File; } - set { this.job.File = value; } + get { return job.File; } + set { job.File = value; } } [Parameter(HelpMessage = "The name of the jobDetails.")] public string JobName { - get { return this.job.JobName; } - set { this.job.JobName = value; } + get { return job.JobName; } + set { job.JobName = value; } } [Parameter(HelpMessage = "The query to run in the jobDetails.")] public string Query { - get { return this.job.Query; } - set { this.job.Query = value; } + get { return job.Query; } + set { job.Query = value; } } [Parameter(HelpMessage = "Run the query as a file.")] public SwitchParameter RunAsFileJob { - get { return this.job.RunAsFileJob; } - set { this.job.RunAsFileJob = value; } + get { return job.RunAsFileJob; } + set { job.RunAsFileJob = value; } } #endregion public NewAzureHDInsightHiveJobDefinitionCommand() { - this.Arguments = new string[] {}; - this.Files = new string[] { }; - this.Defines = new Hashtable(); + Arguments = new string[] {}; + Files = new string[] { }; + Defines = new Hashtable(); job = new AzureHDInsightHiveJobDefinition(); } public override void ExecuteCmdlet() { - foreach (var arg in this.Arguments) + foreach (var arg in Arguments) { - this.job.Arguments.Add(arg); + job.Arguments.Add(arg); } - foreach (var file in this.Files) + foreach (var file in Files) { - this.job.Files.Add(file); + job.Files.Add(file); } - foreach (KeyValuePair define in this.Defines) + foreach (KeyValuePair define in Defines) { - this.job.Defines.Add(define.Key, define.Value); + job.Defines.Add(define.Key, define.Value); } WriteObject(job); diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightMapReduceJobDefinitionCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightMapReduceJobDefinitionCommand.cs index a2ad9410c022..4bae51fe7a56 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightMapReduceJobDefinitionCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightMapReduceJobDefinitionCommand.cs @@ -40,15 +40,15 @@ public class NewAzureHDInsightMapReduceJobDefinitionCommand : HDInsightCmdletBas [Parameter(HelpMessage = "The output location to use for the job.")] public string StatusFolder { - get { return this.job.StatusFolder; } - set { this.job.StatusFolder = value; } + get { return job.StatusFolder; } + set { job.StatusFolder = value; } } [Parameter(Mandatory = true, HelpMessage = "The class name to use for the jobDetails.")] public string ClassName { - get { return this.job.ClassName; } - set { this.job.ClassName = value; } + get { return job.ClassName; } + set { job.ClassName = value; } } [Parameter(HelpMessage = "The parameters for the jobDetails.")] @@ -57,15 +57,15 @@ public string ClassName [Parameter(Mandatory = true, HelpMessage = "The jar file to use for the jobDetails.")] public string JarFile { - get { return this.job.JarFile; } - set { this.job.JarFile = value; } + get { return job.JarFile; } + set { job.JarFile = value; } } [Parameter(HelpMessage = "The name of the jobDetails.")] public string JobName { - get { return this.job.JobName; } - set { this.job.JobName = value; } + get { return job.JobName; } + set { job.JobName = value; } } [Parameter(HelpMessage = "The lib jars for the jobDetails.")] @@ -75,33 +75,33 @@ public string JobName public NewAzureHDInsightMapReduceJobDefinitionCommand() { - this.Arguments = new string[] { }; - this.Files = new string[] { }; - this.Defines = new Hashtable(); - this.LibJars = new string[] { }; + Arguments = new string[] { }; + Files = new string[] { }; + Defines = new Hashtable(); + LibJars = new string[] { }; job = new AzureHDInsightMapReduceJobDefinition(); } public override void ExecuteCmdlet() { - foreach (var arg in this.Arguments) + foreach (var arg in Arguments) { - this.job.Arguments.Add(arg); + job.Arguments.Add(arg); } - foreach (var file in this.Files) + foreach (var file in Files) { - this.job.Files.Add(file); + job.Files.Add(file); } - foreach (KeyValuePair define in this.Defines) + foreach (KeyValuePair define in Defines) { - this.job.Defines.Add(define.Key, define.Value); + job.Defines.Add(define.Key, define.Value); } - foreach (var libjar in this.LibJars) + foreach (var libjar in LibJars) { - this.job.LibJars.Add(libjar); + job.LibJars.Add(libjar); } WriteObject(job); diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightPigJobDefinitionCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightPigJobDefinitionCommand.cs index 0e263aabcb0e..16e0303903fc 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightPigJobDefinitionCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightPigJobDefinitionCommand.cs @@ -12,7 +12,6 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using System.Collections.Generic; using System.Management.Automation; using Microsoft.Azure.Commands.HDInsight.Commands; using Microsoft.Azure.Commands.HDInsight.Models; @@ -39,46 +38,46 @@ public class NewAzureHDInsightPigJobDefinitionCommand : HDInsightCmdletBase [Parameter(HelpMessage = "The output location to use for the job.")] public string StatusFolder { - get { return this.job.StatusFolder; } - set { this.job.StatusFolder = value; } + get { return job.StatusFolder; } + set { job.StatusFolder = value; } } [Parameter(HelpMessage = "The query file to run in the jobDetails.")] public string File { - get { return this.job.File; } - set { this.job.File = value; } + get { return job.File; } + set { job.File = value; } } [Parameter(HelpMessage = "The query to run in the jobDetails.")] public string Query { - get { return this.job.Query; } - set { this.job.Query = value; } + get { return job.Query; } + set { job.Query = value; } } #endregion public NewAzureHDInsightPigJobDefinitionCommand() { - this.Arguments = new string[] { }; - this.Files = new string[] { }; + Arguments = new string[] { }; + Files = new string[] { }; job = new AzureHDInsightPigJobDefinition(); } public override void ExecuteCmdlet() { - foreach (var arg in this.Arguments) + foreach (var arg in Arguments) { - this.job.Arguments.Add(arg); + job.Arguments.Add(arg); } - foreach (var file in this.Files) + foreach (var file in Files) { - this.job.Files.Add(file); + job.Files.Add(file); } WriteObject(job); } } -} +} \ No newline at end of file diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightSqoopJobDefinitionCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightSqoopJobDefinitionCommand.cs index 39705dc453c3..a26f35bdc807 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightSqoopJobDefinitionCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightSqoopJobDefinitionCommand.cs @@ -12,7 +12,6 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using System.Collections.Generic; using System.Management.Automation; using Microsoft.Azure.Commands.HDInsight.Commands; using Microsoft.Azure.Commands.HDInsight.Models; @@ -23,7 +22,7 @@ namespace Microsoft.Azure.Commands.HDInsight VerbsCommon.New, Constants.JobDefinitions.AzureHDInsightSqoopJobDefinition), OutputType( - typeof(AzureHDInsightPigJobDefinition))] + typeof(AzureHDInsightSqoopJobDefinition))] public class NewAzureHDInsightSqoopJobDefinitionCommand : HDInsightCmdletBase { private AzureHDInsightSqoopJobDefinition job; @@ -39,43 +38,43 @@ public class NewAzureHDInsightSqoopJobDefinitionCommand : HDInsightCmdletBase [Parameter(HelpMessage = "The output location to use for the job.")] public string StatusFolder { - get { return this.job.StatusFolder; } - set { this.job.StatusFolder = value; } + get { return job.StatusFolder; } + set { job.StatusFolder = value; } } [Parameter(Mandatory = false, HelpMessage = "The command to run in the sqoop job.")] public string Command { - get { return this.job.Command; } - set { this.job.Command = value; } + get { return job.Command; } + set { job.Command = value; } } [Parameter(HelpMessage = "The query file to run in the jobDetails.")] public string File { - get { return this.job.File; } - set { this.job.File = value; } + get { return job.File; } + set { job.File = value; } } #endregion public NewAzureHDInsightSqoopJobDefinitionCommand() { - this.Arguments = new string[] { }; - this.Files = new string[] { }; + Arguments = new string[] { }; + Files = new string[] { }; job = new AzureHDInsightSqoopJobDefinition(); } public override void ExecuteCmdlet() { - foreach (var arg in this.Arguments) + foreach (var arg in Arguments) { - this.job.Arguments.Add(arg); + job.Arguments.Add(arg); } - foreach (var file in this.Files) + foreach (var file in Files) { - this.job.Files.Add(file); + job.Files.Add(file); } WriteObject(job); diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightStreamingMapReduceJobDefinitionCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightStreamingMapReduceJobDefinitionCommand.cs index 7582f964e826..a63152c716d3 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightStreamingMapReduceJobDefinitionCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightStreamingMapReduceJobDefinitionCommand.cs @@ -37,15 +37,15 @@ public class NewAzureHDInsightStreamingMapReduceJobDefinitionCommand : HDInsight [Parameter(HelpMessage = "The file for the jobDetails.")] public string File { - get { return this.job.File; } - set { this.job.File = value; } + get { return job.File; } + set { job.File = value; } } [Parameter(HelpMessage = "The output location to use for the job.")] public string StatusFolder { - get { return this.job.StatusFolder; } - set { this.job.StatusFolder = value; } + get { return job.StatusFolder; } + set { job.StatusFolder = value; } } [Parameter(HelpMessage = "The command line environment for the mappers or the reducers.")] @@ -58,56 +58,56 @@ public string StatusFolder HelpMessage = "The input path to use for the jobDetails.")] public string InputPath { - get { return this.job.Input; } - set { this.job.Input = value; } + get { return job.Input; } + set { job.Input = value; } } [Parameter(HelpMessage = "The Mapper to use for the jobDetails.")] public string Mapper { - get { return this.job.Mapper; } - set { this.job.Mapper = value; } + get { return job.Mapper; } + set { job.Mapper = value; } } [Parameter(HelpMessage = "The output path to use for the jobDetails.")] public string OutputPath { - get { return this.job.Output; } - set { this.job.Output = value; } + get { return job.Output; } + set { job.Output = value; } } [Parameter(HelpMessage = "The Reducer to use for the jobDetails.")] public string Reducer { - get { return this.job.Reducer; } - set { this.job.Reducer = value; } + get { return job.Reducer; } + set { job.Reducer = value; } } #endregion public NewAzureHDInsightStreamingMapReduceJobDefinitionCommand() { - this.Arguments = new string[] {}; - this.CommandEnvironment = new string[] {}; - this.Defines = new Hashtable(); + Arguments = new string[] {}; + CommandEnvironment = new string[] {}; + Defines = new Hashtable(); job = new AzureHDInsightStreamingMapReduceJobDefinition(); } public override void ExecuteCmdlet() { - foreach (var arg in this.Arguments) + foreach (var arg in Arguments) { - this.job.Arguments.Add(arg); + job.Arguments.Add(arg); } - foreach (var cmdenv in this.CommandEnvironment) + foreach (var cmdenv in CommandEnvironment) { - this.job.CommandEnvironment.Add(cmdenv); + job.CommandEnvironment.Add(cmdenv); } - foreach (KeyValuePair define in this.Defines) + foreach (KeyValuePair define in Defines) { - this.job.Defines.Add(define.Key, define.Value); + job.Defines.Add(define.Key, define.Value); } WriteObject(job); diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/StartAzureHDInsightJobCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/StartAzureHDInsightJobCommand.cs index 89a1c29775ce..38322d807fba 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/StartAzureHDInsightJobCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/StartAzureHDInsightJobCommand.cs @@ -34,48 +34,48 @@ public class StartAzureHDInsightJobCommand : HDInsightCmdletBase public override async void ExecuteCmdlet() { - if (string.IsNullOrEmpty(this.JobDefinition.StatusFolder)) + if (string.IsNullOrEmpty(JobDefinition.StatusFolder)) { - this.JobDefinition.StatusFolder = Guid.NewGuid().ToString(); + JobDefinition.StatusFolder = Guid.NewGuid().ToString(); } JobSubmissionResponse jobCreationResults = null; - var azureMapReduceJobDefinition = this.JobDefinition as AzureHDInsightMapReduceJobDefinition; - var azureHiveJobDefinition = this.JobDefinition as AzureHDInsightHiveJobDefinition; - var azurePigJobDefinition = this.JobDefinition as AzureHDInsightPigJobDefinition; - var azureStreamingJobDefinition = this.JobDefinition as AzureHDInsightStreamingMapReduceJobDefinition; - var azureSqoopJobDefinition = this.JobDefinition as AzureHDInsightSqoopJobDefinition; + var azureMapReduceJobDefinition = JobDefinition as AzureHDInsightMapReduceJobDefinition; + var azureHiveJobDefinition = JobDefinition as AzureHDInsightHiveJobDefinition; + var azurePigJobDefinition = JobDefinition as AzureHDInsightPigJobDefinition; + var azureStreamingJobDefinition = JobDefinition as AzureHDInsightStreamingMapReduceJobDefinition; + var azureSqoopJobDefinition = JobDefinition as AzureHDInsightSqoopJobDefinition; if (azureMapReduceJobDefinition != null) { - jobCreationResults = await this.HDInsightJobClient.SubmitMRJob(azureMapReduceJobDefinition); + jobCreationResults = await HDInsightJobClient.SubmitMRJob(azureMapReduceJobDefinition); } else if (azureHiveJobDefinition != null) { - jobCreationResults = await this.HDInsightJobClient.SubmitHiveJob(azureHiveJobDefinition); + jobCreationResults = await HDInsightJobClient.SubmitHiveJob(azureHiveJobDefinition); } else if (azurePigJobDefinition != null) { - jobCreationResults = await this.HDInsightJobClient.SubmitPigJob(azurePigJobDefinition); + jobCreationResults = await HDInsightJobClient.SubmitPigJob(azurePigJobDefinition); } else if (azureSqoopJobDefinition != null) { - jobCreationResults = await this.HDInsightJobClient.SubmitSqoopJob(azureSqoopJobDefinition); + jobCreationResults = await HDInsightJobClient.SubmitSqoopJob(azureSqoopJobDefinition); } else if (azureStreamingJobDefinition != null) { - jobCreationResults = await this.HDInsightJobClient.SubmitStreamingJob(azureStreamingJobDefinition); + jobCreationResults = await HDInsightJobClient.SubmitStreamingJob(azureStreamingJobDefinition); } else { throw new NotSupportedException( - string.Format(CultureInfo.InvariantCulture, "Cannot start jobDetails of type : {0}.", this.JobDefinition.GetType())); + string.Format(CultureInfo.InvariantCulture, "Cannot start jobDetails of type : {0}.", JobDefinition.GetType())); } - var startedJob = await this.HDInsightJobClient.GetJob(jobCreationResults.JobSubmissionJsonResponse.Id); + var startedJob = await HDInsightJobClient.GetJob(jobCreationResults.JobSubmissionJsonResponse.Id); - var jobDetail = new AzureHDInsightJob(startedJob.JobDetail, this.HDInsightJobClient.ClusterName); + var jobDetail = new AzureHDInsightJob(startedJob.JobDetail, HDInsightJobClient.ClusterName); WriteObject(jobDetail); } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/StopAzureHDInsightJobCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/StopAzureHDInsightJobCommand.cs index eb4516e41613..4b95300eb70d 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/StopAzureHDInsightJobCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/StopAzureHDInsightJobCommand.cs @@ -31,8 +31,8 @@ public class StopAzureHDInsightJobCommand : HDInsightCmdletBase public override async void ExecuteCmdlet() { - var job = await this.HDInsightJobClient.StopJob(this.JobId); - var jobDetail = new AzureHDInsightJob(job.JobDetail, this.HDInsightJobClient.ClusterName); + var job = await HDInsightJobClient.StopJob(JobId); + var jobDetail = new AzureHDInsightJob(job.JobDetail, HDInsightJobClient.ClusterName); WriteObject(jobDetail); } } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightConfigValuesCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightConfigValuesCommand.cs index 87339ce3eb59..6b6fdc8243e3 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightConfigValuesCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightConfigValuesCommand.cs @@ -12,10 +12,7 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using System; -using System.Collections; using System.Collections.Generic; -using System.Diagnostics; using System.Management.Automation; using Microsoft.Azure.Commands.HDInsight.Commands; using Microsoft.Azure.Commands.HDInsight.Models; @@ -31,7 +28,8 @@ namespace Microsoft.Azure.Commands.HDInsight public class AddAzureHDInsightConfigValuesCommand : HDInsightCmdletBase { private Dictionary> _configurations; - #region Input Parameter Definitions + + #region Input Parameter Definitions [Parameter(Position = 0, Mandatory = true, @@ -82,39 +80,39 @@ public class AddAzureHDInsightConfigValuesCommand : HDInsightCmdletBase public AddAzureHDInsightConfigValuesCommand() { - this.Core = new Dictionary(); - this.HiveSite = new Dictionary(); - this.HiveEnv = new Dictionary(); - this.OozieSite = new Dictionary(); - this.OozieEnv = new Dictionary(); - this.WebHCat = new Dictionary(); - this.HBaseSite = new Dictionary(); - this.HBaseEnv = new Dictionary(); - this.Storm = new Dictionary(); - this.Yarn = new Dictionary(); - this.MapRed = new Dictionary(); - this.Tez = new Dictionary(); - this.Hdfs = new Dictionary(); + Core = new Dictionary(); + HiveSite = new Dictionary(); + HiveEnv = new Dictionary(); + OozieSite = new Dictionary(); + OozieEnv = new Dictionary(); + WebHCat = new Dictionary(); + HBaseSite = new Dictionary(); + HBaseEnv = new Dictionary(); + Storm = new Dictionary(); + Yarn = new Dictionary(); + MapRed = new Dictionary(); + Tez = new Dictionary(); + Hdfs = new Dictionary(); } public override void ExecuteCmdlet() { - var config = this.Config; + var config = Config; _configurations = config.Configurations ?? new Dictionary>(); - AddConfigToConfigurations(this.Core, ConfigurationKey.CoreSite); - AddConfigToConfigurations(this.HiveSite, ConfigurationKey.HiveSite); - AddConfigToConfigurations(this.HiveEnv, ConfigurationKey.HiveEnv); - AddConfigToConfigurations(this.OozieSite, ConfigurationKey.OozieSite); - AddConfigToConfigurations(this.OozieEnv, ConfigurationKey.OozieEnv); - AddConfigToConfigurations(this.WebHCat, ConfigurationKey.WebHCatSite); - AddConfigToConfigurations(this.HBaseSite, ConfigurationKey.HBaseSite); - AddConfigToConfigurations(this.HBaseEnv, ConfigurationKey.HBaseEnv); - AddConfigToConfigurations(this.Storm, ConfigurationKey.StormSite); - AddConfigToConfigurations(this.Yarn, ConfigurationKey.YarnSite); - AddConfigToConfigurations(this.MapRed, ConfigurationKey.MapRedSite); - AddConfigToConfigurations(this.Tez, ConfigurationKey.TezSite); - AddConfigToConfigurations(this.Hdfs, ConfigurationKey.HdfsSite); + AddConfigToConfigurations(Core, ConfigurationKey.CoreSite); + AddConfigToConfigurations(HiveSite, ConfigurationKey.HiveSite); + AddConfigToConfigurations(HiveEnv, ConfigurationKey.HiveEnv); + AddConfigToConfigurations(OozieSite, ConfigurationKey.OozieSite); + AddConfigToConfigurations(OozieEnv, ConfigurationKey.OozieEnv); + AddConfigToConfigurations(WebHCat, ConfigurationKey.WebHCatSite); + AddConfigToConfigurations(HBaseSite, ConfigurationKey.HBaseSite); + AddConfigToConfigurations(HBaseEnv, ConfigurationKey.HBaseEnv); + AddConfigToConfigurations(Storm, ConfigurationKey.StormSite); + AddConfigToConfigurations(Yarn, ConfigurationKey.YarnSite); + AddConfigToConfigurations(MapRed, ConfigurationKey.MapRedSite); + AddConfigToConfigurations(Tez, ConfigurationKey.TezSite); + AddConfigToConfigurations(Hdfs, ConfigurationKey.HdfsSite); WriteObject(_configurations); } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightMetastoreCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightMetastoreCommand.cs index 0c02438fb796..e655921500a0 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightMetastoreCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightMetastoreCommand.cs @@ -45,8 +45,8 @@ public class AddAzureHDInsightMetastoreCommand : HDInsightCmdletBase HelpMessage = "The Azure SQL Server instance to use for this metastore.")] public string SqlAzureServerName { - get { return this._metastore.SqlAzureServerName; } - set { this._metastore.SqlAzureServerName = value; } + get { return _metastore.SqlAzureServerName; } + set { _metastore.SqlAzureServerName = value; } } [Parameter(Position = 3, @@ -54,8 +54,8 @@ public string SqlAzureServerName HelpMessage = "The database on the Azure SQL Server instance to use for this metastore.")] public string DatabaseName { - get { return this._metastore.DatabaseName; } - set { this._metastore.DatabaseName = value; } + get { return _metastore.DatabaseName; } + set { _metastore.DatabaseName = value; } } [Parameter(Position = 4, @@ -63,8 +63,8 @@ public string DatabaseName HelpMessage = "The user credentials to use for the Azure SQL Server database.")] public PSCredential Credential { - get { return this._metastore.Credential; } - set { this._metastore.Credential = value; } + get { return _metastore.Credential; } + set { _metastore.Credential = value; } } #endregion @@ -76,17 +76,17 @@ public AddAzureHDInsightMetastoreCommand() public override void ExecuteCmdlet() { - switch (this.MetastoreType) + switch (MetastoreType) { case AzureHDInsightMetastoreType.HiveMetastore: - this.Config.HiveMetastore = this._metastore; + Config.HiveMetastore = _metastore; break; case AzureHDInsightMetastoreType.OozieMetastore: - this.Config.OozieMetastore = this._metastore; + Config.OozieMetastore = _metastore; break; } - WriteObject(this.Config); + WriteObject(Config); } } } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightScriptActionCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightScriptActionCommand.cs index 662cba080a3c..a8590feaa4a0 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightScriptActionCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightScriptActionCommand.cs @@ -46,8 +46,8 @@ public class AddAzureHDInsightScriptActionCommand : HDInsightCmdletBase HelpMessage = "The URI for the action.")] public Uri Uri { - get { return this._action.Uri; } - set { this._action.Uri = value; } + get { return _action.Uri; } + set { _action.Uri = value; } } [Parameter(Position = 3, @@ -55,8 +55,8 @@ public Uri Uri HelpMessage = "The name of the action.")] public string Name { - get { return this._action.Name; } - set { this._action.Name = value; } + get { return _action.Name; } + set { _action.Name = value; } } [Parameter(Position = 4, @@ -64,8 +64,8 @@ public string Name HelpMessage = "The parameters for the action.")] public string Parameters { - get { return this._action.Parameters; } - set { this._action.Parameters = value; } + get { return _action.Parameters; } + set { _action.Parameters = value; } } #endregion @@ -79,15 +79,17 @@ public override void ExecuteCmdlet() { List actions; - if (this.Config.ScriptActions.TryGetValue(this.NodeType, out actions)) + if (Config.ScriptActions.TryGetValue(NodeType, out actions)) { - actions.Add(this._action); - this.Config.ScriptActions[this.NodeType] = actions; + actions.Add(_action); + Config.ScriptActions[NodeType] = actions; } else { - this.Config.ScriptActions.Add(this.NodeType, new List {this._action}); + Config.ScriptActions.Add(NodeType, new List {_action}); } + + WriteObject(Config); } } } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightStorageCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightStorageCommand.cs index 2c71aba40c50..3f2c826a7b38 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightStorageCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/AddAzureHDInsightStorageCommand.cs @@ -46,8 +46,8 @@ public class AddAzureHDInsightStorageCommand : HDInsightCmdletBase public override void ExecuteCmdlet() { - this.Config.AdditionalStorageAccounts.Add(this.StorageAccountName, this.StorageAccountKey); - WriteObject(this.Config); + Config.AdditionalStorageAccounts.Add(StorageAccountName, StorageAccountKey); + WriteObject(Config); } } } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GetAzureHDInsightClusterCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GetAzureHDInsightClusterCommand.cs index 738e957dbfa7..0c96dbf50985 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GetAzureHDInsightClusterCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GetAzureHDInsightClusterCommand.cs @@ -13,9 +13,10 @@ // ---------------------------------------------------------------------------------- using System.Collections.Generic; +using System.Linq; using System.Management.Automation; using Microsoft.Azure.Commands.HDInsight.Commands; -using Microsoft.Azure.Management.HDInsight.Models; +using Microsoft.Azure.Commands.HDInsight.Models; namespace Microsoft.Azure.Commands.HDInsight { @@ -23,20 +24,18 @@ namespace Microsoft.Azure.Commands.HDInsight VerbsCommon.Get, Constants.CommandNames.AzureHDInsightCluster), OutputType( - typeof(List))] + typeof(List))] public class GetAzureHDInsightCommand : HDInsightCmdletBase { #region Input Parameter Definitions [Parameter( Position = 0, - Mandatory = true, HelpMessage = "Gets or sets the name of the resource group.")] public string ResourceGroupName { get; set; } [Parameter( Position = 1, - Mandatory = true, HelpMessage = "Gets or sets the name of the cluster.")] public string ClusterName { get; set; } @@ -45,8 +44,8 @@ public class GetAzureHDInsightCommand : HDInsightCmdletBase public override void ExecuteCmdlet() { var result = HDInsightManagementClient.GetCluster(ResourceGroupName, ClusterName); - - this.WriteObject(result, true); + var output = result.Select(cluster => new AzureHDInsightCluster(cluster)).ToList(); + WriteObject(output, true); } } } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GrantAzureHDInsightHttpServicesAccessCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GrantAzureHDInsightHttpServicesAccessCommand.cs index d2aa889175fc..850968a9bffe 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GrantAzureHDInsightHttpServicesAccessCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GrantAzureHDInsightHttpServicesAccessCommand.cs @@ -15,6 +15,7 @@ using System.Management.Automation; using Microsoft.Azure.Commands.HDInsight.Commands; using Microsoft.Azure.Management.HDInsight.Models; +using Microsoft.WindowsAzure.Commands.Common; namespace Microsoft.Azure.Commands.HDInsight { @@ -22,7 +23,7 @@ namespace Microsoft.Azure.Commands.HDInsight VerbsSecurity.Grant, Constants.CommandNames.AzureHDInsightHttpServicesAccess), OutputType( - typeof(void))] + typeof(HttpConnectivitySettings))] public class GrantAzureHDInsightHttpServicesAccessCommand : HDInsightCmdletBase { #region Input Parameter Definitions @@ -51,11 +52,12 @@ public override void ExecuteCmdlet() var httpParams = new HttpSettingsParameters { HttpUserEnabled = true, - HttpUsername = this.HttpUser.UserName, - HttpPassword = this.HttpUser.Password.ToString() + HttpUsername = HttpUser.UserName, + HttpPassword = HttpUser.Password.ConvertToString() }; HDInsightManagementClient.ConfigureHttp(ResourceGroupName, ClusterName, httpParams); + WriteObject(HDInsightManagementClient.GetConnectivitySettings(ResourceGroupName, ClusterName)); } } } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GrantAzureHDInsightRdpServicesAccessCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GrantAzureHDInsightRdpServicesAccessCommand.cs index 535d1c85ce13..cea8d0528684 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GrantAzureHDInsightRdpServicesAccessCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GrantAzureHDInsightRdpServicesAccessCommand.cs @@ -16,6 +16,7 @@ using System.Management.Automation; using Microsoft.Azure.Commands.HDInsight.Commands; using Microsoft.Azure.Management.HDInsight.Models; +using Microsoft.WindowsAzure.Commands.Common; namespace Microsoft.Azure.Commands.HDInsight { @@ -62,9 +63,9 @@ public override void ExecuteCmdlet() { RdpSettings = new RdpSettings { - UserName = this.RdpUser.UserName, - Password = this.RdpUser.Password.ToString(), - ExpiryDate = this.RdpAccessExpiry + UserName = RdpUser.UserName, + Password = RdpUser.Password.ConvertToString(), + ExpiryDate = RdpAccessExpiry } } } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/HDInsightCmdletBase.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/HDInsightCmdletBase.cs index d0450cd204d7..746c9569a6d8 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/HDInsightCmdletBase.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/HDInsightCmdletBase.cs @@ -12,9 +12,7 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using System; using Microsoft.Azure.Commands.HDInsight.Models; -using Microsoft.Azure.Management.HDInsight.Job; using Microsoft.WindowsAzure.Commands.Utilities.Common; namespace Microsoft.Azure.Commands.HDInsight.Commands @@ -27,20 +25,20 @@ public class HDInsightCmdletBase : AzurePSCmdlet public AzureHdInsightManagementClient HDInsightManagementClient { get { - return this._hdInsightManagementClient ?? - (this._hdInsightManagementClient = new AzureHdInsightManagementClient(Profile.Context)); + return _hdInsightManagementClient ?? + (_hdInsightManagementClient = new AzureHdInsightManagementClient(Profile.Context)); } - set { this._hdInsightManagementClient = value; } + set { _hdInsightManagementClient = value; } } public AzureHdInsightJobManagementClient HDInsightJobClient { get { - return this._hdInsightJobClient ?? - (this._hdInsightJobClient = new AzureHdInsightJobManagementClient(Profile.Context)); + return _hdInsightJobClient ?? + (_hdInsightJobClient = new AzureHdInsightJobManagementClient(Profile.Context)); } - set { this._hdInsightJobClient = value; } + set { _hdInsightJobClient = value; } } } } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterCommand.cs index e76c17a591b9..0a442c8b71d6 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterCommand.cs @@ -14,10 +14,12 @@ using System; using System.Collections.Generic; +using System.Linq; using System.Management.Automation; using Microsoft.Azure.Commands.HDInsight.Commands; using Microsoft.Azure.Commands.HDInsight.Models; using Microsoft.Azure.Management.HDInsight.Models; +using Microsoft.WindowsAzure.Commands.Common; namespace Microsoft.Azure.Commands.HDInsight { @@ -25,16 +27,21 @@ namespace Microsoft.Azure.Commands.HDInsight VerbsCommon.New, Constants.CommandNames.AzureHDInsightCluster), OutputType( - typeof(ClusterGetResponse))] + typeof(AzureHDInsightCluster))] public class NewAzureHDInsightCommand : HDInsightCmdletBase { + private ClusterCreateParameters parameters; #region Input Parameter Definitions - + [Parameter( Position = 0, Mandatory = true, HelpMessage = "Gets or sets the datacenter location for the cluster.")] - public string Location { get; set; } + public string Location + { + get { return parameters.Location; } + set { parameters.Location = value; } + } [Parameter( Position = 1, @@ -52,19 +59,35 @@ public class NewAzureHDInsightCommand : HDInsightCmdletBase Position = 3, Mandatory = true, HelpMessage = "Gets or sets the number of workernodes for the cluster.")] - public int ClusterSizeInNodes { get; set; } + public int ClusterSizeInNodes + { + get { return parameters.ClusterSizeInNodes; } + set { parameters.ClusterSizeInNodes = value; } + } [Parameter( Position = 4, Mandatory = true, - HelpMessage = "Gets or sets the StorageName for the default Azure Storage Account.")] - public string DefaultStorageAccountName { get; set; } + HelpMessage = "Gets or sets the login for the cluster's user.")] + public PSCredential HttpUser { get; set; } [Parameter( Position = 5, - Mandatory = true, + HelpMessage = "Gets or sets the StorageName for the default Azure Storage Account.")] + public string DefaultStorageAccountName + { + get { return parameters.DefaultStorageAccountName; } + set { parameters.DefaultStorageAccountName = value; } + } + + [Parameter( + Position = 6, HelpMessage = "Gets or sets the StorageKey for the default Azure Storage Account.")] - public string DefaultStorageAccountKey { get; set; } + public string DefaultStorageAccountKey + { + get { return parameters.DefaultStorageAccountKey; } + set { parameters.DefaultStorageAccountKey = value; } + } [Parameter(HelpMessage = "Gets or sets the database to store the metadata for Oozie.")] public AzureHDInsightMetastore OozieMetastore { get; set; } @@ -82,40 +105,70 @@ public class NewAzureHDInsightCommand : HDInsightCmdletBase public Dictionary> ScriptActions { get; private set; } [Parameter(HelpMessage = "Gets or sets the StorageContainer for the default Azure Storage Account.")] - public string DefaultStorageContainer { get; set; } - - [Parameter(HelpMessage = "Gets or sets the login for the cluster's user.")] - public PSCredential HttpUser { get; set; } - + public string DefaultStorageContainer + { + get { return parameters.DefaultStorageContainer; } + set { parameters.DefaultStorageContainer = value; } + } + [Parameter(HelpMessage = "Gets or sets the version of the HDInsight cluster.")] - public string Version { get; set; } + public string Version + { + get { return parameters.Version; } + set { parameters.Version = value; } + } [Parameter(HelpMessage = "Gets or sets the size of the Head Node.")] - public string HeadNodeSize { get; set; } + public string HeadNodeSize + { + get { return parameters.HeadNodeSize; } + set { parameters.HeadNodeSize = value; } + } [Parameter(HelpMessage = "Gets or sets the size of the Data Node.")] - public string DataNodeSize { get; set; } + public string DataNodeSize + { + get { return parameters.DataNodeSize; } + set { parameters.DataNodeSize = value; } + } [Parameter(HelpMessage = "Gets or sets the size of the Zookeeper Node.")] - public string ZookeeperNodeSize { get; set; } + public string ZookeeperNodeSize + { + get { return parameters.ZookeeperNodeSize; } + set { parameters.ZookeeperNodeSize = value; } + } [Parameter(HelpMessage = "Gets or sets the flavor for a cluster.")] - public HDInsightClusterType ClusterType { get; set; } + public HDInsightClusterType ClusterType + { + get { return parameters.ClusterType; } + set { parameters.ClusterType = value; } + } [Parameter(HelpMessage = "Gets or sets the virtual network guid for this HDInsight cluster.")] - public string VirtualNetworkId { get; set; } + public string VirtualNetworkId + { + get { return parameters.VirtualNetworkId; } + set { parameters.VirtualNetworkId = value; } + } [Parameter(HelpMessage = "Gets or sets the subnet name for this HDInsight cluster.")] - public string SubnetName { get; set; } + public string SubnetName + { + get { return parameters.SubnetName; } + set { parameters.SubnetName = value; } + } [Parameter(HelpMessage = "Gets or sets the type of operating system installed on cluster nodes.")] - public OSType OSType { get; set; } + public OSType OSType + { + get { return parameters.OSType; } + set { parameters.OSType = value; } + } [Parameter(HelpMessage = "Gets or sets SSH user name.")] - public string SshUserName { get; set; } - - [Parameter(HelpMessage = "Gets or sets SSH password.")] - public string SshPassword { get; set; } + public PSCredential SshUser { get; set; } [Parameter(HelpMessage = "Gets or sets the public key to be used for SSH.")] public string SshPublicKey { get; set; } @@ -124,7 +177,11 @@ public class NewAzureHDInsightCommand : HDInsightCmdletBase public PSCredential RdpUser { get; set; } [Parameter(HelpMessage = "Gets or sets the expiry DateTime for RDP access on the cluster.")] - public DateTime RdpAccessExpiry { get; set; } + public DateTime RdpAccessExpiry + { + get { return parameters.RdpAccessExpiry; } + set { parameters.RdpAccessExpiry = value; } + } [Parameter(ValueFromPipeline = true, HelpMessage = "The HDInsight cluster configuration to use when creating the new cluster")] @@ -133,20 +190,23 @@ public AzureHDInsightConfig Config { { var result = new AzureHDInsightConfig { - ClusterType = this.ClusterType, - DefaultStorageAccountName = this.DefaultStorageAccountName, - DefaultStorageAccountKey = this.DefaultStorageAccountKey, - DataNodeSize = this.DataNodeSize, - HeadNodeSize = this.HeadNodeSize, - ZookeeperNodeSize = this.ZookeeperNodeSize, - HiveMetastore = this.HiveMetastore, - OozieMetastore = this.OozieMetastore + ClusterType = parameters.ClusterType, + DefaultStorageAccountName = parameters.DefaultStorageAccountName, + DefaultStorageAccountKey = parameters.DefaultStorageAccountKey, + DataNodeSize = parameters.DataNodeSize, + HeadNodeSize = parameters.HeadNodeSize, + ZookeeperNodeSize = parameters.ZookeeperNodeSize, + HiveMetastore = HiveMetastore, + OozieMetastore = OozieMetastore }; - foreach (var storageAccount in this.AdditionalStorageAccounts) + foreach ( + var storageAccount in + parameters.AdditionalStorageAccounts.Where( + storageAccount => !result.AdditionalStorageAccounts.ContainsKey(storageAccount.Key))) { result.AdditionalStorageAccounts.Add(storageAccount.Key, storageAccount.Value); } - foreach (var val in this.Configurations) + foreach (var val in parameters.Configurations.Where(val => !result.Configurations.ContainsKey(val.Key))) { result.Configurations.Add(val.Key, val.Value); } @@ -154,21 +214,24 @@ public AzureHDInsightConfig Config { } set { - this.ClusterType = value.ClusterType; - this.DefaultStorageAccountName = value.DefaultStorageAccountName; - this.DefaultStorageAccountKey = value.DefaultStorageAccountKey; - this.DataNodeSize = value.DataNodeSize; - this.HeadNodeSize = value.HeadNodeSize; - this.ZookeeperNodeSize = value.ZookeeperNodeSize; - this.HiveMetastore = value.HiveMetastore; - this.OozieMetastore = value.HiveMetastore; - foreach (var storageAccount in value.AdditionalStorageAccounts) + parameters.ClusterType = value.ClusterType; + parameters.DefaultStorageAccountName = value.DefaultStorageAccountName; + parameters.DefaultStorageAccountKey = value.DefaultStorageAccountKey; + parameters.DataNodeSize = value.DataNodeSize; + parameters.HeadNodeSize = value.HeadNodeSize; + parameters.ZookeeperNodeSize = value.ZookeeperNodeSize; + HiveMetastore = value.HiveMetastore; + OozieMetastore = value.HiveMetastore; + foreach ( + var storageAccount in + value.AdditionalStorageAccounts.Where( + storageAccount => !parameters.AdditionalStorageAccounts.ContainsKey(storageAccount.Key))) { - this.AdditionalStorageAccounts.Add(storageAccount.Key, storageAccount.Value); + parameters.AdditionalStorageAccounts.Add(storageAccount.Key, storageAccount.Value); } - foreach (var val in value.Configurations) + foreach (var val in value.Configurations.Where(val => !parameters.Configurations.ContainsKey(val.Key))) { - this.Configurations.Add(val.Key, val.Value); + parameters.Configurations.Add(val.Key, val.Value); } } } @@ -177,59 +240,59 @@ public AzureHDInsightConfig Config { public NewAzureHDInsightCommand() { - this.AdditionalStorageAccounts = new Dictionary(); - this.Configurations = new Dictionary>(); + parameters = new ClusterCreateParameters(); + AdditionalStorageAccounts = new Dictionary(); + Configurations = new Dictionary>(); + ScriptActions = new Dictionary>(); } public override void ExecuteCmdlet() { - var parameters = new ClusterCreateParameters + parameters.UserName = HttpUser.UserName; + parameters.Password = HttpUser.Password.ConvertToString(); + + if (RdpUser != null) + { + parameters.RdpUsername = RdpUser.UserName; + parameters.RdpPassword = RdpUser.Password.ConvertToString(); + } + if (SshUser != null) { - Location = this.Location, - DefaultStorageAccountName = this.DefaultStorageAccountName, - DefaultStorageAccountKey = this.DefaultStorageAccountKey, - ClusterSizeInNodes = this.ClusterSizeInNodes, - DefaultStorageContainer = this.DefaultStorageContainer, - UserName = this.HttpUser.UserName, - Password = this.HttpUser.Password.ToString(), - RdpUsername = this.RdpUser.UserName, - RdpPassword = this.RdpUser.Password.ToString(), - RdpAccessExpiry = this.RdpAccessExpiry, - Version = this.Version, - HeadNodeSize = this.HeadNodeSize, - DataNodeSize = this.DataNodeSize, - ZookeeperNodeSize = this.ZookeeperNodeSize, - ClusterType = this.ClusterType, - VirtualNetworkId = this.VirtualNetworkId, - SubnetName = this.SubnetName, - OSType = this.OSType, - SshUserName = this.SshUserName, - SshPassword = this.SshPassword, - SshPublicKey = this.SshPublicKey - }; - - foreach (var storageAccount in this.AdditionalStorageAccounts) + parameters.SshUserName = SshUser.UserName; + parameters.SshPassword = SshUser.Password.ConvertToString(); + } + foreach ( + var storageAccount in + AdditionalStorageAccounts.Where( + storageAccount => !parameters.AdditionalStorageAccounts.ContainsKey(storageAccount.Key))) { parameters.AdditionalStorageAccounts.Add(storageAccount.Key, storageAccount.Value); } - foreach (var config in this.Configurations) + foreach (var config in Configurations.Where(config => !parameters.Configurations.ContainsKey(config.Key))) { parameters.Configurations.Add(config.Key, config.Value); } - if (this.OozieMetastore != null) + foreach (var action in ScriptActions.Where(action => parameters.ScriptActions.ContainsKey(action.Key))) + { + parameters.ScriptActions.Add(action.Key, action.Value); + } + if (OozieMetastore != null) { - var metastore = this.OozieMetastore; - parameters.OozieMetastore = new Metastore(metastore.SqlAzureServerName, metastore.DatabaseName, metastore.Credential.UserName, metastore.Credential.Password.ToString()); + var metastore = OozieMetastore; + parameters.OozieMetastore = new Metastore(metastore.SqlAzureServerName, metastore.DatabaseName, metastore.Credential.UserName, metastore.Credential.Password.ConvertToString()); } - if (this.HiveMetastore != null) + if (HiveMetastore != null) { - var metastore = this.HiveMetastore; - parameters.OozieMetastore = new Metastore(metastore.SqlAzureServerName, metastore.DatabaseName, metastore.Credential.UserName, metastore.Credential.Password.ToString()); + var metastore = HiveMetastore; + parameters.OozieMetastore = new Metastore(metastore.SqlAzureServerName, metastore.DatabaseName, metastore.Credential.UserName, metastore.Credential.Password.ConvertToString()); } var cluster = HDInsightManagementClient.CreateNewCluster(ResourceGroupName, ClusterName, parameters); - this.WriteObject(cluster); + if (cluster != null) + { + WriteObject(new AzureHDInsightCluster(cluster.Cluster)); + } } } } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterConfigCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterConfigCommand.cs index d4ce22495599..b8b355d3368e 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterConfigCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterConfigCommand.cs @@ -32,57 +32,57 @@ public class NewAzureHDInsightClusterConfigCommand : HDInsightCmdletBase [Parameter(HelpMessage = "Gets or sets the StorageName for the default Azure Storage Account.")] public string DefaultStorageAccountName { - get { return this._config.DefaultStorageAccountName; } - set { this._config.DefaultStorageAccountName = value; } + get { return _config.DefaultStorageAccountName; } + set { _config.DefaultStorageAccountName = value; } } [Parameter(HelpMessage = "Gets or sets the StorageKey for the default Azure Storage Account.")] public string DefaultStorageAccountKey { - get { return this._config.DefaultStorageAccountKey; } - set { this._config.DefaultStorageAccountKey = value; } + get { return _config.DefaultStorageAccountKey; } + set { _config.DefaultStorageAccountKey = value; } } [Parameter(HelpMessage = "Gets or sets the database to store the metadata for Oozie.")] public AzureHDInsightMetastore OozieMetastore { - get { return this._config.OozieMetastore; } - set { this._config.OozieMetastore = value; } + get { return _config.OozieMetastore; } + set { _config.OozieMetastore = value; } } [Parameter(HelpMessage = "Gets or sets the database to store the metadata for Hive.")] public AzureHDInsightMetastore HiveMetastore { - get { return this._config.HiveMetastore; } - set { this._config.HiveMetastore = value; } + get { return _config.HiveMetastore; } + set { _config.HiveMetastore = value; } } [Parameter(HelpMessage = "Gets or sets the size of the Head Node.")] public string HeadNodeSize { - get { return this._config.HeadNodeSize; } - set { this._config.HeadNodeSize = value; } + get { return _config.HeadNodeSize; } + set { _config.HeadNodeSize = value; } } [Parameter(HelpMessage = "Gets or sets the size of the Data Node.")] public string DataNodeSize { - get { return this._config.DataNodeSize; } - set { this._config.DataNodeSize = value; } + get { return _config.DataNodeSize; } + set { _config.DataNodeSize = value; } } [Parameter(HelpMessage = "Gets or sets the size of the Zookeeper Node.")] public string ZookeeperNodeSize { - get { return this._config.ZookeeperNodeSize; } - set { this._config.ZookeeperNodeSize = value; } + get { return _config.ZookeeperNodeSize; } + set { _config.ZookeeperNodeSize = value; } } [Parameter(HelpMessage = "Gets or sets the flavor for a cluster.")] public HDInsightClusterType ClusterType { - get { return this._config.ClusterType; } - set { this._config.ClusterType = value; } + get { return _config.ClusterType; } + set { _config.ClusterType = value; } } #endregion @@ -94,7 +94,7 @@ public NewAzureHDInsightClusterConfigCommand() public override void ExecuteCmdlet() { - this.WriteObject(_config); + WriteObject(_config); } } } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/RemoveAzureHDInsightClusterCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/RemoveAzureHDInsightClusterCommand.cs index 5c194e05a1e4..de3adacef376 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/RemoveAzureHDInsightClusterCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/RemoveAzureHDInsightClusterCommand.cs @@ -13,7 +13,6 @@ // ---------------------------------------------------------------------------------- using System.Management.Automation; -using System.Runtime.InteropServices; using Microsoft.Azure.Commands.HDInsight.Commands; using Microsoft.Azure.Management.HDInsight.Models; @@ -46,7 +45,7 @@ public override void ExecuteCmdlet() { var result = HDInsightManagementClient.DeleteCluster(ResourceGroupName, ClusterName); - this.WriteObject(result, true); + WriteObject(result, true); } } } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/RevokeAzureHDInsightHttpServicesAccessCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/RevokeAzureHDInsightHttpServicesAccessCommand.cs index aaf290c26bd7..47f32d64900a 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/RevokeAzureHDInsightHttpServicesAccessCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/RevokeAzureHDInsightHttpServicesAccessCommand.cs @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.HDInsight VerbsSecurity.Revoke, Constants.CommandNames.AzureHDInsightHttpServicesAccess), OutputType( - typeof(void))] + typeof(HttpConnectivitySettings))] public class RevokeAzureHDInsightHttpServicesAccessCommand : HDInsightCmdletBase { #region Input Parameter Definitions @@ -49,6 +49,7 @@ public override void ExecuteCmdlet() }; HDInsightManagementClient.ConfigureHttp(ResourceGroupName, ClusterName, httpParams); + WriteObject(HDInsightManagementClient.GetConnectivitySettings(ResourceGroupName, ClusterName)); } } } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/SetAzureHDInsightClusterSizeCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/SetAzureHDInsightClusterSizeCommand.cs index ca2fcdb65ef6..1a264e9dd5ac 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/SetAzureHDInsightClusterSizeCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/SetAzureHDInsightClusterSizeCommand.cs @@ -12,8 +12,10 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using System.Linq; using System.Management.Automation; using Microsoft.Azure.Commands.HDInsight.Commands; +using Microsoft.Azure.Commands.HDInsight.Models; using Microsoft.Azure.Management.HDInsight.Models; namespace Microsoft.Azure.Commands.HDInsight @@ -22,9 +24,10 @@ namespace Microsoft.Azure.Commands.HDInsight VerbsCommon.Set, Constants.CommandNames.AzureHDInsightClusterSize), OutputType( - typeof(ClusterGetResponse))] + typeof(Cluster))] public class SetAzureHDInsightClusterSizeCommand : HDInsightCmdletBase { + private ClusterResizeParameters resizeParams; #region Input Parameter Definitions [Parameter( @@ -43,23 +46,37 @@ public class SetAzureHDInsightClusterSizeCommand : HDInsightCmdletBase Position = 3, Mandatory = true, HelpMessage = "Gets or sets the name of the cluster.")] - public int TargetInstanceCount { get; set; } + public int TargetInstanceCount + { + get { return resizeParams.TargetInstanceCount; } + set { resizeParams.TargetInstanceCount = value; } + } [Parameter( Position = 4, HelpMessage = "Gets or sets the name of the cluster.")] - public int MinInstanceCount { get; set; } + public int? MinInstanceCount + { + get { return resizeParams.MinInstanceCount; } + set { resizeParams.MinInstanceCount = value; } + } #endregion + public SetAzureHDInsightClusterSizeCommand() + { + resizeParams = new ClusterResizeParameters(); + } + public override void ExecuteCmdlet() { - var resizeParams = new ClusterResizeParameters + HDInsightManagementClient.ResizeCluster(ResourceGroupName, ClusterName, resizeParams); + + var cluster = HDInsightManagementClient.GetCluster(ResourceGroupName, ClusterName); + if (cluster != null) { - TargetInstanceCount = this.TargetInstanceCount, - MinInstanceCount = this.MinInstanceCount - }; - var cluster = HDInsightManagementClient.ResizeCluster(ResourceGroupName, ClusterName, resizeParams); + WriteObject(new AzureHDInsightCluster(cluster.First())); + } } } } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightHiveJobDefinition.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightHiveJobDefinition.cs index 90ccb2fd171b..cc7632d35746 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightHiveJobDefinition.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightHiveJobDefinition.cs @@ -27,7 +27,7 @@ public class AzureHDInsightHiveJobDefinition : AzureHDInsightJobDefinition /// public AzureHDInsightHiveJobDefinition() { - this.Defines = new Dictionary(); + Defines = new Dictionary(); } /// diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightJob.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightJob.cs index fdc578bee524..6b3c0b53e0a7 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightJob.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightJob.cs @@ -12,9 +12,6 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using System; -using System.Collections.Generic; -using System.Collections.ObjectModel; using Microsoft.Azure.Management.HDInsight.Job.Models; namespace Microsoft.Azure.Commands.HDInsight.Models @@ -31,16 +28,16 @@ public class AzureHDInsightJob /// The cluster that the jobDetails was created against. public AzureHDInsightJob(JobDetailRootJsonObject jobDetails, string cluster) { - this.Cluster = cluster; - this.Status = jobDetails.Status; - this.Profile = jobDetails.Profile; - this.JobId = jobDetails.Id; - this.ParentId = jobDetails.ParentId; - this.PercentComplete = jobDetails.PercentComplete; - this.ExitValue = jobDetails.ExitValue; - this.User = jobDetails.User; - this.Callback = jobDetails.Callback; - this.Completed = jobDetails.Completed; + Cluster = cluster; + Status = jobDetails.Status; + Profile = jobDetails.Profile; + JobId = jobDetails.Id; + ParentId = jobDetails.ParentId; + PercentComplete = jobDetails.PercentComplete; + ExitValue = jobDetails.ExitValue; + User = jobDetails.User; + Callback = jobDetails.Callback; + Completed = jobDetails.Completed; } /// diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightJobDefinition.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightJobDefinition.cs index db5fee3c6fcb..5d90f0d6577a 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightJobDefinition.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightJobDefinition.cs @@ -27,8 +27,8 @@ public abstract class AzureHDInsightJobDefinition /// protected AzureHDInsightJobDefinition() { - this.Files = new List(); - this.Arguments = new Collection(); + Files = new List(); + Arguments = new Collection(); } /// diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightMapReduceJobDefinition.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightMapReduceJobDefinition.cs index 467cd1b79021..89f073347d79 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightMapReduceJobDefinition.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightMapReduceJobDefinition.cs @@ -51,8 +51,8 @@ public class AzureHDInsightMapReduceJobDefinition : AzureHDInsightJobDefinition /// public AzureHDInsightMapReduceJobDefinition() { - this.LibJars = new List(); - this.Defines = new Dictionary(); + LibJars = new List(); + Defines = new Dictionary(); } } } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightStreamingMapReduceJobDefinition.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightStreamingMapReduceJobDefinition.cs index 6c3b8910160c..47222cb509ea 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightStreamingMapReduceJobDefinition.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightStreamingMapReduceJobDefinition.cs @@ -62,8 +62,8 @@ public class AzureHDInsightStreamingMapReduceJobDefinition : AzureHDInsightJobDe /// public AzureHDInsightStreamingMapReduceJobDefinition() { - this.CommandEnvironment = new Collection(); - this.Defines = new Dictionary(); + CommandEnvironment = new Collection(); + Defines = new Dictionary(); } } } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHdInsightJobManagementClient.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHdInsightJobManagementClient.cs index abaebbc22086..73c4c20005c3 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHdInsightJobManagementClient.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHdInsightJobManagementClient.cs @@ -35,7 +35,7 @@ public AzureHdInsightJobManagementClient() { } private IHDInsightJobManagementClient HdInsightJobManagementClient { get; set; } - public string ClusterName { get { return this.HdInsightJobManagementClient.ClusterDnsName; } } + public string ClusterName { get { return HdInsightJobManagementClient.ClusterDnsName; } } public Task SubmitHiveJob(AzureHDInsightHiveJobDefinition hiveJobDef) { @@ -46,11 +46,11 @@ public Task SubmitHiveJob(AzureHDInsightHiveJobDefinition File = hiveJobDef.File, Files = hiveJobDef.Files.ToString(), Query = hiveJobDef.Query, - StatusDir = hiveJobDef.StatusFolder + StatusDir = hiveJobDef.StatusFolder, + UserName = HdInsightJobManagementClient.Credentials.Username }; - hiveJobParams.UserName = this.HdInsightJobManagementClient.Credentials.Username; - return this.HdInsightJobManagementClient.JobManagement.SubmitHiveJobAsync(hiveJobParams); + return HdInsightJobManagementClient.JobManagement.SubmitHiveJobAsync(hiveJobParams); } public Task SubmitMRJob(AzureHDInsightMapReduceJobDefinition mapredJobDef) @@ -64,10 +64,10 @@ public Task SubmitMRJob(AzureHDInsightMapReduceJobDefinit LibJars = mapredJobDef.LibJars.ToString(), JarFile = mapredJobDef.JarFile, StatusDir = mapredJobDef.StatusFolder, - UserName = this.HdInsightJobManagementClient.Credentials.Username + UserName = HdInsightJobManagementClient.Credentials.Username }; - return this.HdInsightJobManagementClient.JobManagement.SubmitMapReduceJobAsync(mapredJobParams); + return HdInsightJobManagementClient.JobManagement.SubmitMapReduceJobAsync(mapredJobParams); } public Task SubmitPigJob(AzureHDInsightPigJobDefinition pigJobDef) @@ -79,10 +79,10 @@ public Task SubmitPigJob(AzureHDInsightPigJobDefinition p StatusDir = pigJobDef.StatusFolder, File = pigJobDef.File, Query = pigJobDef.Query, - UserName = this.HdInsightJobManagementClient.Credentials.Username + UserName = HdInsightJobManagementClient.Credentials.Username }; - return this.HdInsightJobManagementClient.JobManagement.SubmitPigJobAsync(pigJobParams); + return HdInsightJobManagementClient.JobManagement.SubmitPigJobAsync(pigJobParams); } public Task SubmitSqoopJob(AzureHDInsightSqoopJobDefinition sqoopJobDef) @@ -104,20 +104,20 @@ public Task SubmitStreamingJob( CmdEnv = streamingJobDef.CommandEnvironment.ToString(), Arguments = streamingJobDef.Arguments.ToString(), StatusDir = streamingJobDef.StatusFolder, - UserName = this.HdInsightJobManagementClient.Credentials.Username + UserName = HdInsightJobManagementClient.Credentials.Username }; - return this.HdInsightJobManagementClient.JobManagement.SubmitMapReduceStreamingJobAsync(streamingJobParams); + return HdInsightJobManagementClient.JobManagement.SubmitMapReduceStreamingJobAsync(streamingJobParams); } public Task GetJob(string jobId) { - return this.HdInsightJobManagementClient.JobManagement.GetJobAsync(jobId); + return HdInsightJobManagementClient.JobManagement.GetJobAsync(jobId); } public Task ListJobs() { - return this.HdInsightJobManagementClient.JobManagement.ListJobsAsync(); + return HdInsightJobManagementClient.JobManagement.ListJobsAsync(); } public Task StopJob(string jobId) diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHDInsightCluster.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHDInsightCluster.cs new file mode 100644 index 000000000000..8f398c16fcf2 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHDInsightCluster.cs @@ -0,0 +1,73 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.Azure.Management.HDInsight.Models; + +namespace Microsoft.Azure.Commands.HDInsight.Models +{ + public class AzureHDInsightCluster + { + public AzureHDInsightCluster(Cluster cluster) + { + Id = cluster.Id; + Name = cluster.Name; + Location = cluster.Location; + ClusterVersion = cluster.Properties.ClusterVersion; + OperatingSystemType = cluster.Properties.OperatingSystemType; + ClusterState = cluster.Properties.ClusterState; + ClusterType = cluster.Properties.ClusterDefinition.ClusterType; + CoresUsed = cluster.Properties.QuotaInfo.CoresUsed; + } + + /// + /// The name of the resource. + /// + public string Name { get; set; } + + /// + /// The ID of the resource. + /// + public string Id { get; set; } + + /// + /// The location of the resource. + /// + public string Location { get; set; } + + /// + /// The version of the cluster. + /// + public string ClusterVersion { get; set; } + + /// + /// The type of operating system. + /// + public OSType OperatingSystemType { get; set; } + + /// + /// The state of the cluster. + /// + public string ClusterState { get; set; } + + /// + /// The type of cluster. + /// + public HDInsightClusterType ClusterType { get; set; } + + /// + /// The cores used by the cluster. + /// + public int CoresUsed { get; set; } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHDInsightConfig.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHDInsightConfig.cs index d3e25932ee3f..d4afa356c953 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHDInsightConfig.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHDInsightConfig.cs @@ -13,6 +13,7 @@ // ---------------------------------------------------------------------------------- using System.Collections.Generic; +using System.Linq; using System.Management.Automation; using Microsoft.Azure.Management.HDInsight.Models; @@ -20,31 +21,11 @@ namespace Microsoft.Azure.Commands.HDInsight.Models { public class AzureHDInsightConfig { - /// - /// Gets or sets the database to store the metadata for Oozie. - /// - public AzureHDInsightMetastore OozieMetastore { get; set; } - - /// - /// Gets or sets the database to store the metadata for Hive. - /// - public AzureHDInsightMetastore HiveMetastore { get; set; } - /// /// Gets additional Azure Storage Account that you want to enable access to. /// public Dictionary AdditionalStorageAccounts { get; private set; } - /// - /// Gets the configurations of this HDInsight cluster. - /// - public Dictionary> Configurations { get; private set; } - - /// - /// Gets config actions for the cluster. - /// - public Dictionary> ScriptActions { get; private set; } - /// /// Gets or sets the StorageName for the default Azure Storage Account. /// @@ -74,13 +55,33 @@ public class AzureHDInsightConfig /// Gets or sets the flavor for a cluster. /// public HDInsightClusterType ClusterType { get; set; } + + /// + /// Gets or sets the database to store the metadata for Oozie. + /// + public AzureHDInsightMetastore OozieMetastore { get; set; } + + /// + /// Gets or sets the database to store the metadata for Hive. + /// + public AzureHDInsightMetastore HiveMetastore { get; set; } + + /// + /// Gets the configurations of this HDInsight cluster. + /// + public Dictionary> Configurations { get; private set; } + + /// + /// Gets config actions for the cluster. + /// + public Dictionary> ScriptActions { get; private set; } public AzureHDInsightConfig() { - this.AdditionalStorageAccounts = new Dictionary(); - this.ClusterType = HDInsightClusterType.Hadoop; - this.Configurations = new Dictionary>(); - this.ScriptActions = new Dictionary>(); + ClusterType = HDInsightClusterType.Hadoop; + AdditionalStorageAccounts = new Dictionary(); + Configurations = new Dictionary>(); + ScriptActions = new Dictionary>(); } } } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHdInsightManagementClient.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHdInsightManagementClient.cs index 0dec1ba77858..6aba0d37a505 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHdInsightManagementClient.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHdInsightManagementClient.cs @@ -36,7 +36,7 @@ public AzureHdInsightManagementClient() { } public ClusterGetResponse CreateNewCluster(string resourceGroupName, string clusterName, ClusterCreateParameters parameters) { - return this.HdInsightManagementClient.Clusters.Create(resourceGroupName, clusterName, parameters); + return HdInsightManagementClient.Clusters.Create(resourceGroupName, clusterName, parameters); } public List GetCluster(string resourceGroupName, string clusterName) @@ -44,44 +44,57 @@ public List GetCluster(string resourceGroupName, string clusterName) var result = new List(); if (string.IsNullOrEmpty(resourceGroupName) && string.IsNullOrEmpty(clusterName)) { - var listresponse = this.HdInsightManagementClient.Clusters.List(); + var listresponse = HdInsightManagementClient.Clusters.List(); result.AddRange(listresponse.Clusters); } else if (string.IsNullOrEmpty(clusterName)) { - var listresponse = this.HdInsightManagementClient.Clusters.ListByResourceGroup(resourceGroupName); + var listresponse = HdInsightManagementClient.Clusters.ListByResourceGroup(resourceGroupName); result.AddRange(listresponse.Clusters); } else if (string.IsNullOrEmpty(resourceGroupName)) { - result.Add(this.HdInsightManagementClient.Clusters.Get(resourceGroupName, clusterName).Cluster); + return result; + } + else + { + var getresponse = HdInsightManagementClient.Clusters.Get(resourceGroupName, clusterName); + if (getresponse != null) + { + result.Add(getresponse.Cluster); + } } return result; } public HDInsightLongRunningOperationResponse ResizeCluster(string resourceGroupName, string clusterName, ClusterResizeParameters resizeParams) { - return this.HdInsightManagementClient.Clusters.Resize(resourceGroupName, clusterName, resizeParams); + return HdInsightManagementClient.Clusters.Resize(resourceGroupName, clusterName, resizeParams); } public ClusterGetResponse DeleteCluster(string resourceGroupName, string clusterName) { - return this.HdInsightManagementClient.Clusters.Delete(resourceGroupName, clusterName); + return HdInsightManagementClient.Clusters.Delete(resourceGroupName, clusterName); } public HDInsightLongRunningOperationResponse ConfigureHttp(string resourceGroupName, string clusterName, HttpSettingsParameters httpSettings) { - return this.HdInsightManagementClient.Clusters.ConfigureHttpSettings(resourceGroupName, clusterName, httpSettings); + return HdInsightManagementClient.Clusters.ConfigureHttpSettings(resourceGroupName, clusterName, httpSettings); + } + + public HttpConnectivitySettings GetConnectivitySettings(string resourceGroupName, string clusterName) + { + return HdInsightManagementClient.Clusters.GetConnectivitySettings(resourceGroupName, clusterName); } public HDInsightLongRunningOperationResponse ConfigureRdp(string resourceGroupName, string clusterName, RDPSettingsParameters rdpSettings) { - return this.HdInsightManagementClient.Clusters.ConfigureRdpSettings(resourceGroupName, clusterName, rdpSettings); + return HdInsightManagementClient.Clusters.ConfigureRdpSettings(resourceGroupName, clusterName, rdpSettings); } public CapabilitiesResponse GetCapabilities(string location) { - return this.HdInsightManagementClient.Clusters.GetCapabilities(location); + return HdInsightManagementClient.Clusters.GetCapabilities(location); } } } From 5e8f279d8a8502dd92759f3ab85f7cc65186a81c Mon Sep 17 00:00:00 2001 From: Shefali Date: Tue, 26 May 2015 18:03:34 -0700 Subject: [PATCH 14/38] updating job client --- .../Commands.HDInsight.csproj | 2 +- .../HDInsightCmdletBase.cs | 11 +++++-- .../GetAzureHDInsightJobCommand.cs | 32 +++++++++++++++++- ...wAzureHDInsightHiveJobDefinitionCommand.cs | 2 +- .../StartAzureHDInsightJobCommand.cs | 33 ++++++++++++++++++- .../StopAzureHDInsightJobCommand.cs | 32 +++++++++++++++++- .../Job/AzureHdInsightJobManagementClient.cs | 6 ++-- 7 files changed, 109 insertions(+), 9 deletions(-) rename src/ResourceManager/HDInsight/Commands.HDInsight/{ManagementCommands => }/HDInsightCmdletBase.cs (75%) diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj index 2bef5d83e64d..9f9980a23d16 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj @@ -55,7 +55,7 @@ - + diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/HDInsightCmdletBase.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/HDInsightCmdletBase.cs similarity index 75% rename from src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/HDInsightCmdletBase.cs rename to src/ResourceManager/HDInsight/Commands.HDInsight/HDInsightCmdletBase.cs index 746c9569a6d8..8e6908b152ec 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/HDInsightCmdletBase.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/HDInsightCmdletBase.cs @@ -12,6 +12,7 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using Hyak.Common; using Microsoft.Azure.Commands.HDInsight.Models; using Microsoft.WindowsAzure.Commands.Utilities.Common; @@ -21,6 +22,8 @@ public class HDInsightCmdletBase : AzurePSCmdlet { private AzureHdInsightManagementClient _hdInsightManagementClient; private AzureHdInsightJobManagementClient _hdInsightJobClient; + protected BasicAuthenticationCloudCredentials _credential; + protected string _clusterName; public AzureHdInsightManagementClient HDInsightManagementClient { @@ -35,8 +38,12 @@ public AzureHdInsightJobManagementClient HDInsightJobClient { get { - return _hdInsightJobClient ?? - (_hdInsightJobClient = new AzureHdInsightJobManagementClient(Profile.Context)); + if (_hdInsightJobClient == null || !_hdInsightJobClient.ClusterName.Equals(_clusterName)) + { + return new AzureHdInsightJobManagementClient(_clusterName, _credential); + } + return _hdInsightJobClient; + //return _hdInsightJobClient ?? (_hdInsightJobClient = new AzureHdInsightJobManagementClient(_clusterName, _credential)); } set { _hdInsightJobClient = value; } } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/GetAzureHDInsightJobCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/GetAzureHDInsightJobCommand.cs index c83f63bd597f..97f634b43013 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/GetAzureHDInsightJobCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/GetAzureHDInsightJobCommand.cs @@ -13,8 +13,10 @@ // ---------------------------------------------------------------------------------- using System.Management.Automation; +using Hyak.Common; using Microsoft.Azure.Commands.HDInsight.Commands; using Microsoft.Azure.Commands.HDInsight.Models; +using Microsoft.WindowsAzure.Commands.Common; namespace Microsoft.Azure.Commands.HDInsight { @@ -23,8 +25,36 @@ namespace Microsoft.Azure.Commands.HDInsight OutputType(typeof(AzureHDInsightJob))] public class GetAzureHDInsightJobCommand : HDInsightCmdletBase { - [Parameter(Mandatory = true, + [Parameter(Mandatory = true, Position = 0, + HelpMessage = "The name of the cluster.")] + public string ClusterName + { + get { return _clusterName; } + set { _clusterName = value; } + } + + [Parameter(Mandatory = true, + Position = 1, + HelpMessage = "The credentials with which to connect to the cluster.")] + public PSCredential ClusterCredential + { + get + { + return _credential == null ? null : new PSCredential(_credential.Username, _credential.Password.ConvertToSecureString()); + } + set + { + _credential = new BasicAuthenticationCloudCredentials + { + Username = value.UserName, + Password = value.Password.ConvertToString() + }; + } + } + + [Parameter(Mandatory = true, + Position = 2, HelpMessage = "The JobID of the jobDetails to stop.")] public string JobId { get; set; } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightHiveJobDefinitionCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightHiveJobDefinitionCommand.cs index f6cd585cfa92..69e241dfc058 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightHiveJobDefinitionCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/NewAzureHDInsightHiveJobDefinitionCommand.cs @@ -30,7 +30,7 @@ public class NewAzureHDInsightHiveJobDefinitionCommand : HDInsightCmdletBase private AzureHDInsightHiveJobDefinition job; #region Input Parameter Definitions - + [Parameter(HelpMessage = "The hive arguments for the jobDetails.")] public string[] Arguments { get; set; } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/StartAzureHDInsightJobCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/StartAzureHDInsightJobCommand.cs index 38322d807fba..9c62eac40312 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/StartAzureHDInsightJobCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/StartAzureHDInsightJobCommand.cs @@ -15,9 +15,12 @@ using System; using System.Globalization; using System.Management.Automation; +using System.Security; +using Hyak.Common; using Microsoft.Azure.Commands.HDInsight.Commands; using Microsoft.Azure.Commands.HDInsight.Models; using Microsoft.Azure.Management.HDInsight.Job.Models; +using Microsoft.WindowsAzure.Commands.Common; namespace Microsoft.Azure.Commands.HDInsight { @@ -26,8 +29,36 @@ namespace Microsoft.Azure.Commands.HDInsight OutputType(typeof(AzureHDInsightJob))] public class StartAzureHDInsightJobCommand : HDInsightCmdletBase { + [Parameter(Mandatory = true, + Position = 0, + HelpMessage = "The name of the cluster.")] + public string ClusterName + { + get { return _clusterName; } + set { _clusterName = value; } + } + + [Parameter(Mandatory = true, + Position = 1, + HelpMessage = "The credentials with which to connect to the cluster.")] + public PSCredential ClusterCredential + { + get + { + return _credential == null ? null : new PSCredential(_credential.Username, _credential.Password.ConvertToSecureString()); + } + set + { + _credential = new BasicAuthenticationCloudCredentials + { + Username = value.UserName, + Password = value.Password.ConvertToString() + }; + } + } + [Parameter(Mandatory = true, - Position = 0, + Position = 2, HelpMessage = "The jobDetails definition to start on the Azure HDInsight cluster.", ValueFromPipeline = true)] public AzureHDInsightJobDefinition JobDefinition { get; set; } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/StopAzureHDInsightJobCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/StopAzureHDInsightJobCommand.cs index 4b95300eb70d..65132939529b 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/StopAzureHDInsightJobCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/StopAzureHDInsightJobCommand.cs @@ -13,8 +13,10 @@ // ---------------------------------------------------------------------------------- using System.Management.Automation; +using Hyak.Common; using Microsoft.Azure.Commands.HDInsight.Commands; using Microsoft.Azure.Commands.HDInsight.Models; +using Microsoft.WindowsAzure.Commands.Common; namespace Microsoft.Azure.Commands.HDInsight { @@ -23,8 +25,36 @@ namespace Microsoft.Azure.Commands.HDInsight OutputType(typeof(AzureHDInsightJob))] public class StopAzureHDInsightJobCommand : HDInsightCmdletBase { - [Parameter(Mandatory = true, + [Parameter(Mandatory = true, Position = 0, + HelpMessage = "The name of the cluster.")] + public string ClusterName + { + get { return _clusterName; } + set { _clusterName = value; } + } + + [Parameter(Mandatory = true, + Position = 1, + HelpMessage = "The credentials with which to connect to the cluster.")] + public PSCredential ClusterCredential + { + get + { + return _credential == null ? null : new PSCredential(_credential.Username, _credential.Password.ConvertToSecureString()); + } + set + { + _credential = new BasicAuthenticationCloudCredentials + { + Username = value.UserName, + Password = value.Password.ConvertToString() + }; + } + } + + [Parameter(Mandatory = true, + Position = 2, HelpMessage = "The JobID of the jobDetails to stop.", ValueFromPipeline = true)] public string JobId { get; set; } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHdInsightJobManagementClient.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHdInsightJobManagementClient.cs index 73c4c20005c3..5d4b61e62077 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHdInsightJobManagementClient.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHdInsightJobManagementClient.cs @@ -14,8 +14,10 @@ using System; using System.Threading.Tasks; +using Hyak.Common; using Microsoft.Azure.Common.Authentication; using Microsoft.Azure.Common.Authentication.Models; +using Microsoft.Azure.Common.Authentication.Properties; using Microsoft.Azure.Management.HDInsight.Job; using Microsoft.Azure.Management.HDInsight.Job.Models; @@ -23,9 +25,9 @@ namespace Microsoft.Azure.Commands.HDInsight.Models { public class AzureHdInsightJobManagementClient { - public AzureHdInsightJobManagementClient(AzureContext context) + public AzureHdInsightJobManagementClient(string clusterName, BasicAuthenticationCloudCredentials credential) { - HdInsightJobManagementClient = AzureSession.ClientFactory.CreateClient(context, AzureEnvironment.Endpoint.ResourceManager); + HdInsightJobManagementClient = AzureSession.ClientFactory.CreateCustomClient(clusterName, credential); } /// From ba2636126855db16c56177a29241d3c58c9c3158 Mon Sep 17 00:00:00 2001 From: Shefali Date: Mon, 1 Jun 2015 13:01:56 -0700 Subject: [PATCH 15/38] adding test project --- src/ResourceManager.sln | 20 +++ .../Commands.HDInsight.Test.csproj | 151 ++++++++++++++++++ .../HDInsightTestBase.cs | 35 ++++ .../Properties/AssemblyInfo.cs | 36 +++++ .../GetAzureHDInsightClusterTests.cs | 86 ++++++++++ .../Commands.HDInsight.Test/packages.config | 21 +++ ...AzureHDInsightHttpServicesAccessCommand.cs | 6 +- ...tAzureHDInsightRdpServicesAccessCommand.cs | 8 +- .../NewAzureHDInsightClusterCommand.cs | 30 ++-- .../AzureHdInsightManagementClient.cs | 25 ++- 10 files changed, 390 insertions(+), 28 deletions(-) create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight.Test/HDInsightTestBase.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight.Test/Properties/AssemblyInfo.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight.Test/ScenarioTests/GetAzureHDInsightClusterTests.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight.Test/packages.config diff --git a/src/ResourceManager.sln b/src/ResourceManager.sln index 5be75617bad8..540bcc36d4c2 100644 --- a/src/ResourceManager.sln +++ b/src/ResourceManager.sln @@ -67,6 +67,12 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.HDInsight", "Resou EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.TrafficManager2", "ResourceManager\TrafficManager\Commands.TrafficManager2\Commands.TrafficManager2.csproj", "{270CBB5F-BB8A-4E33-B35B-95698E607D97}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Management.Storage", "ResourceManager\Storage\Commands.Management.Storage\Commands.Management.Storage.csproj", "{A50AB133-5C04-4A17-9054-F8343683EC23}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Management.Storage.Test", "ResourceManager\Storage\Commands.Management.Storage.Test\Commands.Management.Storage.Test.csproj", "{7D1D3B56-4EB4-4819-86FD-43330DED8EE7}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.HDInsight.Test", "ResourceManager\HDInsight\Commands.HDInsight.Test\Commands.HDInsight.Test.csproj", "{5FBB9D19-B365-4C97-BEFF-BBD5506A6D25}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -185,6 +191,18 @@ Global {270CBB5F-BB8A-4E33-B35B-95698E607D97}.Debug|Any CPU.Build.0 = Debug|Any CPU {270CBB5F-BB8A-4E33-B35B-95698E607D97}.Release|Any CPU.ActiveCfg = Release|Any CPU {270CBB5F-BB8A-4E33-B35B-95698E607D97}.Release|Any CPU.Build.0 = Release|Any CPU + {A50AB133-5C04-4A17-9054-F8343683EC23}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A50AB133-5C04-4A17-9054-F8343683EC23}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A50AB133-5C04-4A17-9054-F8343683EC23}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A50AB133-5C04-4A17-9054-F8343683EC23}.Release|Any CPU.Build.0 = Release|Any CPU + {7D1D3B56-4EB4-4819-86FD-43330DED8EE7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7D1D3B56-4EB4-4819-86FD-43330DED8EE7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7D1D3B56-4EB4-4819-86FD-43330DED8EE7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7D1D3B56-4EB4-4819-86FD-43330DED8EE7}.Release|Any CPU.Build.0 = Release|Any CPU + {5FBB9D19-B365-4C97-BEFF-BBD5506A6D25}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5FBB9D19-B365-4C97-BEFF-BBD5506A6D25}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5FBB9D19-B365-4C97-BEFF-BBD5506A6D25}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5FBB9D19-B365-4C97-BEFF-BBD5506A6D25}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -202,5 +220,7 @@ Global {13E031E4-8A43-4B87-9D72-D70180C31C11} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} {469F20E0-9D40-41AD-94C3-B47AD15A4C00} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} {133561EC-99AF-4ADC-AF41-39C4D3AD323B} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} + {7D1D3B56-4EB4-4819-86FD-43330DED8EE7} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} + {5FBB9D19-B365-4C97-BEFF-BBD5506A6D25} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} EndGlobalSection EndGlobal diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj new file mode 100644 index 000000000000..820cf5561e1f --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj @@ -0,0 +1,151 @@ + + + + + Debug + AnyCPU + {5FBB9D19-B365-4C97-BEFF-BBD5506A6D25} + Library + Properties + Commands.HDInsight.Test + Commands.HDInsight.Test + v4.5 + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\..\..\packages\Hyak.Common.1.0.2\lib\net45\Hyak.Common.dll + + + ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.dll + + + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + + + ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll + + + ..\..\..\packages\Microsoft.Azure.Gallery.2.6.2-preview\lib\net40\Microsoft.Azure.Gallery.dll + + + ..\..\..\packages\Microsoft.Azure.Management.Authorization.0.18.2-preview\lib\net40\Microsoft.Azure.Management.Authorization.dll + + + ..\..\..\..\..\azure-sdk-for-net-pr\binaries\net40\Microsoft.Azure.Management.HDInsight.dll + + + ..\..\..\packages\Microsoft.Azure.Management.Storage.2.4.0-preview\lib\net40\Microsoft.Azure.Management.Storage.dll + + + ..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll + + + ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5571.32271-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll + + + ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5513.27084-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll + + + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.14.201151115\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + + + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.14.201151115\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + + + ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.dll + + + ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.dll + + + ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll + + + ..\..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll + + + False + ..\..\..\packages\Moq.4.2.1402.2112\lib\net40\Moq.dll + + + + + + + + False + ..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll + + + False + ..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll + + + + + + + + + ..\..\..\packages\xunit.1.9.2\lib\net20\xunit.dll + + + ..\..\..\packages\xunit.extensions.1.9.2\lib\net20\xunit.extensions.dll + + + + + + + + + + {5EE72C53-1720-4309-B54B-5FB79703195F} + Commands.Common + + + {c1bda476-a5cc-4394-914d-48b0ec31a710} + Commands.ScenarioTests.Common + + + {E1F5201D-6067-430E-B303-4E367652991B} + Commands.Resources + + + {6b7540c5-8ab3-4011-864b-0be76f282f9e} + Commands.HDInsight + + + + + + + + + + + \ No newline at end of file diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/HDInsightTestBase.cs b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/HDInsightTestBase.cs new file mode 100644 index 000000000000..56d3ab219a1e --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/HDInsightTestBase.cs @@ -0,0 +1,35 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using Microsoft.Azure.Commands.HDInsight.Models; +using Moq; + +namespace Microsoft.Azure.Commands.HDInsight.Test +{ + public class HDInsightTestBase + { + protected const string ResourceGroupName = "hdi-rg1"; + protected const string Location = "west us"; + + protected Mock hdinsightManagementClient; + protected Mock commandRuntimeMock; + + public virtual void SetupTest() + { + hdinsightManagementClient = new Mock(); + commandRuntimeMock = new Mock(); + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/Properties/AssemblyInfo.cs b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..33fa8d3caa92 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Commands.HDInsight.Test")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Commands.HDInsight.Test")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("98de4743-035c-429b-9db0-3e8f87c12055")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/ScenarioTests/GetAzureHDInsightClusterTests.cs b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/ScenarioTests/GetAzureHDInsightClusterTests.cs new file mode 100644 index 000000000000..14f6093694b6 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/ScenarioTests/GetAzureHDInsightClusterTests.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.Collections; +using System.Collections.Generic; +using System.Management.Automation.Runspaces; +using Microsoft.Azure.Commands.HDInsight.Models; +using Microsoft.Azure.Management.HDInsight.Models; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Moq; +using Xunit; + +namespace Microsoft.Azure.Commands.HDInsight.Test +{ + public class GetAzureHDInsightClusterTests : HDInsightTestBase + { + private GetAzureHDInsightCommand cmdlet; + private const string ClusterName = "hdicluster"; + + public GetAzureHDInsightClusterTests() + { + base.SetupTest(); + + cmdlet = new GetAzureHDInsightCommand + { + ClusterName = ClusterName, + ResourceGroupName = ResourceGroupName, + CommandRuntime = commandRuntimeMock.Object + }; + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void CanGetHDInsightCluster() + { + var cluster = new Cluster + { + Id = "id", + Name = ClusterName, + Location = Location, + Properties = new ClusterGetProperties + { + ClusterVersion = "3.1", + ClusterState = "Running", + ClusterDefinition = new ClusterDefinition + { + ClusterType = HDInsightClusterType.Hadoop + }, + QuotaInfo = new QuotaInfo + { + CoresUsed = 24 + } + }, + + }; + + var getresponse = new ClusterGetResponse { Cluster = cluster }; + hdinsightManagementClient.Setup(c => c.Get(ResourceGroupName, ClusterName)) + .Returns(getresponse) + .Verifiable(); + + var expected = new List { cluster }; + hdinsightManagementClient.Setup(c => c.GetCluster(ResourceGroupName, ClusterName)) + .Returns(expected) + .Verifiable(); + + cmdlet.HDInsightManagementClient = hdinsightManagementClient.Object; + cmdlet.ExecuteCmdlet(); + + var expectedOutput = new List { new AzureHDInsightCluster(cluster) }; + + commandRuntimeMock.Verify(f => f.WriteObject(expectedOutput, true), Times.Once); + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/packages.config b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/packages.config new file mode 100644 index 000000000000..8c88c7093ac7 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/packages.config @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GrantAzureHDInsightHttpServicesAccessCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GrantAzureHDInsightHttpServicesAccessCommand.cs index 850968a9bffe..38d0ddf23bee 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GrantAzureHDInsightHttpServicesAccessCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GrantAzureHDInsightHttpServicesAccessCommand.cs @@ -43,7 +43,7 @@ public class GrantAzureHDInsightHttpServicesAccessCommand : HDInsightCmdletBase [Parameter(Position = 2, Mandatory = true, HelpMessage = "Gets or sets the login for the cluster's user.")] - public PSCredential HttpUser { get; set; } + public PSCredential HttpCredential { get; set; } #endregion @@ -52,8 +52,8 @@ public override void ExecuteCmdlet() var httpParams = new HttpSettingsParameters { HttpUserEnabled = true, - HttpUsername = HttpUser.UserName, - HttpPassword = HttpUser.Password.ConvertToString() + HttpUsername = HttpCredential.UserName, + HttpPassword = HttpCredential.Password.ConvertToString() }; HDInsightManagementClient.ConfigureHttp(ResourceGroupName, ClusterName, httpParams); diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GrantAzureHDInsightRdpServicesAccessCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GrantAzureHDInsightRdpServicesAccessCommand.cs index cea8d0528684..6d14f237bd53 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GrantAzureHDInsightRdpServicesAccessCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GrantAzureHDInsightRdpServicesAccessCommand.cs @@ -43,8 +43,8 @@ public class GrantAzureHDInsightRdpServicesAccessCommand : HDInsightCmdletBase [Parameter(Position = 2, Mandatory = true, - HelpMessage = "Gets or sets the username for RDP access to the cluster.")] - public PSCredential RdpUser { get; set; } + HelpMessage = "Gets or sets the credential for RDP access to the cluster.")] + public PSCredential RdpCredential { get; set; } [Parameter(Position = 3, Mandatory = true, @@ -63,8 +63,8 @@ public override void ExecuteCmdlet() { RdpSettings = new RdpSettings { - UserName = RdpUser.UserName, - Password = RdpUser.Password.ConvertToString(), + UserName = RdpCredential.UserName, + Password = RdpCredential.Password.ConvertToString(), ExpiryDate = RdpAccessExpiry } } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterCommand.cs index 0a442c8b71d6..5a57cfd13e83 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterCommand.cs @@ -28,7 +28,7 @@ namespace Microsoft.Azure.Commands.HDInsight Constants.CommandNames.AzureHDInsightCluster), OutputType( typeof(AzureHDInsightCluster))] - public class NewAzureHDInsightCommand : HDInsightCmdletBase + public class NewAzureHDInsightClusterCommand : HDInsightCmdletBase { private ClusterCreateParameters parameters; #region Input Parameter Definitions @@ -69,7 +69,7 @@ public int ClusterSizeInNodes Position = 4, Mandatory = true, HelpMessage = "Gets or sets the login for the cluster's user.")] - public PSCredential HttpUser { get; set; } + public PSCredential HttpCredential { get; set; } [Parameter( Position = 5, @@ -167,14 +167,14 @@ public OSType OSType set { parameters.OSType = value; } } - [Parameter(HelpMessage = "Gets or sets SSH user name.")] - public PSCredential SshUser { get; set; } + [Parameter(HelpMessage = "Gets or sets SSH credential.")] + public PSCredential SshCredential { get; set; } [Parameter(HelpMessage = "Gets or sets the public key to be used for SSH.")] public string SshPublicKey { get; set; } - [Parameter(HelpMessage = "Gets or sets the username for RDP access to the cluster.")] - public PSCredential RdpUser { get; set; } + [Parameter(HelpMessage = "Gets or sets the credential for RDP access to the cluster.")] + public PSCredential RdpCredential { get; set; } [Parameter(HelpMessage = "Gets or sets the expiry DateTime for RDP access on the cluster.")] public DateTime RdpAccessExpiry @@ -238,7 +238,7 @@ var storageAccount in #endregion - public NewAzureHDInsightCommand() + public NewAzureHDInsightClusterCommand() { parameters = new ClusterCreateParameters(); AdditionalStorageAccounts = new Dictionary(); @@ -248,18 +248,18 @@ public NewAzureHDInsightCommand() public override void ExecuteCmdlet() { - parameters.UserName = HttpUser.UserName; - parameters.Password = HttpUser.Password.ConvertToString(); + parameters.UserName = HttpCredential.UserName; + parameters.Password = HttpCredential.Password.ConvertToString(); - if (RdpUser != null) + if (RdpCredential != null) { - parameters.RdpUsername = RdpUser.UserName; - parameters.RdpPassword = RdpUser.Password.ConvertToString(); + parameters.RdpUsername = RdpCredential.UserName; + parameters.RdpPassword = RdpCredential.Password.ConvertToString(); } - if (SshUser != null) + if (SshCredential != null) { - parameters.SshUserName = SshUser.UserName; - parameters.SshPassword = SshUser.Password.ConvertToString(); + parameters.SshUserName = SshCredential.UserName; + parameters.SshPassword = SshCredential.Password.ConvertToString(); } foreach ( var storageAccount in diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHdInsightManagementClient.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHdInsightManagementClient.cs index 6aba0d37a505..8be9f4bf70b7 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHdInsightManagementClient.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHdInsightManagementClient.cs @@ -39,18 +39,16 @@ public ClusterGetResponse CreateNewCluster(string resourceGroupName, string clus return HdInsightManagementClient.Clusters.Create(resourceGroupName, clusterName, parameters); } - public List GetCluster(string resourceGroupName, string clusterName) + public virtual List GetCluster(string resourceGroupName, string clusterName) { var result = new List(); if (string.IsNullOrEmpty(resourceGroupName) && string.IsNullOrEmpty(clusterName)) { - var listresponse = HdInsightManagementClient.Clusters.List(); - result.AddRange(listresponse.Clusters); + result.AddRange(ListClusters().Clusters); } else if (string.IsNullOrEmpty(clusterName)) { - var listresponse = HdInsightManagementClient.Clusters.ListByResourceGroup(resourceGroupName); - result.AddRange(listresponse.Clusters); + result.AddRange(ListClusters(resourceGroupName).Clusters); } else if (string.IsNullOrEmpty(resourceGroupName)) { @@ -58,7 +56,7 @@ public List GetCluster(string resourceGroupName, string clusterName) } else { - var getresponse = HdInsightManagementClient.Clusters.Get(resourceGroupName, clusterName); + var getresponse = Get(resourceGroupName, clusterName); if (getresponse != null) { result.Add(getresponse.Cluster); @@ -67,6 +65,21 @@ public List GetCluster(string resourceGroupName, string clusterName) return result; } + public virtual ClusterListResponse ListClusters() + { + return HdInsightManagementClient.Clusters.List(); + } + + public virtual ClusterListResponse ListClusters(string resourceGroupName) + { + return HdInsightManagementClient.Clusters.ListByResourceGroup(resourceGroupName); + } + + public virtual ClusterGetResponse Get(string resourceGroupName, string clusterName) + { + return HdInsightManagementClient.Clusters.Get(resourceGroupName, clusterName); + } + public HDInsightLongRunningOperationResponse ResizeCluster(string resourceGroupName, string clusterName, ClusterResizeParameters resizeParams) { return HdInsightManagementClient.Clusters.Resize(resourceGroupName, clusterName, resizeParams); From 9650bc323ce1ee801258c51ec446f6de1b545f9c Mon Sep 17 00:00:00 2001 From: Shefali Date: Tue, 2 Jun 2015 08:15:48 -0700 Subject: [PATCH 16/38] get tests --- .../Properties/AssemblyInfo.cs | 1 - .../GetAzureHDInsightClusterTests.cs | 144 ++++++++++++++++-- .../StartAzureHDInsightJobCommand.cs | 1 - .../Job/AzureHDInsightHiveJobDefinition.cs | 1 - .../Job/AzureHdInsightJobManagementClient.cs | 2 - .../Models/Management/AzureHDInsightConfig.cs | 2 - .../Management/AzureHDInsightMetastoreType.cs | 2 - .../Properties/AssemblyInfo.cs | 1 - 8 files changed, 131 insertions(+), 23 deletions(-) diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/Properties/AssemblyInfo.cs b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/Properties/AssemblyInfo.cs index 33fa8d3caa92..6fbc40f8ebf2 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/Properties/AssemblyInfo.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/Properties/AssemblyInfo.cs @@ -1,5 +1,4 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/ScenarioTests/GetAzureHDInsightClusterTests.cs b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/ScenarioTests/GetAzureHDInsightClusterTests.cs index 14f6093694b6..17108174afa4 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/ScenarioTests/GetAzureHDInsightClusterTests.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/ScenarioTests/GetAzureHDInsightClusterTests.cs @@ -12,9 +12,7 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using System.Collections; using System.Collections.Generic; -using System.Management.Automation.Runspaces; using Microsoft.Azure.Commands.HDInsight.Models; using Microsoft.Azure.Management.HDInsight.Models; using Microsoft.WindowsAzure.Commands.ScenarioTest; @@ -34,9 +32,10 @@ public GetAzureHDInsightClusterTests() cmdlet = new GetAzureHDInsightCommand { + CommandRuntime = commandRuntimeMock.Object, + HDInsightManagementClient = hdinsightManagementClient.Object, ClusterName = ClusterName, - ResourceGroupName = ResourceGroupName, - CommandRuntime = commandRuntimeMock.Object + ResourceGroupName = ResourceGroupName }; } @@ -60,9 +59,9 @@ public void CanGetHDInsightCluster() QuotaInfo = new QuotaInfo { CoresUsed = 24 - } - }, - + }, + OperatingSystemType = OSType.Windows + } }; var getresponse = new ClusterGetResponse { Cluster = cluster }; @@ -70,17 +69,136 @@ public void CanGetHDInsightCluster() .Returns(getresponse) .Verifiable(); - var expected = new List { cluster }; - hdinsightManagementClient.Setup(c => c.GetCluster(ResourceGroupName, ClusterName)) - .Returns(expected) + hdinsightManagementClient.Setup(c => c.GetCluster(It.IsAny(), It.IsAny())) + .CallBase() .Verifiable(); - cmdlet.HDInsightManagementClient = hdinsightManagementClient.Object; cmdlet.ExecuteCmdlet(); - var expectedOutput = new List { new AzureHDInsightCluster(cluster) }; + commandRuntimeMock.VerifyAll(); + commandRuntimeMock.Verify(f => f.WriteObject(It.IsAny>(), true), Times.Once); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void CanListHDInsightClustersInRG() + { + var cluster1 = new Cluster + { + Id = "id", + Name = ClusterName + "1", + Location = Location, + Properties = new ClusterGetProperties + { + ClusterVersion = "3.1", + ClusterState = "Running", + ClusterDefinition = new ClusterDefinition + { + ClusterType = HDInsightClusterType.Hadoop + }, + QuotaInfo = new QuotaInfo + { + CoresUsed = 24 + }, + OperatingSystemType = OSType.Windows + } + }; + + var cluster2 = new Cluster + { + Id = "id", + Name = ClusterName + "2", + Location = Location, + Properties = new ClusterGetProperties + { + ClusterVersion = "3.1", + ClusterState = "Running", + ClusterDefinition = new ClusterDefinition + { + ClusterType = HDInsightClusterType.Hadoop + }, + QuotaInfo = new QuotaInfo + { + CoresUsed = 24 + }, + OperatingSystemType = OSType.Windows + } + }; + + var listresponse = new ClusterListResponse {Clusters = new[] {cluster1, cluster2}}; + hdinsightManagementClient.Setup(c => c.ListClusters(ResourceGroupName)) + .Returns(listresponse) + .Verifiable(); + + hdinsightManagementClient.Setup(c => c.GetCluster(It.IsAny(), It.IsAny())) + .CallBase() + .Verifiable(); + + cmdlet.ExecuteCmdlet(); + + commandRuntimeMock.VerifyAll(); + commandRuntimeMock.Verify(f => f.WriteObject(It.IsAny>(), true), Times.Once); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void CanListHDInsightClusters() + { + var cluster1 = new Cluster + { + Id = "id", + Name = ClusterName + "1", + Location = Location, + Properties = new ClusterGetProperties + { + ClusterVersion = "3.1", + ClusterState = "Running", + ClusterDefinition = new ClusterDefinition + { + ClusterType = HDInsightClusterType.Hadoop + }, + QuotaInfo = new QuotaInfo + { + CoresUsed = 24 + }, + OperatingSystemType = OSType.Windows + } + }; + + var cluster2 = new Cluster + { + Id = "id", + Name = ClusterName + "2", + Location = Location, + Properties = new ClusterGetProperties + { + ClusterVersion = "3.1", + ClusterState = "Running", + ClusterDefinition = new ClusterDefinition + { + ClusterType = HDInsightClusterType.Hadoop + }, + QuotaInfo = new QuotaInfo + { + CoresUsed = 24 + }, + OperatingSystemType = OSType.Windows + } + }; + + var listresponse = new ClusterListResponse { Clusters = new[] { cluster1, cluster2 } }; + hdinsightManagementClient.Setup(c => c.ListClusters(ResourceGroupName)) + .Returns(listresponse) + .Verifiable(); + + hdinsightManagementClient.Setup(c => c.GetCluster(It.IsAny(), It.IsAny())) + .CallBase() + .Verifiable(); + + cmdlet.ExecuteCmdlet(); - commandRuntimeMock.Verify(f => f.WriteObject(expectedOutput, true), Times.Once); + commandRuntimeMock.VerifyAll(); + commandRuntimeMock.Verify(f => f.WriteObject(It.IsAny>(), true), Times.Once); } } } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/StartAzureHDInsightJobCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/StartAzureHDInsightJobCommand.cs index 9c62eac40312..26f19c206ebd 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/StartAzureHDInsightJobCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/StartAzureHDInsightJobCommand.cs @@ -15,7 +15,6 @@ using System; using System.Globalization; using System.Management.Automation; -using System.Security; using Hyak.Common; using Microsoft.Azure.Commands.HDInsight.Commands; using Microsoft.Azure.Commands.HDInsight.Models; diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightHiveJobDefinition.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightHiveJobDefinition.cs index cc7632d35746..e99f792bb9ff 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightHiveJobDefinition.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightHiveJobDefinition.cs @@ -13,7 +13,6 @@ // ---------------------------------------------------------------------------------- using System.Collections.Generic; -using Microsoft.Azure.Management.HDInsight.Job.Models; namespace Microsoft.Azure.Commands.HDInsight.Models { diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHdInsightJobManagementClient.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHdInsightJobManagementClient.cs index 5d4b61e62077..ca49ef992f61 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHdInsightJobManagementClient.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHdInsightJobManagementClient.cs @@ -16,8 +16,6 @@ using System.Threading.Tasks; using Hyak.Common; using Microsoft.Azure.Common.Authentication; -using Microsoft.Azure.Common.Authentication.Models; -using Microsoft.Azure.Common.Authentication.Properties; using Microsoft.Azure.Management.HDInsight.Job; using Microsoft.Azure.Management.HDInsight.Job.Models; diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHDInsightConfig.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHDInsightConfig.cs index d4afa356c953..d56ad615a276 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHDInsightConfig.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHDInsightConfig.cs @@ -13,8 +13,6 @@ // ---------------------------------------------------------------------------------- using System.Collections.Generic; -using System.Linq; -using System.Management.Automation; using Microsoft.Azure.Management.HDInsight.Models; namespace Microsoft.Azure.Commands.HDInsight.Models diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHDInsightMetastoreType.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHDInsightMetastoreType.cs index 45efdf6f52f6..2874a509b055 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHDInsightMetastoreType.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHDInsightMetastoreType.cs @@ -12,8 +12,6 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using System.Management.Automation; - namespace Microsoft.Azure.Commands.HDInsight.Models { /// diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Properties/AssemblyInfo.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Properties/AssemblyInfo.cs index 8686e0ea45ca..e04d8675c49d 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Properties/AssemblyInfo.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Properties/AssemblyInfo.cs @@ -1,5 +1,4 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following From 8c33117e670bed1fab6bfb9c934507127478aec6 Mon Sep 17 00:00:00 2001 From: Shefali Date: Wed, 3 Jun 2015 09:21:49 -0700 Subject: [PATCH 17/38] create, http, rdp tests --- .../Commands.HDInsight.Test.csproj | 4 + .../GetAzureHDInsightClusterTests.cs | 28 +++- .../ScenarioTests/HttpTests.cs | 128 +++++++++++++++++ .../NewAzureHDInsightClusterTests.cs | 133 ++++++++++++++++++ .../ScenarioTests/RdpTests.cs | 109 ++++++++++++++ .../NewAzureHDInsightClusterCommand.cs | 2 +- .../AzureHdInsightManagementClient.cs | 14 +- 7 files changed, 404 insertions(+), 14 deletions(-) create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight.Test/ScenarioTests/HttpTests.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight.Test/ScenarioTests/NewAzureHDInsightClusterTests.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight.Test/ScenarioTests/RdpTests.cs diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj index 820cf5561e1f..ab4d3d628958 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj +++ b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj @@ -114,6 +114,9 @@ + + + @@ -135,6 +138,7 @@ + diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/ScenarioTests/GetAzureHDInsightClusterTests.cs b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/ScenarioTests/GetAzureHDInsightClusterTests.cs index 17108174afa4..5536ee8491ca 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/ScenarioTests/GetAzureHDInsightClusterTests.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/ScenarioTests/GetAzureHDInsightClusterTests.cs @@ -13,6 +13,7 @@ // ---------------------------------------------------------------------------------- using System.Collections.Generic; +using System.Linq; using Microsoft.Azure.Commands.HDInsight.Models; using Microsoft.Azure.Management.HDInsight.Models; using Microsoft.WindowsAzure.Commands.ScenarioTest; @@ -33,9 +34,7 @@ public GetAzureHDInsightClusterTests() cmdlet = new GetAzureHDInsightCommand { CommandRuntime = commandRuntimeMock.Object, - HDInsightManagementClient = hdinsightManagementClient.Object, - ClusterName = ClusterName, - ResourceGroupName = ResourceGroupName + HDInsightManagementClient = hdinsightManagementClient.Object }; } @@ -43,6 +42,8 @@ public GetAzureHDInsightClusterTests() [Trait(Category.AcceptanceType, Category.CheckIn)] public void CanGetHDInsightCluster() { + cmdlet.ClusterName = ClusterName; + cmdlet.ResourceGroupName = ResourceGroupName; var cluster = new Cluster { Id = "id", @@ -83,6 +84,7 @@ public void CanGetHDInsightCluster() [Trait(Category.AcceptanceType, Category.CheckIn)] public void CanListHDInsightClustersInRG() { + cmdlet.ResourceGroupName = ResourceGroupName; var cluster1 = new Cluster { Id = "id", @@ -137,7 +139,14 @@ public void CanListHDInsightClustersInRG() cmdlet.ExecuteCmdlet(); commandRuntimeMock.VerifyAll(); - commandRuntimeMock.Verify(f => f.WriteObject(It.IsAny>(), true), Times.Once); + commandRuntimeMock.Verify( + f => + f.WriteObject( + It.Is>( + list => + list.Count == 2 && + list.Any(c => c.Name == cluster1.Name) && + list.Any(c => c.Name == cluster2.Name)), true), Times.Once); } [Fact] @@ -187,7 +196,7 @@ public void CanListHDInsightClusters() }; var listresponse = new ClusterListResponse { Clusters = new[] { cluster1, cluster2 } }; - hdinsightManagementClient.Setup(c => c.ListClusters(ResourceGroupName)) + hdinsightManagementClient.Setup(c => c.ListClusters()) .Returns(listresponse) .Verifiable(); @@ -198,7 +207,14 @@ public void CanListHDInsightClusters() cmdlet.ExecuteCmdlet(); commandRuntimeMock.VerifyAll(); - commandRuntimeMock.Verify(f => f.WriteObject(It.IsAny>(), true), Times.Once); + commandRuntimeMock.Verify( + f => + f.WriteObject( + It.Is>( + list => + list.Count == 2 && + list.Any(c => c.Name == cluster1.Name) && + list.Any(c => c.Name == cluster2.Name)), true), Times.Once); } } } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/ScenarioTests/HttpTests.cs b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/ScenarioTests/HttpTests.cs new file mode 100644 index 000000000000..744d5d3b63e8 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/ScenarioTests/HttpTests.cs @@ -0,0 +1,128 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using System.Net; +using Microsoft.Azure.Management.HDInsight.Models; +using Microsoft.WindowsAzure.Commands.Common; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Moq; +using Xunit; + +namespace Microsoft.Azure.Commands.HDInsight.Test +{ + public class HttpTests : HDInsightTestBase + { + private GrantAzureHDInsightHttpServicesAccessCommand grantcmdlet; + private RevokeAzureHDInsightHttpServicesAccessCommand revokecmdlet; + private const string ClusterName = "hdicluster"; + + private readonly PSCredential _httpCred; + + public HttpTests() + { + base.SetupTest(); + _httpCred = new PSCredential("hadoopuser", string.Format("Password1!").ConvertToSecureString()); + + grantcmdlet = new GrantAzureHDInsightHttpServicesAccessCommand + { + CommandRuntime = commandRuntimeMock.Object, + HDInsightManagementClient = hdinsightManagementClient.Object, + ClusterName = ClusterName, + ResourceGroupName = ResourceGroupName, + HttpCredential = _httpCred + }; + revokecmdlet = new RevokeAzureHDInsightHttpServicesAccessCommand + { + CommandRuntime = commandRuntimeMock.Object, + HDInsightManagementClient = hdinsightManagementClient.Object, + ClusterName = ClusterName, + ResourceGroupName = ResourceGroupName + }; + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void CanGrantHttpAccess() + { + hdinsightManagementClient.Setup( + c => + c.ConfigureHttp(ResourceGroupName, ClusterName, + It.Is( + param => + param.HttpUserEnabled && param.HttpUsername == _httpCred.UserName && + param.HttpPassword == _httpCred.Password.ConvertToString()))) + .Returns(new HDInsightLongRunningOperationResponse + { + Error = null, + StatusCode = HttpStatusCode.OK, + Status = OperationStatus.Succeeded + }) + .Verifiable(); + + var connectivitysettings = new HttpConnectivitySettings + { + HttpPassword = _httpCred.Password.ConvertToString(), + HttpUserEnabled = true, + HttpUsername = _httpCred.UserName, + StatusCode = HttpStatusCode.OK + }; + + hdinsightManagementClient.Setup(c => c.GetConnectivitySettings(ResourceGroupName, ClusterName)) + .Returns(connectivitysettings) + .Verifiable(); + + grantcmdlet.ExecuteCmdlet(); + + commandRuntimeMock.VerifyAll(); + commandRuntimeMock.Verify(f => f.WriteObject(connectivitysettings), Times.Once); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void CanRevokeHttpAccess() + { + hdinsightManagementClient.Setup( + c => + c.ConfigureHttp(ResourceGroupName, ClusterName, + It.Is( + param => + !param.HttpUserEnabled && + string.IsNullOrEmpty(param.HttpPassword) && + string.IsNullOrEmpty(param.HttpUsername)))) + .Returns(new HDInsightLongRunningOperationResponse + { + Error = null, + StatusCode = HttpStatusCode.OK, + Status = OperationStatus.Succeeded + }) + .Verifiable(); + + var connectivitysettings = new HttpConnectivitySettings + { + HttpUserEnabled = false, + StatusCode = HttpStatusCode.OK + }; + + hdinsightManagementClient.Setup(c => c.GetConnectivitySettings(ResourceGroupName, ClusterName)) + .Returns(connectivitysettings) + .Verifiable(); + + revokecmdlet.ExecuteCmdlet(); + + commandRuntimeMock.VerifyAll(); + commandRuntimeMock.Verify(f => f.WriteObject(connectivitysettings), Times.Once); + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/ScenarioTests/NewAzureHDInsightClusterTests.cs b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/ScenarioTests/NewAzureHDInsightClusterTests.cs new file mode 100644 index 000000000000..ccd403a0f959 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/ScenarioTests/NewAzureHDInsightClusterTests.cs @@ -0,0 +1,133 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Commands.HDInsight.Models; +using Microsoft.Azure.Management.HDInsight.Models; +using Microsoft.WindowsAzure.Commands.Common; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Moq; +using Newtonsoft.Json; +using Xunit; + +namespace Microsoft.Azure.Commands.HDInsight.Test +{ + public class NewAzureHDInsightClusterTests : HDInsightTestBase + { + private NewAzureHDInsightClusterCommand cmdlet; + private const string ClusterName = "hdicluster"; + private const string StorageName = "giyerwestus1.blob.core.windows.net"; + private const string StorageKey = "O9EQvp3A3AjXq/W27rst1GQfLllhp01qlJMJfSU1hVW2K42gUeiUUn2D8zX2lU3taiXSSfqkZlcPv+nQcYUxYw=="; + private const int ClusterSize = 4; + + private readonly PSCredential _httpCred; + + public NewAzureHDInsightClusterTests() + { + base.SetupTest(); + _httpCred = new PSCredential("hadoopuser", string.Format("Password1!").ConvertToSecureString()); + cmdlet = new NewAzureHDInsightClusterCommand + { + CommandRuntime = commandRuntimeMock.Object, + HDInsightManagementClient = hdinsightManagementClient.Object + }; + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void CanCreateNewHDInsightCluster() + { + cmdlet.ClusterName = ClusterName; + cmdlet.ResourceGroupName = ResourceGroupName; + cmdlet.ClusterSizeInNodes = ClusterSize; + cmdlet.Location = Location; + cmdlet.HttpCredential = _httpCred; + cmdlet.DefaultStorageAccountName = StorageName; + cmdlet.DefaultStorageAccountKey = StorageKey; + + var cluster = new Cluster + { + Id = "id", + Name = ClusterName, + Location = Location, + Properties = new ClusterGetProperties + { + ClusterVersion = "3.1", + ClusterState = "Running", + ClusterDefinition = new ClusterDefinition + { + ClusterType = HDInsightClusterType.Hadoop + }, + QuotaInfo = new QuotaInfo + { + CoresUsed = 24 + }, + OperatingSystemType = OSType.Windows + } + }; + var coreConfigs = new Dictionary + { + {"fs.defaultFS", "wasb://giyertestcsmv2@" + StorageName}, + { + "fs.azure.account.key." + StorageName, + StorageKey + } + }; + var gatewayConfigs = new Dictionary + { + {"restAuthCredential.isEnabled", "true"}, + {"restAuthCredential.username", _httpCred.UserName}, + {"restAuthCredential.password", _httpCred.Password.ConvertToString()} + }; + + var configurations = new Dictionary> + { + {"core-site", coreConfigs}, + {"gateway", gatewayConfigs} + }; + var serializedConfig = JsonConvert.SerializeObject(configurations); + cluster.Properties.ClusterDefinition.Configurations = serializedConfig; + + var getresponse = new ClusterGetResponse {Cluster = cluster}; + + hdinsightManagementClient.Setup(c => c.CreateNewCluster(ResourceGroupName, ClusterName, It.Is( + parameters => + parameters.ClusterSizeInNodes == ClusterSize && + parameters.DefaultStorageAccountName == StorageName && + parameters.DefaultStorageAccountKey == StorageKey && + parameters.Location == Location && + parameters.UserName == _httpCred.UserName && + parameters.Password == _httpCred.Password.ConvertToString() && + parameters.ClusterType == HDInsightClusterType.Hadoop && + parameters.OSType == OSType.Windows))) + .Returns(getresponse) + .Verifiable(); + + cmdlet.ExecuteCmdlet(); + + commandRuntimeMock.VerifyAll(); + commandRuntimeMock.Verify(f => f.WriteObject(It.Is( + clusterout => + clusterout.ClusterState == "Running" && + clusterout.ClusterType == HDInsightClusterType.Hadoop && + clusterout.ClusterVersion == "3.1" && + clusterout.CoresUsed == 24 && + clusterout.Location == Location && + clusterout.Name == ClusterName && + clusterout.OperatingSystemType == OSType.Windows)), + Times.Once); + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/ScenarioTests/RdpTests.cs b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/ScenarioTests/RdpTests.cs new file mode 100644 index 000000000000..4c66cb657da9 --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/ScenarioTests/RdpTests.cs @@ -0,0 +1,109 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Net; +using Microsoft.Azure.Management.HDInsight.Models; +using Microsoft.WindowsAzure.Commands.Common; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Moq; +using Xunit; + +namespace Microsoft.Azure.Commands.HDInsight.Test +{ + public class RdpTests : HDInsightTestBase + { + private GrantAzureHDInsightRdpServicesAccessCommand grantcmdlet; + private RevokeAzureHDInsightHttpServicesAccessCommand revokecmdlet; + private const string ClusterName = "hdicluster"; + + private readonly PSCredential _rdpCred; + + public RdpTests() + { + base.SetupTest(); + _rdpCred = new PSCredential("rdpuser", string.Format("Password1!").ConvertToSecureString()); + + grantcmdlet = new GrantAzureHDInsightRdpServicesAccessCommand + { + CommandRuntime = commandRuntimeMock.Object, + HDInsightManagementClient = hdinsightManagementClient.Object, + ClusterName = ClusterName, + ResourceGroupName = ResourceGroupName, + RdpCredential = _rdpCred, + RdpAccessExpiry = new DateTime(2015, 1, 1) + }; + revokecmdlet = new RevokeAzureHDInsightHttpServicesAccessCommand + { + CommandRuntime = commandRuntimeMock.Object, + HDInsightManagementClient = hdinsightManagementClient.Object, + ClusterName = ClusterName, + ResourceGroupName = ResourceGroupName + }; + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void CanGrantRdpAccess() + { + hdinsightManagementClient.Setup( + c => + c.ConfigureRdp(ResourceGroupName, ClusterName, + It.Is( + param => + param.OsProfile.LinuxOperatingSystemProfile == null && + param.OsProfile.WindowsOperatingSystemProfile.RdpSettings.ExpiryDate == + grantcmdlet.RdpAccessExpiry && + param.OsProfile.WindowsOperatingSystemProfile.RdpSettings.UserName == _rdpCred.UserName && + param.OsProfile.WindowsOperatingSystemProfile.RdpSettings.Password == + _rdpCred.Password.ConvertToString()))) + .Returns(new HDInsightLongRunningOperationResponse + { + Error = null, + StatusCode = HttpStatusCode.OK, + Status = OperationStatus.Succeeded + }) + .Verifiable(); + + grantcmdlet.ExecuteCmdlet(); + + commandRuntimeMock.VerifyAll(); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void CanRevokeRdpAccess() + { + hdinsightManagementClient.Setup( + c => + c.ConfigureRdp(ResourceGroupName, ClusterName, + It.Is( + param => + param.OsProfile.LinuxOperatingSystemProfile == null && + param.OsProfile.WindowsOperatingSystemProfile.RdpSettings == null))) + .Returns(new HDInsightLongRunningOperationResponse + { + Error = null, + StatusCode = HttpStatusCode.OK, + Status = OperationStatus.Succeeded + }) + .Verifiable(); + + grantcmdlet.ExecuteCmdlet(); + + commandRuntimeMock.VerifyAll(); + } + } +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterCommand.cs index 5a57cfd13e83..06a54ab60b9a 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterCommand.cs @@ -184,7 +184,7 @@ public DateTime RdpAccessExpiry } [Parameter(ValueFromPipeline = true, - HelpMessage = "The HDInsight cluster configuration to use when creating the new cluster")] + HelpMessage = "The HDInsight cluster configuration to use when creating the new cluster.")] public AzureHDInsightConfig Config { get { diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHdInsightManagementClient.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHdInsightManagementClient.cs index 8be9f4bf70b7..abacaac0d61c 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHdInsightManagementClient.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHdInsightManagementClient.cs @@ -34,7 +34,7 @@ public AzureHdInsightManagementClient() { } private IHDInsightManagementClient HdInsightManagementClient { get; set; } - public ClusterGetResponse CreateNewCluster(string resourceGroupName, string clusterName, ClusterCreateParameters parameters) + public virtual ClusterGetResponse CreateNewCluster(string resourceGroupName, string clusterName, ClusterCreateParameters parameters) { return HdInsightManagementClient.Clusters.Create(resourceGroupName, clusterName, parameters); } @@ -80,32 +80,32 @@ public virtual ClusterGetResponse Get(string resourceGroupName, string clusterNa return HdInsightManagementClient.Clusters.Get(resourceGroupName, clusterName); } - public HDInsightLongRunningOperationResponse ResizeCluster(string resourceGroupName, string clusterName, ClusterResizeParameters resizeParams) + public virtual HDInsightLongRunningOperationResponse ResizeCluster(string resourceGroupName, string clusterName, ClusterResizeParameters resizeParams) { return HdInsightManagementClient.Clusters.Resize(resourceGroupName, clusterName, resizeParams); } - public ClusterGetResponse DeleteCluster(string resourceGroupName, string clusterName) + public virtual ClusterGetResponse DeleteCluster(string resourceGroupName, string clusterName) { return HdInsightManagementClient.Clusters.Delete(resourceGroupName, clusterName); } - public HDInsightLongRunningOperationResponse ConfigureHttp(string resourceGroupName, string clusterName, HttpSettingsParameters httpSettings) + public virtual HDInsightLongRunningOperationResponse ConfigureHttp(string resourceGroupName, string clusterName, HttpSettingsParameters httpSettings) { return HdInsightManagementClient.Clusters.ConfigureHttpSettings(resourceGroupName, clusterName, httpSettings); } - public HttpConnectivitySettings GetConnectivitySettings(string resourceGroupName, string clusterName) + public virtual HttpConnectivitySettings GetConnectivitySettings(string resourceGroupName, string clusterName) { return HdInsightManagementClient.Clusters.GetConnectivitySettings(resourceGroupName, clusterName); } - public HDInsightLongRunningOperationResponse ConfigureRdp(string resourceGroupName, string clusterName, RDPSettingsParameters rdpSettings) + public virtual HDInsightLongRunningOperationResponse ConfigureRdp(string resourceGroupName, string clusterName, RDPSettingsParameters rdpSettings) { return HdInsightManagementClient.Clusters.ConfigureRdpSettings(resourceGroupName, clusterName, rdpSettings); } - public CapabilitiesResponse GetCapabilities(string location) + public virtual CapabilitiesResponse GetCapabilities(string location) { return HdInsightManagementClient.Clusters.GetCapabilities(location); } From 1fdb9c6d3b0463fbd438417437e27573db7f68ee Mon Sep 17 00:00:00 2001 From: Shefali Date: Wed, 3 Jun 2015 10:41:47 -0700 Subject: [PATCH 18/38] started adding scenario tests --- .../Commands.HDInsight.Test.csproj | 16 +- .../HDInsightTestBase.cs | 1 + .../HDInsightConfigurationTests.cs | 30 +++ .../HDInsightConfigurationTests.ps1 | 23 ++ .../HDInsightScenarioTestsBase.cs | 55 +++++ .../UnitTests/ConfigurationTests.cs | 68 ++++++ .../GetClusterTests.cs} | 5 +- .../UnitTests/GetPropertiesTests.cs | 219 ++++++++++++++++++ .../{ScenarioTests => UnitTests}/HttpTests.cs | 1 - .../NewClusterTests.cs} | 5 +- .../{ScenarioTests => UnitTests}/RdpTests.cs | 7 +- 11 files changed, 415 insertions(+), 15 deletions(-) create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight.Test/ScenarioTests/HDInsightConfigurationTests.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight.Test/ScenarioTests/HDInsightConfigurationTests.ps1 create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight.Test/ScenarioTests/HDInsightScenarioTestsBase.cs create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight.Test/UnitTests/ConfigurationTests.cs rename src/ResourceManager/HDInsight/Commands.HDInsight.Test/{ScenarioTests/GetAzureHDInsightClusterTests.cs => UnitTests/GetClusterTests.cs} (97%) create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight.Test/UnitTests/GetPropertiesTests.cs rename src/ResourceManager/HDInsight/Commands.HDInsight.Test/{ScenarioTests => UnitTests}/HttpTests.cs (98%) rename src/ResourceManager/HDInsight/Commands.HDInsight.Test/{ScenarioTests/NewAzureHDInsightClusterTests.cs => UnitTests/NewClusterTests.cs} (97%) rename src/ResourceManager/HDInsight/Commands.HDInsight.Test/{ScenarioTests => UnitTests}/RdpTests.cs (94%) diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj index ab4d3d628958..389dcd5b7cb6 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj +++ b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj @@ -113,10 +113,15 @@ - - - - + + + + + + + + + @@ -144,6 +149,9 @@ + + + - - Add-AzureVMAdditionalUnattendContent - - Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. - - - - - Add - AzureVMAdditionalUnattendContent - - - - Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. - - - - Add-AzureVMAdditionalUnattendContent - - VM - - VM object to modify. Create one using New-AzureVMConfig cmdlet or Get one using the Get-AzureVM cmdlet. - - PSVirtualMachine - - - Content - - Specifies the base-64 encoded XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less that 4 KB and must include the root element for the setting or feature that is being inserted. - - String - - - SettingName - - Specifies the name of the setting to which the content applies. - Possible values are: - FirstLogonCommands - AutoLogon - - String - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - VM - - VM object to modify. Create one using New-AzureVMConfig cmdlet or Get one using the Get-AzureVM cmdlet. - - PSVirtualMachine - - PSVirtualMachine - - - - - - Content - - Specifies the base-64 encoded XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less that 4 KB and must include the root element for the setting or feature that is being inserted. - - String - - String - - - - - - SettingName - - Specifies the name of the setting to which the content applies. - Possible values are: - FirstLogonCommands - AutoLogon - - String - - String - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - $vm = New-AzureVMConfig -VMName $vmname -VMSize $vmsize; - -$vm = Set-AzureVMOperatingSystem -VM $vm -Windows -ComputerName $computerName -Credential $cred - -$aucSetting = "AutoLogon"; -$aucContent = "<UserAccounts><AdministratorPassword><Value>" + $password + "</Value><PlainText>true</PlainText></AdministratorPassword></UserAccounts>"; - -$vm = Add-AzureVMAdditionalUnattendContentConfig -VM $vm -Content $aucContent -SettingName $aucSetting; - - - - - - - - - - - - - - - - - - - - - - Add-AzureVMDataDisk - - Add Data Disk to VM - - - - - Add - AzureVMDataDisk - - - - This cmdlets allows you to add a Data Disk to the VM at creation time or to an existing VM - - - - Add-AzureVMDataDisk - - VM - - Local VM Object to add the Data Disk to. The local VM object can be created with New-AzureVMConfig cmdlet or gotten through the Get-AzureVM cmdlet. - - PSVirtualMachine - - - Name - - Name of the Data Disk - - String - - - VhdUri - - Specifies the VHD file that needs to be created when a platform image or user image is used. This is where the image blob will be copied to start the VM from. - - String - - - Caching - - Specifies the caching mode of the disk. This setting impacts the consistency and performance of the disk. Note: Changing this value causes the Virtual Machine to reboot. - Possible values are: - • ReadOnly - • ReadWrite - The default value is ReadWrite. - - String - - - DiskSizeInGB - - Specifies the size, in GB, of an empty disk to be attached to the Virtual Machine. - - Nullable`1[Int32] - - - Lun - - Specifies the Logical Unit Number (LUN) for the data disk. If the disk is the first disk that is added, this element is optional and the default value of 0 is used. If more than one disk is being added, this element is required. - - Nullable`1[Int32] - - - CreateOption - - Specifies whether to create a disk in the VM from a platform or user image, to create a new empty disk or to attach an existing disk. Valid values are - "FromImage”, “Attach” or “Empty” - - String - - - SourceImageUri - - Uri of the existing VHD in case attaching the disk to the VM - - String - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - VM - - Local VM Object to add the Data Disk to. The local VM object can be created with New-AzureVMConfig cmdlet or gotten through the Get-AzureVM cmdlet. - - PSVirtualMachine - - PSVirtualMachine - - - - - - Name - - Name of the Data Disk - - String - - String - - - - - - VhdUri - - Specifies the VHD file that needs to be created when a platform image or user image is used. This is where the image blob will be copied to start the VM from. - - String - - String - - - - - - Caching - - Specifies the caching mode of the disk. This setting impacts the consistency and performance of the disk. Note: Changing this value causes the Virtual Machine to reboot. - Possible values are: - • ReadOnly - • ReadWrite - The default value is ReadWrite. - - String - - String - - - - - - DiskSizeInGB - - Specifies the size, in GB, of an empty disk to be attached to the Virtual Machine. - - Nullable`1[Int32] - - Nullable`1[Int32] - - - - - - Lun - - Specifies the Logical Unit Number (LUN) for the data disk. If the disk is the first disk that is added, this element is optional and the default value of 0 is used. If more than one disk is being added, this element is required. - - Nullable`1[Int32] - - Nullable`1[Int32] - - - - - - CreateOption - - Specifies whether to create a disk in the VM from a platform or user image, to create a new empty disk or to attach an existing disk. Valid values are - "FromImage”, “Attach” or “Empty” - - String - - String - - - - - - SourceImageUri - - Uri of the existing VHD in case attaching the disk to the VM - - String - - String - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Add Data Disk to a new VM -------------------------- - - PS C:\> - - # Create the local VM Object -$vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -AvailabilitySetID $as1.Id - -$stoname = 'teststo'; -$stotype = 'Standard_GRS'; - -$osDiskName = 'osDisk'; -$osDiskCaching = 'ReadWrite'; -$osDiskVhdUri = "https://$stoname.blob.core.windows.net/test/os.vhd"; - -$dataDiskVhdUri1 = "https://$stoname.blob.core.windows.net/test/data1.vhd"; -$dataDiskVhdUri2 = "https://$stoname.blob.core.windows.net/test/data2.vhd"; -$dataDiskVhdUri3 = "https://$stoname.blob.core.windows.net/test/data3.vhd"; - -# Add Data Disks to this VM -$vm = Add-AzureVMDataDisk -VM $vm -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 0 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; -$vm = Add-AzureVMDataDisk -VM $vm -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 1 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; -$vm = Add-AzureVMDataDisk -VM $vm -Name 'testDataDisk3' -Caching 'ReadOnly' -DiskSizeInGB 12 -Lun 2 -VhdUri $dataDiskVhdUri3 -CreateOption Empty; - - - - - - - - - - - - - - - - -------------------------- Add a Data Disk to an existing VM -------------------------- - - PS C:\> - - # Get the VM -$vm = Get-AzureVM -ResourceGroupName "myRG" -Name "crpVM" - -# Add Data Disk disk1 to VM -Add-AzureVMDataDisk –VM $vm –Name "disk1" –VhdUri "http://storageaccountname.blob.core.windows.net/vhds/test2.vhd" –LUN 0 –Caching ReadOnly –DiskSizeinGB 1 -CreateOption Empty; - -# Update VM state -Update-AzureVM -ResourceGroupName "myRG" -Name "crpVM" –VM $vm - - - - - - - - - - - - - - - - - - - - - - Add-AzureVMNetworkInterface - - Add a Network Interface to the VM - - - - - Add - AzureVMNetworkInterface - - - - This cmdlets allows you to add a NIC to the VM at creation time or to an existing VM - - - - Add-AzureVMNetworkInterface - - VM - - Local VM Object to add the Network Interface to. The local VM object can be created with New-AzureVMConfig cmdlet or gotten through the Get-AzureVM cmdlet. - - PSVirtualMachine - - - Id - - Id of the Network Interface. This can be gotten using the Get-AzureNetworkInterface cmdlet. - - String - - - Primary - - - - SwitchParameter - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - VM - - Local VM Object to add the Network Interface to. The local VM object can be created with New-AzureVMConfig cmdlet or gotten through the Get-AzureVM cmdlet. - - PSVirtualMachine - - PSVirtualMachine - - - - - - Id - - Id of the Network Interface. This can be gotten using the Get-AzureNetworkInterface cmdlet. - - String - - String - - - - - - Primary - - - - SwitchParameter - - SwitchParameter - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Add a Network Interface to a new VM -------------------------- - - PS C:\> - - # Get the VM -$vm = Get-AzureVM -ResourceGroupName "myRG" -Name "crpVM - -# Add a Network Interface to the VM -Add-AzureVMNetworkInterface –VM $vm –Id "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Network/NetworkAdapters/Nic1" - - - - - - - - - - - - - - - - -------------------------- Add a Network Interface to an existing VM -------------------------- - - PS C:\> - - # Get the VM -$vm = Get-AzureVM -ResourceGroupName "myRG" -Name "crpVM" - -# Add a Network Interface to the VM -Add-AzureVMNetworkInterface –VM $vm –Id "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Network/NetworkAdapters/Nic1" - -# Update VM state -Update-AzureVM -ResourceGroupName "myRG" -Name "crpVM" –VM $vm - - - - - - - - - - - - - - - - - - - - - - Add-AzureVMSecret - - Add a secret to the VM which allows you to place a certificate on the VM - - - - - Add - AzureVMSecret - - - - Add a secret to the VM which allows you to place a certificate on the VM - - - - Add-AzureVMSecret - - VM - - VM object to modify. Create one using New-AzureVMConfig cmdlet or Get one using the Get-AzureVM cmdlet. - - PSVirtualMachine - - - SourceVaultId - - Resource Id of the Key Vault which contains the certificates to place on the VM. Also acts as the key for adding multiple certificates i.e. use the same SourceVaultId when adding multiple certificates from the same KeyVault - - String - - - CertificateStore - - Name of the certificate store on the Windows VM the certificate should be added to - - String - - - CertificateUrl - - A KeyVault Url pointing to a KeyVault secret which contains a certificate formatted as follows - It is the Base64 encoding of the following JSON Object which is encoded in UTF-8 - { - “data”:”<Base64-encoded-file>”, - “dataType” :”<file-format>”, - “password”:”<pfx-file-password>” -} - - String - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - VM - - VM object to modify. Create one using New-AzureVMConfig cmdlet or Get one using the Get-AzureVM cmdlet. - - PSVirtualMachine - - PSVirtualMachine - - - - - - SourceVaultId - - Resource Id of the Key Vault which contains the certificates to place on the VM. Also acts as the key for adding multiple certificates i.e. use the same SourceVaultId when adding multiple certificates from the same KeyVault - - String - - String - - - - - - CertificateStore - - Name of the certificate store on the Windows VM the certificate should be added to - - String - - String - - - - - - CertificateUrl - - A KeyVault Url pointing to a KeyVault secret which contains a certificate formatted as follows - It is the Base64 encoding of the following JSON Object which is encoded in UTF-8 - { - “data”:”<Base64-encoded-file>”, - “dataType” :”<file-format>”, - “password”:”<pfx-file-password>” -} - - String - - String - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - $vm = New-AzureVMConfig -VMName $vmname -VMSize $vmsize; - -$vm = Set-AzureVMOperatingSystem -VM $vm -Windows -ComputerName $computerName -Credential $cred - -$SourceVaultId = "/subscriptions/" + $subid + "/resourceGroups/RgTest1/providers/Microsoft.KeyVault/vaults/TestVault123"; -$certStore = "My"; -$certUrl = "https://testvault123.vault.azure.net/secrets/Test1/514ceb769c984379a7e0230bdd703272"; -$vm = Add-AzureVMSecret -VM $vm -SourceVaultId $SourceVaultId -CertificateStore $certStore -CertificateUrl $certUrl; - -$SourceVaultId2 = "/subscriptions/" + $subid + "/resourceGroups/RgTest1/providers/Microsoft.KeyVault/vaults/TestVault456"; -$vm = Add-AzureVMSecret -VM $vm -SourceVaultId $SourceVaultId2 -CertificateStore $certStore -CertificateUrl $certUrl; - -$certStore2 = "My2"; -$certUrl2 = "https://testvault123.vault.azure.net/secrets/Test1/514ceb769c984379a7e0230bddaaaaaa"; -$vm = Add-AzureVMSecret -VM $vm -SourceVaultId $SourceVaultId -CertificateStore $certStore2 -CertificateUrl $certUrl2; - - - - - - - - - - - - - - - - - - - - - - Add-AzureVMSshPublicKey - - Specifies the SSH public keys to use with the Virtual Machine. - - - - - Add - AzureVMSshPublicKey - - - - Specifies the SSH public keys to use with the Virtual Machine. - - - - Add-AzureVMSshPublicKey - - VM - - VM object to modify. Create one using New-AzureVMConfig cmdlet or Get one using the Get-AzureVM cmdlet. - - PSVirtualMachine - - - KeyData - - Specifies a base-64 encoding of the public key used to SSH into the Virtual Machine. - - String - - - Path - - Specifies the full path of a file, on the Virtual Machine, where the SSH public key is stored. If the file already exists, the specified key is appended to the file. -Example: -/home/user/.ssh/authorized_keys - - String - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - VM - - VM object to modify. Create one using New-AzureVMConfig cmdlet or Get one using the Get-AzureVM cmdlet. - - PSVirtualMachine - - PSVirtualMachine - - - - - - KeyData - - Specifies a base-64 encoding of the public key used to SSH into the Virtual Machine. - - String - - String - - - - - - Path - - Specifies the full path of a file, on the Virtual Machine, where the SSH public key is stored. If the file already exists, the specified key is appended to the file. -Example: -/home/user/.ssh/authorized_keys - - String - - String - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - $sshPath = "/home/testuser/.ssh/authorized_keys"; -$sshPublicKey = "MIIDszCCApugAwIBAgIJALBV9YJCF/tAMA0GCSq12Ib3DQEB21QUAMEUxCzAJBgNV"; -$vm = Add-AzureVMSshPublicKey -VM $vm -KeyData $sshPublicKey -Path $sshPath; -$vm = Add-AzureVMSshPublicKey -VM $vm -KeyData $sshPublicKey -Path $sshPath; - - - - - - - - - - - - - - - - - - - - - - Get-AzureAvailabilitySet - - Get Availability Set properties - - - - - Get - AzureAvailabilitySet - - - - This cmdlet allows you to discover information about a specified Availability Set or all Availability Sets within a Resource Group - - - - Get-AzureAvailabilitySet - - ResourceGroupName - - Name of the Resource Group containing the Avaialbility Set - - String - - - Name - - Name of the Availability Set - - String - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - ResourceGroupName - - Name of the Resource Group containing the Avaialbility Set - - String - - String - - - - - - Name - - Name of the Availability Set - - String - - String - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Get information about a specified Availability Set -------------------------- - - PS C:\> - - Get-AzureAvailabilitySet –ResourceGroupName “RG1” –Name “MyASet” - - - - - - - - - - - - - - - - -------------------------- Get information about all Availability Sets within a Resource Group -------------------------- - - PS C:\> - - Get-AzureAvailabilitySet –ResourceGroupName “RG1” - - - - - - - - - - - - - - - - - - - - - - Get-AzureRemoteDesktopFile - - Get the Remote Desktop file for the VM - - - - - Get - AzureRemoteDesktopFile - - - - Get the Remote Desktop file for the VM - - - - Get-AzureRemoteDesktopFile - - ResourceGroupName - - Name of the Resource Group of the VM - - String - - - Name - - Name of the VM - - String - - - LocalPath - - - - String - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - ResourceGroupName - - Name of the Resource Group of the VM - - String - - String - - - - - - Name - - Name of the VM - - String - - String - - - - - - LocalPath - - - - String - - String - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Get-AzureStorageAccount - - Get the properties of a Storage Account - - - - - Get - AzureStorageAccount - - - - This cmdlet allows you to get the properties of a specified Storage Account or all Storage Accounts within a Resource Group or the subscription. - - - - Get-AzureStorageAccount - - ResourceGroupName - - Name of the Resource Group - - String - - - Name - - Name of the Storage Account - - String - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - ResourceGroupName - - Name of the Resource Group - - String - - String - - - - - - Name - - Name of the Storage Account - - String - - String - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Get a specified storage account -------------------------- - - PS C:\> - - PS C:\> #Get one storage account - Get-AzureStorageAccount -ResourceGroupName "RG1" -AccountName "myStorageAccount" - - - - - - - - - - - - - - - - -------------------------- Get all Storage Accounts in a Resource Group -------------------------- - - PS C:\> - - PS C:\> # Get all Storage Accounts in a Resource Group - Get-AzureStorageAccount -ResourceGroupName "RG1" - - - - - - - - - - - - - - - - -------------------------- Get all Storage Accounts in the subscription -------------------------- - - PS C:\> - - PS C:\> # Get all Storage Accounts in the subscription - Get-AzureStorageAccount - - - - - - - - - - - - - - - - - - - - - - Get-AzureStorageAccountKey - - Get the access keys for an Azure storage account - - - - - Get - AzureStorageAccountKey - - - - This cmdlet allows you to get the access keys for an Azure storage account. - - - - Get-AzureStorageAccountKey - - ResourceGroupName - - Name of the Resource Group - - String - - - Name - - Name of the Storage Account - - String - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - ResourceGroupName - - Name of the Resource Group - - String - - String - - - - - - Name - - Name of the Storage Account - - String - - String - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Get the access keys for a Storage Account -------------------------- - - PS C:\> - - #Get keys - Get-AzureStorageAccountKey -ResourceGroupName "RG1" -AccountName "myStorageAccount" - - - - - - - - - - - - - - - - - - - - - - Get-AzureVM - - Get the properties of a VM or Get all VMs in a subscription - - - - - Get - AzureVM - - - - This cmdlet allows you to get the model or instance view of the VM. By default the returned VM object contains the model view. If you'd like to see the instance view of a VM use the -Status switch. - This cmdlet also allows you to get information about all VMs in your subscription if no parameters are used. - - - - Get-AzureVM - - All - - - - SwitchParameter - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - Get-AzureVM - - ResourceGroupName - - Name of the Resource Group - - String - - - Name - - Name of the VM - - String - - - Status - - Allows you to only return the Instance View - - SwitchParameter - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - Get-AzureVM - - ResourceGroupName - - Name of the Resource Group - - String - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - Get-AzureVM - - NextLink - - - - Uri - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - All - - - - SwitchParameter - - SwitchParameter - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - ResourceGroupName - - Name of the Resource Group - - String - - String - - - - - - Name - - Name of the VM - - String - - String - - - - - - Status - - Allows you to only return the Instance View - - SwitchParameter - - SwitchParameter - - - - - - NextLink - - - - Uri - - Uri - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Get the properties of a VM -------------------------- - - PS C:\> - - # Get the VM -$vm = Get-AzureVM -ResourceGroupName "myRG" -Name "crpVM" - - - - - - - - - - - - - - - - -------------------------- Get only the status of VM -------------------------- - - PS C:\> - - Get the VM instance view -$vm = Get-AzureVM -ResourceGroupName "myRG" -Name "crpVM" -Status - - - - - - - - - - - - - - - - -------------------------- Get all VMs in a Resource Group -------------------------- - - PS C:\> - - # Get all VMs in a Resource Group -$vm = Get-AzureVM -ResourceGroupName "myRG" - - - - - - - - - - - - - - - - -------------------------- Get all VMs in your subscription -------------------------- - - PS C:\> - - # Get all VMs in your subscription -Get-AzureVM - - - - - - - - - - - - - - - - - - - - - - Get-AzureVMAccessExtension - - Get the information about VMAccess extension - - - - - Get - AzureVMAccessExtension - - - - Get the information about VMAccess extension - - - - Get-AzureVMAccessExtension - - ResourceGroupName - - Name of the Resource Group of the VM - - String - - - VMName - - Name of the VM - - String - - - Name - - Name of the extension - - String - - - Status - - Get the instance view of the extension - - SwitchParameter - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - ResourceGroupName - - Name of the Resource Group of the VM - - String - - String - - - - - - VMName - - Name of the VM - - String - - String - - - - - - Name - - Name of the extension - - String - - String - - - - - - Status - - Get the instance view of the extension - - SwitchParameter - - SwitchParameter - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - # Get VM Extension -$ext = Get-AzureVMAccessExtension -ResourceGroupName $rgname -VMName $vmname -Name $extname; - - - - - - - - - - - - - - - - -------------------------- Example 2 -------------------------- - - PS C:\> - - # Get VM Extension Status -$ext = Get-AzureVMAccessExtension -ResourceGroupName $rgname -VMName $vmname -Name $extname -Status; - - - - - - - - - - - - - - - - - - - - - - Get-AzureVMCustomScriptExtension - - Get the information about Custom Script extension - - - - - Get - AzureVMCustomScriptExtension - - - - Get the information about Custom Script extension - - - - Get-AzureVMCustomScriptExtension - - ResourceGroupName - - Name of the Resource Group of the VM - - String - - - VMName - - Name of the VM - - String - - - Name - - Name of the extension - - String - - - Status - - Get the instance view of the extension - - SwitchParameter - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - ResourceGroupName - - Name of the Resource Group of the VM - - String - - String - - - - - - VMName - - Name of the VM - - String - - String - - - - - - Name - - Name of the extension - - String - - String - - - - - - Status - - Get the instance view of the extension - - SwitchParameter - - SwitchParameter - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - # Get VM Extension -$ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmname -Name $extname; - - - - - - - - - - - - - - - - -------------------------- Example 2 -------------------------- - - PS C:\> - - # Get VM Extension Status -$ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmname -Name $extname -Status; - - - - - - - - - - - - - - - - - - - - - - Get-AzureVMDscExtension - - - Gets the settings of the DSC extension on a particular VM - - - - - Get - AzureVMDscExtension - - - - Gets the settings of the DSC extension on a particular VM. - - - - - Get-AzureVMDscExtension - - ResourceGroupName - - The resource group name. - - string - - - VMName - - The virtual machine name - - string - - - Name - - Name of the Extension. This is defaulted to 'Microsoft.Powershell.DSC' - - String - - - Status - - Output shows status when the switch is present - - - - - - - - ResourceGroupName - - The resource group name. - - - string - - string - - - - - - VMName - - The virtual machine name - - - string - - string - - - - - - Name - - Name of the Extension. This is defaulted to 'Microsoft.Powershell.DSC' - - String - - String - - - - - - Status - - Output shows status when the switch is present - - SwitchParameter - - SwitchParameter - - - - - - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Compute.Extension.DSC.VirtualMachineDscExtensionContext - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Publish-AzureVMDscConfiguration - - Uploads a Desired State Configuration script to Azure blob storage, which later can be applied to Azure Virtual Machines using the Set-AzureVMDscExtension cmdlet. - - - - - Publish - AzureVMDscConfiguration - - - - - Uploads a Desired State Configuration script to Azure blob storage, which later can be applied to Azure Virtual Machines using the Set-AzureVMDscExtension cmdlet. - - - - Publish-AzureVMDscConfiguration - - ResourceGroupName - - The name of the resource group that contains the storage account. - - string - - - ConfigurationPath - - Path to a file containing one or more configurations. The file can be a PowerShell script (.ps1 file), module (.psm1 file), or an archive (.zip file) containing a set of PowerShell modules, each module in a separate directory. - - String - - - ContainerName - - Name of the Azure Storage Container the configuration is uploaded to. - - String - - - Force - - By default Publish-AzureVMDscConfiguration will not overwrite any existing blobs or files. Use -Force to overwrite them. - - SwitchParameter - - - StorageAccountName - - The Azure Storage Account name used to upload the configuration script to the container specified by ContainerName. - - String - - - WhatIf - - Describes what would happen if you executed the command without actually executing the command. - - SwitchParameter - - - Confirm - - Prompts you for confirmation before executing the command. - - SwitchParameter - - - - Publish-AzureVMDscConfiguration - - ConfigurationPath - - Path to a file containing one or more configurations. The file can be a PowerShell script (.ps1 file), module (.psm1 file), or an archive (.zip file) containing a set of PowerShell modules, each module in a separate directory. - - String - - - Force - - By default Publish-AzureVMDscConfiguration will not overwrite any existing blobs or files. Use -Force to overwrite them. - - SwitchParameter - - - OutputArchivePath - - Path to a local ZIP file to write the configuration archive to. -When this parameter is used, the configuration script is not uploaded to Azure blob storage. - - String - - - WhatIf - - Describes what would happen if you executed the command without actually executing the command. - - SwitchParameter - - - Confirm - - Prompts you for confirmation before executing the command. - - SwitchParameter - - - - - - ResourceGroupName - - The name of the resource group that contains the storage account - - string - - - ConfigurationPath - - Path to a file containing one or more configurations. The file can be a PowerShell script (.ps1 file), module (.psm1 file), or an archive (.zip file) containing a set of PowerShell modules, each module in a separate directory. - - String - - String - - - - - - ContainerName - - Name of the Azure Storage Container the configuration is uploaded to. - - String - - String - - - windows-powershell-dsc - - - Force - - By default Publish-AzureVMDscConfiguration will not overwrite any existing blobs or files. Use -Force to overwrite them. - - SwitchParameter - - SwitchParameter - - - - - - StorageAccountName - - The Azure Storage Account name used to upload the configuration script to the container specified by ContainerName. - - String - - String - - - - - - WhatIf - - Describes what would happen if you executed the command without actually executing the command. - - SwitchParameter - - SwitchParameter - - - - - - Confirm - - Prompts you for confirmation before executing the command. - - SwitchParameter - - SwitchParameter - - - - - - OutputArchivePath - - Path to a local ZIP file to write the configuration archive to. -When this parameter is used, the configuration script is not uploaded to Azure blob storage. - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - - PS C:\> Publish-AzureVMDscConfiguration .\MyConfiguration.ps1 -ResourceGroupName grpname -StorageAccountName strgAcctName - - Description - - - - -----------This command creates a ZIP package for the given script and any dependent resource modules and uploads it to Azure Storage. -By default the command does no produce any output; use the -Verbose option to display an indication of the operations performed by the command - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - - PS C:\> Publish-AzureVMDscConfiguration .\MyConfiguration.ps1 -OutputArchivePath .\MyConfiguration.ps1.zip - - Description - - - - -----------This command creates a ZIP package for the given script and any dependent resource modules and stores it in the local file .\MyConfiguration.ps1.zip. - - - - - - - Unknown - - - - - - - - Get-AzureVMExtension - - Get the extensions installed on the VM - - - - - Get - AzureVMExtension - - - - Get properties about the extensions installed on a VM. To get only the instance view of the extensions use the -Status switch. - - - - Get-AzureVMExtension - - ResourceGroupName - - Name of the Resource Group - - String - - - VMName - - Name of the VM - - String - - - Name - - Name of the Extension - - String - - - Status - - Return only the status view of the Extension - - SwitchParameter - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - ResourceGroupName - - Name of the Resource Group - - String - - String - - - - - - VMName - - Name of the VM - - String - - String - - - - - - Name - - Name of the Extension - - String - - String - - - - - - Status - - Return only the status view of the Extension - - SwitchParameter - - SwitchParameter - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Get the properties of an extension -------------------------- - - PS C:\> - - Get-AzureVMExtension -ResourceGroupName "RG1" -VMName "crpVM" -Name "testext" - - - - - - - - - - - - - - - - -------------------------- Get the status view of an extension -------------------------- - - PS C:\> - - Get-AzureVMExtension -ResourceGroupName "RG1" -VMName "crpVM" -Name "testext" -Status - - - - - - - - - - - - - - - - - - - - - - Get-AzureVMExtensionImage - - Get all versions for a particular extension - - - - - Get - AzureVMExtensionImage - - - - Get all versions for a particular extension - - - - Get-AzureVMExtensionImage - - Location - - Location of the extension - - String - - - PublisherName - - Name of extension publisher - - String - - - Type - - Type of the extension - - String - - - FilterExpression - - - - String - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - Location - - Location of the extension - - String - - String - - - - - - PublisherName - - Name of extension publisher - - String - - String - - - - - - Type - - Type of the extension - - String - - String - - - - - - FilterExpression - - - - String - - String - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - Version - - Version of the extension - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Get-AzureVMExtensionImage -Location eastus -PublisherName Symantec -Type SymantecEndpointProtection - - - - - - - - - - - - - - - - - - - - - - Get-AzureVMExtensionImageDetail - - Get the details on a specific extension - - - - - Get - AzureVMExtensionImageDetail - - - - Get the details on a specific extension - - - - Get-AzureVMExtensionImageDetail - - Location - - Location of the extension - - String - - - PublisherName - - Name of the extension publisher - - String - - - Type - - Type of the extension - - String - - - Version - - Version of the extension - - String - - - FilterExpression - - - - String - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - Location - - Location of the extension - - String - - String - - - - - - PublisherName - - Name of the extension publisher - - String - - String - - - - - - Type - - Type of the extension - - String - - String - - - - - - Version - - Version of the extension - - String - - String - - - - - - FilterExpression - - - - String - - String - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Get-AzureVMExtensionImageDetail -Location eastus -PublisherName Symantec -Type SymantecEndpointProtection -Version 12.1.4100.2 - - - - - - - - - - - - - - - - - - - - - - Get-AzureVMExtensionImageType - - Get the type of the Azure extension - - - - - Get - AzureVMExtensionImageType - - - - Get the type of the Azure extension - - - - Get-AzureVMExtensionImageType - - Location - - Location of the Extension - - String - - - PublisherName - - Name of the extension publisher - - String - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - Location - - Location of the Extension - - String - - String - - - - - - PublisherName - - Name of the extension publisher - - String - - String - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Get-AzureVMExtensionImageType -Location eastus -PublisherName Symantec - - - - - - - - - - - - - - - - - - - - - - Get-AzureVMImage - - Get all the versions of a VMImage - - - - - Get - AzureVMImage - - - - Get all the versions of a VMImage - - - - Get-AzureVMImage - - Location - - Location of the VMImage - - String - - - PublisherName - - Publisher of the VMImage. Use the Get-AzureVMImagePublisher cmdlet to get the values for this parameter. - - String - - - Offer - - Type of VMImage offer. Use the Get-AzureVMImageOffer cmdlet to get the values for this parameter. - - String - - - Skus - - VMImage SKU. Use the Get-AzureVMImageSku cmdlet to get the value of this parameter. - - String - - - FilterExpression - - - - String - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - Location - - Location of the VMImage - - String - - String - - - - - - PublisherName - - Publisher of the VMImage. Use the Get-AzureVMImagePublisher cmdlet to get the values for this parameter. - - String - - String - - - - - - Offer - - Type of VMImage offer. Use the Get-AzureVMImageOffer cmdlet to get the values for this parameter. - - String - - String - - - - - - Skus - - VMImage SKU. Use the Get-AzureVMImageSku cmdlet to get the value of this parameter. - - String - - String - - - - - - FilterExpression - - - - String - - String - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - Version - - - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Get-AzureVMImage -Location eastus -PublisherName Canonical -Offer UbuntuServer -Skus 15.04-DAILY - - - - - - - - - - - - - - - - - - - - - - Get-AzureVMImageDetail - - Returns information about a VMImage - - - - - Get - AzureVMImageDetail - - - - Returns information about a VMImage - - - - Get-AzureVMImageDetail - - Location - - Location of the VMImage - - String - - - PublisherName - - Name of the VMImage publisher - - String - - - Offer - - Type of VMImage offer - - String - - - Skus - - Type of VMImage SKU - - String - - - Version - - Version of VMImage - - String - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - Location - - Location of the VMImage - - String - - String - - - - - - PublisherName - - Name of the VMImage publisher - - String - - String - - - - - - Offer - - Type of VMImage offer - - String - - String - - - - - - Skus - - Type of VMImage SKU - - String - - String - - - - - - Version - - Version of VMImage - - String - - String - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Get-AzureVMImageDetail -Location eastus -PublisherName Canonical -Offer UbuntuServer -Skus 15.04-DAILY -Version 15.04.20150422 - - - - - - - - - - - - - - - - - - - - - - Get-AzureVMImageOffer - - Returns the VMImage Offer types - - - - - Get - AzureVMImageOffer - - - - Returns the VMImage Offer types - - - - Get-AzureVMImageOffer - - Location - - Location for the images - - String - - - PublisherName - - Name of the Publisher - - String - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - Location - - Location for the images - - String - - String - - - - - - PublisherName - - Name of the Publisher - - String - - String - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Get-AzureVMImageOffer -Location eastus -PublisherName Canonical - - - - - - - - - - - - - - - - - - - - - - Get-AzureVMImagePublisher - - Return the VMImage publishers - - - - - Get - AzureVMImagePublisher - - - - Return the VMImage publishers - - - - Get-AzureVMImagePublisher - - Location - - Location of the VMImage - - String - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - Location - - Location of the VMImage - - String - - String - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Get-AzureVMImagePublisher -Location eastus - - - - - - - - - - - - - - - - - - - - - - Get-AzureVMImageSku - - Returns VMImage SKUs - - - - - Get - AzureVMImageSku - - - - Returns VMImage SKUs - - - - Get-AzureVMImageSku - - Location - - Location of the VMImage - - String - - - PublisherName - - Name of the Publisher - - String - - - Offer - - Type of VMImage offer - - String - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - Location - - Location of the VMImage - - String - - String - - - - - - PublisherName - - Name of the Publisher - - String - - String - - - - - - Offer - - Type of VMImage offer - - String - - String - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Get-AzureVMImageSku -Location eastus -PublisherName Canonical -Offer UbuntuServer - - - - - - - - - - - - - - - - - - - - - - Get-AzureVMSize - - Get the available VM sizes by location, Availability Set or resize an existing VM to - - - - - Get - AzureVMSize - - - - Get the available VM sizes by location, Availability Set or resize an existing VM to - - - - Get-AzureVMSize - - Location - - Location of the VM - - String - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - Get-AzureVMSize - - ResourceGroupName - - Resource Group of the VM - - String - - - AvailabilitySetName - - Name of the Availability Set - - String - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - Get-AzureVMSize - - ResourceGroupName - - Resource Group of the VM - - String - - - VMName - - Name of the VM - - String - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - Location - - Location of the VM - - String - - String - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - ResourceGroupName - - Resource Group of the VM - - String - - String - - - - - - AvailabilitySetName - - Name of the Availability Set - - String - - String - - - - - - VMName - - Name of the VM - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Get-AzureVMSize -Location westeurope - - Get the available VM sizes in a location - - - - - - - - - - - - - - -------------------------- Example 2 -------------------------- - - PS C:\> - - Get-AzureVMSize -ResourceGroupName rg3-AvailabilitySetName av3 - - Get available VM sizes you can deploy in an existing availability set - - - - - - - - - - - - - - -------------------------- Example 3 -------------------------- - - PS C:\> - - Get-AzureVMSize -ResourceGroupName rg3 -VMName vm3 - - Available VM sizes that an existing VM can be resized to - - - - - - - - - - - - - - - - - - - - Get-AzureVMUsage - - Get the VM core count usage in a location - - - - - Get - AzureVMUsage - - - - Get the VM core count usage in a location - - - - Get-AzureVMUsage - - Location - - Location to get VM core count usage in - - String - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - Location - - Location to get VM core count usage in - - String - - String - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Get-AzureVMUsage -Location eastus - - - - - - - - - - - - - - - - - - - - - - New-AzureAvailabilitySet - - Create an Availability Set - - - - - New - AzureAvailabilitySet - - - - This cmdlet allows you to create an Availability Set - - - - New-AzureAvailabilitySet - - ResourceGroupName - - Name of Resource Group - - String - - - Name - - Name of Availability Set - - String - - - Location - - Location of the Availability Set - - String - - - PlatformUpdateDomainCount - - - - Nullable`1[Int32] - - - PlatformFaultDomainCount - - - - Nullable`1[Int32] - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - ResourceGroupName - - Name of Resource Group - - String - - String - - - - - - Name - - Name of Availability Set - - String - - String - - - - - - Location - - Location of the Availability Set - - String - - String - - - - - - PlatformUpdateDomainCount - - - - Nullable`1[Int32] - - Nullable`1[Int32] - - - - - - PlatformFaultDomainCount - - - - Nullable`1[Int32] - - Nullable`1[Int32] - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Create an Availability Set -------------------------- - - PS C:\> - - New-AzureAvailabilitySet -ResourceGroupName "RG1" -Name "myASet" -Location "West US" - - - - - - - - - - - - - - - - - - - - - - New-AzureStorageAccount - - Allows you to create a new Storage Account - - - - - New - AzureStorageAccount - - - - This cmdlet allows you to create a new Storage Account. - - - - New-AzureStorageAccount - - ResourceGroupName - - Name of the Resource Group - - String - - - Name - - Name of the Storage Account - - String - - - Type - - Type of Storage Account. Valid values are -• Standard_LRS (Locally-redundant storage) -• Standard_ZRS (Zone-redundant storage) -• Standard_GRS (Geo-redundant storage) -• Standard_RAGRS (Read access geo-redundant storage) - - String - - - Location - - Location of the Storage Account - - String - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - ResourceGroupName - - Name of the Resource Group - - String - - String - - - - - - Name - - Name of the Storage Account - - String - - String - - - - - - Type - - Type of Storage Account. Valid values are -• Standard_LRS (Locally-redundant storage) -• Standard_ZRS (Zone-redundant storage) -• Standard_GRS (Geo-redundant storage) -• Standard_RAGRS (Read access geo-redundant storage) - - String - - String - - - - - - Location - - Location of the Storage Account - - String - - String - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - New-AzureStorageAccount -ResourceGroupName "myResourceGroup" -AccountName "myStorageAccount" -Location "US West" -AccountType "Standard_GRS" - - - - - - - - - - - - - - - - - - - - - - New-AzureStorageAccountKey - - Regenerates a storage key for an Azure storage account. - - - - - New - AzureStorageAccountKey - - - - Regenerates a storage key for an Azure storage account. - - - - New-AzureStorageAccountKey - - ResourceGroupName - - Name of the Resource Group the storage account is in - - String - - - Name - - Name of the Storage Account - - String - - - KeyName - - Specifies which key to regenerate. Supported value set: -- “key1” -- “key2” - - String - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - ResourceGroupName - - Name of the Resource Group the storage account is in - - String - - String - - - - - - Name - - Name of the Storage Account - - String - - String - - - - - - KeyName - - Specifies which key to regenerate. Supported value set: -- “key1” -- “key2” - - String - - String - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - #Regenerate a key -New-AzureStorageKey -ResourceGroupName "myResourceGroup" -AccountName "myStorageAccount" -keyName "key1" - - - - - - - - - - - - - - - - - - - - - - New-AzureVM - - Create a new VM - - - - - New - AzureVM - - - - This cmdlet allows you to create a new VM in Azure. This cmdlet takes a VM object as input which can be created using the New-AzureVMConfig cmdlet. The VM object must then be configured correctly using appropriate cmdlets such as Set-AzureVMOperatingSystem, Set-AzureVMSourceImage, Set-AzureVMNetworkInterface etc. before the VM can be created in Azure succesfully. - - - - New-AzureVM - - ResourceGroupName - - Name of the Resource Group - - String - - - Location - - Location of the VM - - String - - - VM - - VM object that is configured and represents the state of the VM to be created. The VM object can be created using the New-AzureVMConfig cmdlet. The VM object must then be configured correctly using appropriate cmdlets such as Set-AzureVMOperatingSystem, Set-AzureVMSourceImage, Set-AzureVMNetworkInterface etc. before the VM can be created in Azure succesfully. - - PSVirtualMachine - - - Name - - - - String - - - Tags - - - - Hashtable[] - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - ResourceGroupName - - Name of the Resource Group - - String - - String - - - - - - Location - - Location of the VM - - String - - String - - - - - - VM - - VM object that is configured and represents the state of the VM to be created. The VM object can be created using the New-AzureVMConfig cmdlet. The VM object must then be configured correctly using appropriate cmdlets such as Set-AzureVMOperatingSystem, Set-AzureVMSourceImage, Set-AzureVMNetworkInterface etc. before the VM can be created in Azure succesfully. - - PSVirtualMachine - - PSVirtualMachine - - - - - - Name - - - - String - - String - - - - - - Tags - - - - Hashtable[] - - Hashtable[] - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Create a VM with two Data Disks -------------------------- - - PS C:\> - - PS C:\> # Common - $rgname = "myrg" - $loc = 'West US'; - $vmsize = 'Standard_A2'; - $vmname = 'vm' + $rgname; - - # Create Resource Group - New-AzureResourceGroup -Name $rgname -Location $loc; - - # Create VM Object - $vm = New-AzureVMConfig -VMName $vmname -VMSize $vmsize; - - # Setup Networking - $subnet = New-AzureVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24" -DnsServer "10.1.1.1"; - $vnet = New-AzureVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; - $vnet = Get-AzureVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; - $subnetId = $vnet.Properties.Subnets[0].Id; - $pubip = New-AzurePublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); - $pubip = Get-AzurePublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; - $pubipId = $pubip.Id; - $nic = New-AzureNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -SubnetId $subnetId -PublicIpAddressId $pubip.Id; - $nic = Get-AzureNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; - $nicId = $nic.Id; - - # Add NIC to VM - $vm = Add-AzureVMNetworkInterface -VM $vm -Id $nicId; - - # Setup Storage - $stoname = 'sto' + $rgname; - $stotype = 'Standard_GRS'; - - New-AzureStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; - $stoaccount = Get-AzureStorageAccount -ResourceGroupName $rgname -Name $stoname; - - $osDiskName = 'osDisk'; - $osDiskCaching = 'ReadWrite'; - $osDiskVhdUri = "https://$stoname.blob.core.windows.net/test/os.vhd"; - $dataDiskVhdUri1 = "https://$stoname.blob.core.windows.net/test/data1.vhd"; - $dataDiskVhdUri2 = "https://$stoname.blob.core.windows.net/test/data2.vhd"; - - # Add Data Disks - $vm = Add-AzureVMDataDisk -VM $vm -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 0 -VhdUri $dataDiskVhdUri1; - $vm = Add-AzureVMDataDisk -VM $vm -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 1 -VhdUri $dataDiskVhdUri2; - - # Setup OS & Image - $user = "Foo12"; - $password = 'BaR@123' + $rgname; - $securePassword = ConvertTo-SecureString $password -AsPlainText -Force; - $cred = New-Object System.Management.Automation.PSCredential ($user, $securePassword); - - $computerName = 'test'; - $vhdContainer = "https://$stoname.blob.core.windows.net/test"; - $img = 'a699494373c04fc0bc8f2bb1389d6106__Windows-Server-2012-Datacenter-201410.01-en.us-127GB.vhd'; - - $vm = Set-AzureVMOperatingSystem -VM $vm -Windows -ComputerName $computerName -Credential $cred; - $vm = Set-AzureVMSourceImage -VM $vm -Name $img -DestinationVhdsContainer $vhdContainer; - - # Create Virtual Machine - New-AzureVM -ResourceGroupName $rgname -Location $loc -Name $vmname -VM $vm; - - - - - - - - - - - - - - - - - - - - - - New-AzureVMConfig - - Create the configurable local VM Object - - - - - New - AzureVMConfig - - - - This cmdlet allows you to create the configurable local VM Object. The VM object must then be configured correctly using appropriate cmdlets such as Set-AzureVMOperatingSystem, Set-AzureVMSourceImage, Set-AzureVMNetworkInterface etc. before the VM can be created in Azure succesfully. - - - - New-AzureVMConfig - - VMName - - Name of the VM - - String - - - VMSize - - Size of the VM - - String - - - AvailabilitySetId - - Id of the Availability Set. This can be gotten through Get-AzureAvailabilitySet cmdlet. - - String - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - VMName - - Name of the VM - - String - - String - - - - - - VMSize - - Size of the VM - - String - - String - - - - - - AvailabilitySetId - - Id of the Availability Set. This can be gotten through Get-AzureAvailabilitySet cmdlet. - - String - - String - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Create a new VM Object -------------------------- - - PS C:\> - - # Get the Availability Set -$as = Get-AzureAvailabilitySet –ResourceGroupName “RG1” –Name “MyASet” - -# Create the VM object -$vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -AvailabilitySetID $as.Id - - - - - - - - - - - - - - - - - - - - - - Remove-AzureAvailabilitySet - - Remove an Availability Set from Azure - - - - - Remove - AzureAvailabilitySet - - - - Remove an Availability Set from Azure - - - - Remove-AzureAvailabilitySet - - ResourceGroupName - - Name of the Resource Group - - String - - - Name - - Name of the Availability Set - - String - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - ResourceGroupName - - Name of the Resource Group - - String - - String - - - - - - Name - - Name of the Availability Set - - String - - String - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Remove Availability Set -------------------------- - - PS C:\> - - PS C:\> Remove-AzureAvailabilitySet –Name “MyASet” –ResouceGroupName “RG1” - - - - - - - - - - - - - - - - - - - - - - Remove-AzureStorageAccount - - Remove Storage Account from Azure - - - - - Remove - AzureStorageAccount - - - - Remove Storage Account from Azure - - - - Remove-AzureStorageAccount - - ResourceGroupName - - Name of the Resource Group - - String - - - Name - - Name of the VM - - String - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - ResourceGroupName - - Name of the Resource Group - - String - - String - - - - - - Name - - Name of the VM - - String - - String - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Remove Storage Account -------------------------- - - PS C:\> - - PS C:\> Remove-AzureStorageAccount -ResourceGroupName "RG1" -AccountName "myStorageAccount" - - - - - - - - - - - - - - - - - - - - - - Remove-AzureVM - - Remove VM from Azure - - - - - Remove - AzureVM - - - - Remove VM from Azure - - - - Remove-AzureVM - - ResourceGroupName - - Name of the Resource Group - - String - - - Name - - Name of the VM - - String - - - Force - - - - SwitchParameter - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - ResourceGroupName - - Name of the Resource Group - - String - - String - - - - - - Name - - Name of the VM - - String - - String - - - - - - Force - - - - SwitchParameter - - SwitchParameter - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Remove a VM -------------------------- - - PS C:\> - - PS C:\> Remove-AzureVM -ResourceGroupName "myRG" -Name "crpVM" - - - - - - - - - - - - - - - - - - - - - - Remove-AzureVMAccessExtension - - Remove the VMAccess extension from the VM - - - - - Remove - AzureVMAccessExtension - - - - Remove the VMAccess extension from the VM - - - - Remove-AzureVMAccessExtension - - ResourceGroupName - - Resource Group of the VM - - String - - - VMName - - Name of the VM - - String - - - Name - - Name of extension - - String - - - Force - - - - SwitchParameter - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - ResourceGroupName - - Resource Group of the VM - - String - - String - - - - - - VMName - - Name of the VM - - String - - String - - - - - - Name - - Name of extension - - String - - String - - - - - - Force - - - - SwitchParameter - - SwitchParameter - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Remove-AzureVMCustomScriptExtension - - Remove the Custom Script extension from the VM - - - - - Remove - AzureVMCustomScriptExtension - - - - Remove the Custom Script extension from the VM - - - - Remove-AzureVMCustomScriptExtension - - ResourceGroupName - - Resource Group of the VM - - String - - - VMName - - Name of the VM - - String - - - Name - - Name of the extension to remove - - String - - - Force - - - - SwitchParameter - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - ResourceGroupName - - Resource Group of the VM - - String - - String - - - - - - VMName - - Name of the VM - - String - - String - - - - - - Name - - Name of the extension to remove - - String - - String - - - - - - Force - - - - SwitchParameter - - SwitchParameter - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Remove-AzureVMDataDisk - - Remove a Data Disk from the VM - - - - - Remove - AzureVMDataDisk - - - - This cmdlet allows you to remove a Data Disk from the VM - - - - Remove-AzureVMDataDisk - - VM - - Local VM object to remove the Data Disk from. This object can be gotten from the Get-AzureVM cmdlet. - - PSVirtualMachine - - - Name - - Name of the Data Disk to be removed - - String - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - VM - - Local VM object to remove the Data Disk from. This object can be gotten from the Get-AzureVM cmdlet. - - PSVirtualMachine - - PSVirtualMachine - - - - - - Name - - Name of the Data Disk to be removed - - String - - String - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Remove a Data Disk -------------------------- - - PS C:\> - - PS C:\> # Get the VM - $vm = Get-AzureVM -ResourceGroupName "myRG" -Name "crpVM" - - # Remove "disk3" Data Disk from the local object - Remove-AzureVMDataDisk -VM $vm -Name 'disk3' - - # Update the state of the Azure VM - Update-AzureVM -ResourceGroupName "myRG" -Name "crpVM" –VM $vm - - - - - - - - - - - - - - - - - - - - - - Remove-AzureVMExtension - - Remove an Extension from a VM - - - - - Remove - AzureVMExtension - - - - Remove an extension from a VM - - - - Remove-AzureVMExtension - - ResourceGroupName - - Name of Resource Group - - String - - - VMName - - Name of the VM - - String - - - Name - - Name of the Extension - - String - - - Force - - - - SwitchParameter - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - ResourceGroupName - - Name of Resource Group - - String - - String - - - - - - VMName - - Name of the VM - - String - - String - - - - - - Name - - Name of the Extension - - String - - String - - - - - - Force - - - - SwitchParameter - - SwitchParameter - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Remove an Extension -------------------------- - - PS C:\> - - PS C:\> Remove-AzureVMExtension –ResouceGroupName "RG" –Name "myext" -VMName "vm1" - - - - - - - - - - - - - - - - - - + + + - - Remove-AzureVMDscExtension + Add-AzureVMAdditionalUnattendContent - Removes DSC extension handler from a VM in a resource group + Adds information to the unattended Windows Setup answer file. - Remove - AzureVMDscExtension + Add + AzureVMAdditionalUnattendContent - Removes DSC extension handler from a VM in a resource group + The Add-AzureVMAdditionalUnattendContent cmdlet adds information to the unattended Windows Setup answer file. Specify additional base 64 encoded XML formatted information that this cmdlet adds to the unattend.xml file. - Remove-AzureVMDscExtension - - ResourceGroupName + Add-AzureVMAdditionalUnattendContent + + VM - The name of the resource group + Specifies the virtual machine object that this cmdlet modifies. To obtain a virtual machine object, use the Get-AzureVM cmdlet. Create a virtual machine object by using the New-AzureVMConfig cmdlet. - String + PSVirtualMachine - - VMName + + Content - The name of the virtual machine + Specifies base 64 encoded XML formatted content. This cmdlet adds the content to the unattend.xml file. The XML content must be less than 4 KB and must include the root element for the setting or feature that this cmdlet inserts. - String + String - - Name + + SettingName + + Specifies the name of the setting to which the content applies. Valid values are: + +-- FirstLogonCommands +-- AutoLogon + + String + + + Profile - Name of the Extension. This is defaulted to 'Microsoft.Powershell.DSC' + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - String + AzureProfile - - ResourceGroupName + + Content - The name of the resource group + Specifies base 64 encoded XML formatted content. This cmdlet adds the content to the unattend.xml file. The XML content must be less than 4 KB and must include the root element for the setting or feature that this cmdlet inserts. - String + String String - + - + none - - VMName + + Profile - The name of the virtual machine + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - String + AzureProfile - String - + AzureProfile + - + none - - Name + + SettingName - Name of the Extension. This is defaulted to 'Microsoft.Powershell.DSC' + Specifies the name of the setting to which the content applies. Valid values are: + +-- FirstLogonCommands +-- AutoLogon - String + String String - + + + none + + + VM + + Specifies the virtual machine object that this cmdlet modifies. To obtain a virtual machine object, use the Get-AzureVM cmdlet. Create a virtual machine object by using the New-AzureVMConfig cmdlet. + + PSVirtualMachine + + PSVirtualMachine + - + none - - - + + + + + + + @@ -8258,9 +126,13 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av - - - + + + + + + + @@ -8268,2769 +140,288 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av - - - - - - - - + + - -------------------------- Remove an Extension -------------------------- + Example 1: Add content to unattend.xml - PS C:\> + + - PS C:\> Remove-AzureVMDscExtension –ResouceGroupName "RG" -VMName "vm1" -Name "extnname" + PS C:\>$AvailabilitySet = Get-AzureAvailabilitySet -ResourceGroupName "ResourceGroup11" -Name "AvailabilitySet03" +PS C:\> $VirtualMachine = New-AzureVMConfig -VMName "VirtualMachine07" -VMSize "Standard_A1" -AvailabilitySetID $AvailabilitySet.Id +PS C:\> $Credential = Get-Credential +PS C:\> $VirtualMachine = Set-AzureVMOperatingSystem -VM $VirtualMachine -Windows -ComputerName "Contoso26" -Credential $Credential +PS C:\> $AucContent = "<UserAccounts><AdministratorPassword><Value>" + "Password" + "</Value><PlainText>true</PlainText></AdministratorPassword></UserAccounts>"; +PS C:\> $VirtualMachine = Add-AzureVMAdditionalUnattendContent -VM $VirtualMachine -Content $AucContent -SettingName "AutoLogon" + + The first command gets the availability set named AvailablitySet03 in the resource group named ResourceGroup11, and then stores that object in the $AvailabilitySet variable. + The second command creates a virtual machine object, and then stores it in the $VirtualMachine variable. The command assigns a name and size to the virtual machine. The virtual machine belongs to the availability set stored in $AvailabilitySet. + The third command creates a credential object by using the Get-Credential cmdlet, and then stores the result in the $Credential variable. The command prompts you for a user name and password. For more information, type Get-Help Get-Credential. + The fourth command uses the Set-AzureVMOperatingSystem cmdlet to configure the virtual machine stored in $VirtualMachine. + The fifth command assigns content to the $AucContent variable. The content includes a password. + The final command adds the content stored in $AucContent to the unattend.xml file. - - - - - + + + Get-AzureAvailabilitySet + + + + Set-AzureVMOperatingSystem + + + + New-AzureVMConfig + + - - - - Remove-AzureVMNetworkInterface - - Remove the network interface from the VM - - - - - Remove - AzureVMNetworkInterface - - - - Remove the network interface from the VM - - - - Remove-AzureVMNetworkInterface - - VM - - The VM object - - PSVirtualMachine - - - Id - - - - String - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - VM - - The VM object - - PSVirtualMachine - - PSVirtualMachine - - - - - - Id - - - - String - - String - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Restart-AzureVM - - Restart a VM - - - - - Restart - AzureVM - - - - Restart a VM - - - - Restart-AzureVM - - ResourceGroupName - - Name of Resource Group - - String - - - Name - - Name of the VM - - String - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - ResourceGroupName - - Name of Resource Group - - String - - String - - - - - - Name - - Name of the VM - - String - - String - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - PS C:\> Restart-AzureVM -ResourceGroupName "myRG" -Name "crpVM" - - - - - - - - - - - - - - - - - - - - - - Save-AzureVMImage - - Allows you to capture your VM as a VMImage - - - - - Save - AzureVMImage - - - - Allows you to capture your VM as a VMImage. Required step before this is to sysprep the VM and mark it generalized using the Set-AzureVM -Generalize cmdlet. - The output is a JSON template that can be used to deploy from your captured image. - - - - Save-AzureVMImage - - ResourceGroupName - - Resource Group of the VM - - String - - - VMName - - Name of the VM - - String - - - DestinationContainerName - - This is the name of the container inside which the vhds constituting the VMImage will reside. If they are spread across multiple storage accounts, one container with this name will be created in each storage account. - - String - - - VHDNamePrefix - - This is the prefix in the name of the blobs that will constitute the storage profile of the VMImage. For e.g. the OSDisk can be named vhdPrefix-osdisk - - String - - - Overwrite - - Indicates if any vhds with same Prefix inside the destination Container are encountered, should they be overwritten or not. - - SwitchParameter - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - ResourceGroupName - - Resource Group of the VM - - String - - String - - - - - - VMName - - Name of the VM - - String - - String - - - - - - DestinationContainerName - - This is the name of the container inside which the vhds constituting the VMImage will reside. If they are spread across multiple storage accounts, one container with this name will be created in each storage account. - - String - - String - - - - - - VHDNamePrefix - - This is the prefix in the name of the blobs that will constitute the storage profile of the VMImage. For e.g. the OSDisk can be named vhdPrefix-osdisk - - String - - String - - - - - - Overwrite - - Indicates if any vhds with same Prefix inside the destination Container are encountered, should they be overwritten or not. - - SwitchParameter - - SwitchParameter - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Save-AzureVMImage -ResourceGroupName "RG1" -VMName "VM1" -DestinationContainerName "VM1" -VHDNamePrefix "VM1" - - Captures the VMImage. The Output property returns a JSON template that can be used to deploy from the captured VMImage. - - - - - - - - - - - - - - - - - - - - Set-AzureStorageAccount - - Update the Storage Account properties - - - - - Set - AzureStorageAccount - - - - This cmdlet allows you to update the Storage Account properties. - - - - Set-AzureStorageAccount - - ResourceGroupName - - Name of the Resource Group - - String - - - Name - - Name of the Storage Account - - String - - - Type - - Specifies the account type of the storage account. One of four options: - • Standard_LRS (Locally-redundant storage) - • Standard_GRS (Geo-redundant storage) - • Standard_RAGRS (Read access geo-redundant storage) - • Standard_ZRS - - Note that Standard_ZRS accounts cannot be changed to other account types, and other account types cannot be changed to Standard_ZRS. - - String - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - Set-AzureStorageAccount - - ResourceGroupName - - Name of the Resource Group - - String - - - Name - - Name of the Storage Account - - String - - - CustomDomainName - - The name of the custom domain. - - String - - - UseSubDomain - - - - Nullable`1[Boolean] - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - Set-AzureStorageAccount - - ResourceGroupName - - Name of the Resource Group - - String - - - Name - - Name of the Storage Account - - String - - - Tags - - - - Hashtable[] - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - ResourceGroupName - - Name of the Resource Group - - String - - String - - - - - - Name - - Name of the Storage Account - - String - - String - - - - - - Type - - Specifies the account type of the storage account. One of four options: - • Standard_LRS (Locally-redundant storage) - • Standard_GRS (Geo-redundant storage) - • Standard_RAGRS (Read access geo-redundant storage) - • Standard_ZRS - - Note that Standard_ZRS accounts cannot be changed to other account types, and other account types cannot be changed to Standard_ZRS. - - String - - String - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - CustomDomainName - - The name of the custom domain. - - String - - String - - - - - - UseSubDomain - - - - Nullable`1[Boolean] - - Nullable`1[Boolean] - - - - - - Tags - - - - Hashtable[] - - Hashtable[] - - - - - - UseSubDomainName - - - - nullable`1[boolean] - - nullable`1[boolean] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Set Storage Account type -------------------------- - - PS C:\> - - PS C:\> # Set account type - Set-AzureStorageAccount -ResourceGroupName "myResourceGroup" -AccountName "myStorageAccount" -AccountType "Standard_RAGRS" - - - - - - - - - - - - - - - - -------------------------- Set Custom Domain -------------------------- - - PS C:\> - - PS C:\> #Set custom domain - Set-AzureStorageAccount -ResourceGroupName "myResourceGroup" -AccountName "myStorageAccount" -CustomDomainName "domain name" –UseSubDomain “true” - - - - - - - - - - - - - - - - - - - - - - Set-AzureVM - - This cmdlet is used for marking the VM as generalized - - - - - Set - AzureVM - - - - This cmdlet is used for marking the VM as generalized - - - - Set-AzureVM - - ResourceGroupName - - Resource Group of the VM - - String - - - Name - - Name of the VM - - String - - - Generalized - - Used to mark the VM as Generalized - - SwitchParameter - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - ResourceGroupName - - Resource Group of the VM - - String - - String - - - - - - Name - - Name of the VM - - String - - String - - - - - - Generalized - - Used to mark the VM as Generalized - - SwitchParameter - - SwitchParameter - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Set-AzureVM -ResourceGroupName "RG1" -Name "VM1" -Generalized - - - - - - - - - - - - - - - - - - - - - - Set-AzureVMAccessExtension - - Add VMAccess extension to the VM which allows you to reset the VM username and password - - - - - Set - AzureVMAccessExtension - - - - Add VMAccess extension to the VM which allows you to reset the VM username and password - - - - Set-AzureVMAccessExtension - - ResourceGroupName - - Resource Group of the VM - - String - - - VMName - - Name of the VM - - String - - - Name - - Name of the extension - - String - - - TypeHandlerVersion - - Version of the extension - - String - - - UserName - - New username of the VM - - String - - - Password - - New password of the VM - - String - - - Location - - Location of the VM - - String - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - ResourceGroupName - - Resource Group of the VM - - String - - String - - - - - - VMName - - Name of the VM - - String - - String - - - - - - Name - - Name of the extension - - String - - String - - - - - - TypeHandlerVersion - - Version of the extension - - String - - String - - - - - - UserName - - New username of the VM - - String - - String - - - - - - Password - - New password of the VM - - String - - String - - - - - - Location - - Location of the VM - - String - - String - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - $extname = 'csetest'; -$extver = '2.0'; -$user2 = "Bar12"; -$password2 = 'FoO@123' + $rgname; - -# Set VMAccess extension -Set-AzureVMAccessExtension -ResourceGroupName $rgname -Location $loc -VMName $vmname -Name $extname -TypeHandlerVersion $extver -UserName $user2 -Password $password2; - - - - - - - - - - - - - - - - - - - - - - Set-AzureVMCustomScriptExtension - - Add a custom script extension to the VM which allows you to execute your own scripts on the VM - - - - - Set - AzureVMCustomScriptExtension - - - - Add a custom script extension to the VM which allows you to execute your own scripts on the VM - - - - Set-AzureVMCustomScriptExtension - - ResourceGroupName - - Resource Group of the VM - - String - - - VMName - - Name of the VM - - String - - - Name - - Name of the extension - - String - - - TypeHandlerVersion - - Version of the extension - - String - - - ContainerName - - Azure Storage container name where the script is placed - - String - - - FileName - - Name of the script file - - String[] - - - StorageAccountName - - Azure Storage account name where the script is placed - - String - - - StorageEndpointSuffix - - - - String - - - StorageAccountKey - - Azure storage account key - - String - - - Run - - The command to execute to run your script - - String - - - Argument - - Arguments that need to be passed in to the script - - String - - - Location - - Location of the VM - - String - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - Set-AzureVMCustomScriptExtension - - ResourceGroupName - - Resource Group of the VM - - String - - - VMName - - Name of the VM - - String - - - Name - - Name of the extension - - String - - - TypeHandlerVersion - - Version of the extension - - String - - - FileUri - - - - String[] - - - Run - - The command to execute to run your script - - String - - - Argument - - Arguments that need to be passed in to the script - - String - - - Location - - Location of the VM - - String - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - ResourceGroupName - - Resource Group of the VM - - String - - String - - - - - - VMName - - Name of the VM - - String - - String - - - - - - Name - - Name of the extension - - String - - String - - - - - - TypeHandlerVersion - - Version of the extension - - String - - String - - - - - - ContainerName - - Azure Storage container name where the script is placed - - String - - String - - - - - - FileName - - Name of the script file - - String[] - - String[] - - - - - - StorageAccountName - - Azure Storage account name where the script is placed - - String - - String - - - - - - StorageEndpointSuffix - - - - String - - String - - - - - - StorageAccountKey - - Azure storage account key - - String - - String - - - - - - Run - - The command to execute to run your script - - String - - String - - - - - - Argument - - Arguments that need to be passed in to the script - - String - - String - - - - - - Location - - Location of the VM - - String - - String - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - FileUri - - - - String[] - - String[] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - $extname = 'csetest'; -$extver = '1.1'; -$publisher = 'Microsoft.Compute'; -$exttype = 'CustomScriptExtension'; -$fileToExecute = 'a.exe'; -$containderName = 'script'; - -# Set custom script extension -Set-AzureVMCustomScriptExtension -ResourceGroupName $rgname -Location $loc -VMName $vmname -Name $extname -TypeHandlerVersion $extver -StorageAccountName $stoname -StorageAccountKey $stokey -FileName $fileToExecute -ContainerName $containderName; - - - - - - - - - - - - - - - - - - - - - - Set-AzureVMExtension - - Add or Update a VM extension on a VM - - - - - Set - AzureVMExtension - - - - This cmdlet allows you to add an Extensions to a VM or update an existing Extensions properties - - - - Set-AzureVMExtension - - ResourceGroupName - - Name of the Resource Group - - String - - - VMName - - Name of the VM - - String - - - Name - - Name of the Extension - - String - - - Publisher - - Name of the extension publisher as provided when the extension was registered. - - String - - - ExtensionType - - - - String - - - TypeHandlerVersion - - The version of the extension to be used on the VM. - - String - - - Settings - - Public configuration for the Extension that do not require encryption. This parameter accepts a Hast Table object. - - Hashtable - - - ProtectedSettings - - Private configuration for the Extension that will be encrypted. This parameter accepts a Hast Table object. - - Hashtable - - - Location - - - - String - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - Set-AzureVMExtension - - ResourceGroupName - - Name of the Resource Group - - String - - - VMName - - Name of the VM - - String - - - Name - - Name of the Extension - - String - - - Publisher - - Name of the extension publisher as provided when the extension was registered. - - String - - - ExtensionType - - - - String - - - TypeHandlerVersion - - The version of the extension to be used on the VM. - - String - - - SettingString - - Public configuration for the Extension that do not require encryption. This parameter accepts string input. - - String - - - ProtectedSettingString - - Private configuration for the Extension that will be encrypted. This parameter accepts string input. - - String - - - Location - - - - String - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - ResourceGroupName - - Name of the Resource Group - - String - - String - - - - - - VMName - - Name of the VM - - String - - String - - - - - - Name - - Name of the Extension - - String - - String - - - - - - Publisher - - Name of the extension publisher as provided when the extension was registered. - - String - - String - - - - - - ExtensionType - - - - String - - String - - - - - - TypeHandlerVersion - - The version of the extension to be used on the VM. - - String - - String - - - - - - Settings - - Public configuration for the Extension that do not require encryption. This parameter accepts a Hast Table object. - - Hashtable - - Hashtable - - - - - - ProtectedSettings - - Private configuration for the Extension that will be encrypted. This parameter accepts a Hast Table object. - - Hashtable - - Hashtable - - - - - - Location - - - - String - - String - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - SettingString - - Public configuration for the Extension that do not require encryption. This parameter accepts string input. - - String - - String - - - - - - ProtectedSettingString - - Private configuration for the Extension that will be encrypted. This parameter accepts string input. - - String - - String - - - - - - Type - - Type of Extension - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Set Extension by Hash Table input -------------------------- - - PS C:\> - - PS C:\> $rgname = "RG1" - $loc = "West US" - $vmname = "myVM" - - # Virtual Machine Extension - $extname = 'csetest'; - $publisher = 'Microsoft.Compute'; - $exttype = 'CustomScriptExtension'; - $extver = '1.1'; - - # Set extension settings by hash table - $settings = @{"fileUris" = "[]"; "commandToExecute" = ""}; - $protectedsettings = @{"storageAccountName" = $stoname; "storageAccountKey" = $stokey}; - Set-AzureVMExtension -ResourceGroupName $rgname -Location $loc -VMName $vmname -Name $extname -Publisher $publisher -Type $exttype -TypeHandlerVersion $extver -Settings $settings -ProtectedSettings $protectedsettings; - - - - - - - - - - - - - - - - -------------------------- Set Extension by String input -------------------------- - - PS C:\> - - PS C:\> $rgname = "RG1" - $loc = "West US" - $vmname = "myVM" - - # Virtual Machine Extension - $extname = 'csetest'; - $publisher = 'Microsoft.Compute'; - $exttype = 'CustomScriptExtension'; - $extver = '1.1'; - - # Set extension settings by raw strings - $settingstr = '{"fileUris":[],"commandToExecute":""}'; - $protectedsettingstr = '{"storageAccountName":"' + $stoname + '","storageAccountKey":"' + $stokey + '"}'; - Set-AzureVMExtension -ResourceGroupName $rgname -Location $loc -VMName $vmname -Name $extname -Publisher $publisher -Type $exttype -TypeHandlerVersion $extver -SettingString $settingstr -ProtectedSettingString $protectedsettingstr; - - - - - - - - - - - - - - - - - - - - Set-AzureVMDSCExtension - + Add-AzureVMDataDisk - Configure the Windows PowerShell Desired State Configuration extension on a VM. + Adds a data disk to a virtual machine. - + - Set - AzureVMDscExtension - + Add + AzureVMDataDisk + - Configure the Windows PowerShell Desired State Configuration extension on a VM in a resource group + The Add-AzureVMDataDisk cmdlet adds a data disk to a virtual machine. You can add a data disk when you create a virtual machine, or you can add a data disk to an existing virtual machine. - - Set-AzureVMDSCExtension - - ArchiveBlobName - - The name of the configuration file that was previously uploaded by Publish-AzureVMDSCConfiguration - - string - - - ResourceGroupName - - The name of the resource group that contains the virtual machine - - string - - - VMName - - Name of the virtual machine where dsc extension handler would be installed - - string - - - ArchiveStorageAccountName - - The Azure Storage Account name used to download the ArchiveBlobName - - string - - - Version - - The version of the DSC extension that Set-AzureVMDSCExtension will apply the settings to. Allowed format N.N - - string - - - ConfigurationArgument - - A hashtable specifying the arguments to the ConfigurationFunction - - hashtable - - - ConfigurationData - - Path to a .psd1 file that specifies the data for the Configuration - - string - - - ConfigurationName - - Name of the configuration that will be invoked by the DSC Extension - - string - - - ArchiveResourceGroupName + Add-AzureVMDataDisk + + VM - The name of the resource group that contains the storage account containing the configuration archive.This param is optional if storage account and virtual machine both exists in the same resource group name, specified by ResourceGroupName param + Specifies the local virtual machine object to which to add a data disk. To obtain a virtual machine object, use the Get-AzureVM cmdlet. Create a virtual machine object by using the New-AzureVMConfig cmdlet. - string + PSVirtualMachine - - ArchiveContainerName + + Name - Name of the Azure Storage Container where the configuration archive is located + Specifies the name of the data disk to add. - string + String - - Force + + VhdUri - By default Set-AzureVMDscExtension will not overwrite any existing blobs. Use -Force to overwrite them + Specifies the Uniform Resource Identifier (URI) for the virtual hard disk (VHD) file to create when a platform image or user image is used. This cmdlet copies the image binary large object (BLOB) to this location. This is the location from which to start the virtual machine. + String - - Location + + Caching - Location of the resource + Specifies the caching mode of the disk. Valid values are: + +-- ReadOnly +-- ReadWrite + +The default value is ReadWrite. Changing this value causes the virtual machine to restart. + This setting affects the consistency and performance of the disk. - string + + ReadOnly + ReadWrite + - - Name + + DiskSizeInGB - Name of the DSC Extension handler. It will default to 'DSC' when it is not provided + Specifies the size, in gigabytes, of an empty disk to attach to a virtual machine. - string + Int32] - - ArchiveStorageEndpointSuffix + + Lun - The Storage Endpoint Suffix + Specifies the logical unit number (LUN) for a data disk. - string + Int32] - - AutoUpdate + + CreateOption - We install the extension handler version specified by the -version param. By default extension handler is not autoupdated. Use -AutoUpdate to enable auto update of extension handler to the latest version as and when it is available. + Specifies whether this cmldet creates a disk in the virtual machine from a platform or user image, creates an empty disk, or attaches an existing disk. Valid values are: + +-- Attach +-- Empty +-- FromImage + + empty + attach + fromImage + - - Confirm + + SourceImageUri - Prompts you for confirmation before executing the command. + Specifies the source URI of the disk that this cmdlet attaches. + System.String - - WhatIf + + Profile - Describes what would happen if you executed the command without actually executing the command. + 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 - - - ArchiveBlobName - - The name of the configuration file that was previously uploaded by Publish-AzureVMDSCConfiguration - - string - - string - - - - - - ConfigurationArgument - - A hashtable specifying the arguments to the ConfigurationFunction - - hashtable - - hashtable - - - - - - ConfigurationData - - Path to a .psd1 file that specifies the data for the Configuration - - string - - string - - - - - - ConfigurationName + + Caching - Name of the configuration that will be invoked by the DSC Extension + Specifies the caching mode of the disk. Valid values are: + +-- ReadOnly +-- ReadWrite + +The default value is ReadWrite. Changing this value causes the virtual machine to restart. + This setting affects the consistency and performance of the disk. - string + String - string - + String + - + none - - ArchiveContainerName + + CreateOption - Name of the Azure Storage Container where the configuration archive is located + Specifies whether this cmldet creates a disk in the virtual machine from a platform or user image, creates an empty disk, or attaches an existing disk. Valid values are: + +-- Attach +-- Empty +-- FromImage - string + System.String - string - + System.String + - + none - - Force + + DiskSizeInGB - By default Set-AzureVMDscExtension will not overwrite any existing blobs. Use -Force to overwrite them + Specifies the size, in gigabytes, of an empty disk to attach to a virtual machine. - SwitchParameter + Int32] - SwitchParameter - + Int32] + - + none - - Location + + Lun - Location of the resource + Specifies the logical unit number (LUN) for a data disk. - string + Int32] - string - + Int32] + - + none - + Name - Name of the DSC Extension handler. It will default to 'DSC' when it is not provided + Specifies the name of the data disk to add. - string - - string - - - - - - ResourceGroupName - - The name of the resource group that contains the virtual machine - - string - - string - - - - - - ArchiveResourceGroupName - - The name of the resource group that contains the storage account containing the configuration archive. This param is optional if storage account and virtual machine both exists in the same resource group name,specified by ResourceGroupName param. - - string - - string - - - - - - ArchiveStorageAccountName - - The Azure Storage Account name used to download the ArchiveBlobName - - string - - string - - - - - - ArchiveStorageEndpointSuffix - - The Storage Endpoint Suffix - - string - - string - - - - - - Version - - The version of the DSC extension that Set-AzureVMDSCExtension will apply the settings to. Allowed format N.N - - string + String - string - + String + - + none - - VMName + + Profile - Name of the virtual machine where dsc extension handler would be installed + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - string + AzureProfile - string - + AzureProfile + - + none - - AutoUpdate + + SourceImageUri - We install the extension handler version specified by the -version param. By default extension handler is not autoupdated. Use -AutoUpdate to enable auto update of extension handler to the latest version as and when it is available. - + Specifies the source URI of the disk that this cmdlet attaches. - SwitchParameter + System.String - SwitchParameter - + System.String + - + none - - Confirm + + VhdUri - Prompts you for confirmation before executing the command. + Specifies the Uniform Resource Identifier (URI) for the virtual hard disk (VHD) file to create when a platform image or user image is used. This cmdlet copies the image binary large object (BLOB) to this location. This is the location from which to start the virtual machine. - SwitchParameter + String - SwitchParameter + String - + none - - WhatIf + + VM - Describes what would happen if you executed the command without actually executing the command. + Specifies the local virtual machine object to which to add a data disk. To obtain a virtual machine object, use the Get-AzureVM cmdlet. Create a virtual machine object by using the New-AzureVMConfig cmdlet. - SwitchParameter + PSVirtualMachine - SwitchParameter + PSVirtualMachine - + none - - - - + + + + + + + - @@ -11038,1987 +429,8843 @@ Set-AzureVMCustomScriptExtension -ResourceGroupName $rgname -Location $loc -VMNa - - - + + + + + + + - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - + Example 1: Add data disks to a new virtual machine - C:\PS> - - - Set-AzureVMDscExtension -ResourceGroupName name -VMName vm -ArchiveBlobName Sample.ps1.zip -ArchiveStorageAccountName stg -ConfigurationName MyConfiguration -Version 1.10 -Location 'West US' - - - Description - ----------- - Set the extension on the VM to download MyConfiguration.ps1 from the default container (windows-powershell-dsc) - and invoke configuration MyConfiguration with arguments to the configuration function. Connect to blob storage using the value of - $ENV:azure_storage_connection_string - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - Set-AzureVMDscExtension -ResourceGroupName name -VMName vm -ArchiveBlobName Sample.ps1.zip -ArchiveStorageAccountName stg -ConfigurationName name -ConfigurationArgument @{arg="val"} -ArchiveContainerName WindowsPowerShellDSC -ConfigurationData SampleData.psd1 -Version 1.10 -Location 'West US' - + PS C:\>$VirtualMachine = New-AzureVMConfig -VMName "VirtualMachine07" -VMSize "Standard_A1" +PS C:\> $DataDiskVhdUri01 = "https://contoso.blob.core.windows.net/test/data1.vhd" +PS C:\> $DataDiskVhdUri02 = "https://contoso.blob.core.windows.net/test/data2.vhd" +PS C:\> $DataDiskVhdUri03 = "https://contoso.blob.core.windows.net/test/data3.vhd" +PS C:\> $VirtualMachine = Add-AzureVMDataDisk -VM $VirtualMachine -Name 'DataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 0 -VhdUri $DataDiskVhdUri1 -CreateOption Empty +PS C:\> $VirtualMachine = Add-AzureVMDataDisk -VM $VirtualMachine -Name 'DataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 1 -VhdUri $DataDiskVhdUri2 -CreateOption Empty +PS C:\> $VirtualMachine = Add-AzureVMDataDisk -VM $VirtualMachine -Name 'DataDisk3' -Caching 'ReadOnly' -DiskSizeInGB 12 -Lun 2 -VhdUri $DataDiskVhdUri3 -CreateOption Empty + + - Description - ----------- - With arguments to the configuration function - - - - + The first command creates a virtual machine object, and then stores it in the $VirtualMachine variable. The command assigns a name and size to the virtual machine. + The next three commands assign paths of three data disks to the $DataDiskVhdUri01, $DataDiskVhdUri02, and $DataDiskVhdUri03 variables. This approach is only for readability of the following commands. + The final three commands each adds a data disk to the virtual machine stored in $VirtualMachine. The command specifies the name and location for the disk, and other properties of the disk. The URI of each disk is stored in $DataDiskVhdUri01, $DataDiskVhdUri02, and $DataDiskVhdUri03. + + - + - - - -------------------------- EXAMPLE 3 -------------------------- - + Example 2: Add a data disk to an existing virtual machine - C:\PS> + + - - Set-AzureVMDscExtension -ResourceGroupName name -VMName vm -ArchiveBlobName Sample.ps1.zip -ArchiveStorageAccountName stg -ConfigurationName name -ConfigurationArgument @{arg="val"} -ArchiveContainerName WindowsPowerShellDSC -ConfigurationData SampleData.psd1 -Version 1.10 -Location 'West US' -AutoUpdate - + PS C:\>$VirtualMachine = Get-AzureVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" +PS C:\> Add-AzureVMDataDisk -VM $VirtualMachine -Name "disk1" -VhdUri "https://contoso.blob.core.windows.net/vhds/diskstandard03.vhd" -LUN 0 -Caching ReadOnly -DiskSizeinGB 1 -CreateOption Empty +PS C:\> Update-AzureVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" -VM $VirtualMachine + + - Description - ----------- - Enable -AutoUpdate - - - - + The first command gets the virtual machine named VirtualMachine07 by using the Get-AzureVM cmdlet. The command stores the virtual machine in the $VirtualMachine variable. + The second command adds a data disk to the virtual machine stored in $VirtualMachine. + The final command updates the state of the virtual machine stored in $VirtualMachine in ResourceGroup11. + + - + - - - + Remove-AzureVMDataDisk + + + + Get-AzureVM + + + + New-AzureVMConfig + - - - Set-AzureVMOperatingSystem - - Set the OS properties for the VM - - - - - Set - AzureVMOperatingSystem - - - - This cmdlet allows you to set the OS properties such as login credentials, computer name etc. - - - - Set-AzureVMOperatingSystem - - VM - - The local VM object to set the OS properties on - - PSVirtualMachine - - - Windows - - Specify the type of OS is Windows - - SwitchParameter - - - ComputerName - - Name of the computer - - String - - - Credential - - PSCredential object that contains username and password for the VM - - PSCredential - - - CustomData - - Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. - Linux - The file is copied to /var/lib/waagent/ovf-env.xml by the Azure Linux Agent. The agent will also place the base-64 encoded data in /var/lib/waagent/CustomData during provisioning. - Windows – The file is saved to %SYSTEMDRIVE%\AzureData\CustomData.bin. If the file exists, it is overwritten. The security on directory is set to System:Full Control and Administrators:Full Control. - - String - - - ProvisionVMAgent - - Indicates that the VM agent should be installed on the VM - - SwitchParameter - - - EnableAutoUpdate - - - - SwitchParameter - - - TimeZone - - - - String - - - WinRMHttp - - - - SwitchParameter - - - WinRMHttps - - - - SwitchParameter - - - WinRMCertificateUrl - - URL of certificate in KeyVault to be used for WinRM HTTPS - - Uri - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - Set-AzureVMOperatingSystem - - VM - - The local VM object to set the OS properties on - - PSVirtualMachine - - - Linux - - Specify the type of OS is Linux - - SwitchParameter - - - ComputerName - - Name of the computer - - String - - - Credential - - PSCredential object that contains username and password for the VM - - PSCredential - - - CustomData - - Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. - Linux - The file is copied to /var/lib/waagent/ovf-env.xml by the Azure Linux Agent. The agent will also place the base-64 encoded data in /var/lib/waagent/CustomData during provisioning. - Windows – The file is saved to %SYSTEMDRIVE%\AzureData\CustomData.bin. If the file exists, it is overwritten. The security on directory is set to System:Full Control and Administrators:Full Control. - - String - - - DisablePasswordAuthentication - - - - SwitchParameter - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - VM - - The local VM object to set the OS properties on - - PSVirtualMachine - - PSVirtualMachine - - - - - - Windows - - Specify the type of OS is Windows - - SwitchParameter - - SwitchParameter - - - - - - ComputerName - - Name of the computer - - String - - String - - - - - - Credential - - PSCredential object that contains username and password for the VM - - PSCredential - - PSCredential - - - - - - CustomData - - Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. - Linux - The file is copied to /var/lib/waagent/ovf-env.xml by the Azure Linux Agent. The agent will also place the base-64 encoded data in /var/lib/waagent/CustomData during provisioning. - Windows – The file is saved to %SYSTEMDRIVE%\AzureData\CustomData.bin. If the file exists, it is overwritten. The security on directory is set to System:Full Control and Administrators:Full Control. - - String - - String - - - - - - ProvisionVMAgent - - Indicates that the VM agent should be installed on the VM - - SwitchParameter - - SwitchParameter - - - - - - EnableAutoUpdate - - - - SwitchParameter - - SwitchParameter - - - - - - TimeZone - - - - String - - String - - - - - - WinRMHttp - - - - SwitchParameter - - SwitchParameter - - - - - - WinRMHttps - - - - SwitchParameter - - SwitchParameter - - - - - - WinRMCertificateUrl - - URL of certificate in KeyVault to be used for WinRM HTTPS - - Uri - - Uri - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - Linux - - Specify the type of OS is Linux - - SwitchParameter - - SwitchParameter - - - - - - DisablePasswordAuthentication - - - - SwitchParameter - - SwitchParameter - - - - - - Secrets - - Secrets config that specifies the source KeyVault and Certificate url. Use the Add-AzureVMSecret cmdlet to create this config. - - list`1[psvaultsecretgroup] - - list`1[psvaultsecretgroup] - - - - - - AdditionalUnattendContents - - AdditionalUnattendContent config. Use the Add-AzureVMAdditionalUnattendContent cmdlet to create this. - - list`1[psadditionalunattendcontent] - - list`1[psadditionalunattendcontent] - - - - - - SSHPublicKey - - SSH public key for the VM - - string[] - - string[] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - $user = "Foo12"; -$password = 'BaR@123'; -$securePassword = ConvertTo-SecureString $password -AsPlainText -Force; -$cred = New-Object System.Management.Automation.PSCredential ($user, $securePassword); -$computerName = 'test2'; -$winRMCertUrl = "http://keyVaultName.vault.azure.net/secrets/secretName/secretVersion"; -$timeZone = "Pacific Standard Time"; -$custom = "echo 'Hello World'"; -$encodedCustom = "ZWNobyAnSGVsbG8gV29ybGQn"; - -# Create the VM Profile -$vm = New-AzureVMConfig –VMName “myVM” -AvailabilitySetID $as1.Id –VMSize “Standard_A1" - -# Set OS properties -$vm = Set-AzureVMOperatingSystem -VM $vm -Windows -ComputerName $computerName -Credential $cred -CustomData $custom -WinRMHttp -WinRMHttps -WinRMCertificateUrl $winRMCertUrl -ProvisionVMAgent -EnableAutoUpdate -TimeZone $timeZone; - - - - - - - - - - - - - - - - - - - - - - Set-AzureVMOSDisk - - Set the OS Disk properties on the VM - - - - - Set - AzureVMOSDisk - - - - Set the OS Disk properties on the VM - - - - Set-AzureVMOSDisk - - VM - - The local VM object to set the OS Disk properties on - - PSVirtualMachine - - - Name - - Name of the OS Disk - - String - - - VhdUri - - For Image based VM Creation – - Specifies the VHD file that needs to be created when a platform image or user image is specified. This is where the image blob will be copied to start the VM from. - Example: http://contoso.blob.core.windows.net/System/ComputeVM/myImage/mydisk.vhd - - For Disk based VM Boot scenario – - Specifies the VHD file that needs to be used directly (without copy) for booting up the VM. Applies to both OS and Data Disks. - - String - - - Caching - - Specifies the caching mode of the operating system disk. This setting impacts the consistency and performance of the disk. Note: Changing this value causes the Virtual Machine to reboot. - Possible values are: The default value is ReadWrite. - • ReadOnly - • ReadWrite - - String - - - SourceImageUri - - Uri of the existing VHD in case attaching the disk to the VM - - String - - - CreateOption - - Specifies whether to create a disk in the VM from a platform or user image, to create a new empty disk or to attach an existing disk. Valid values are - "FromImage”, “Attach” or “Empty” - - String - - - Windows - - Used in case of a user image based VM deployment to specify that the OS on the user image is Windows. - - SwitchParameter - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - Set-AzureVMOSDisk - - VM - - The local VM object to set the OS Disk properties on - - PSVirtualMachine - - - Name - - Name of the OS Disk - - String - - - VhdUri - - For Image based VM Creation – - Specifies the VHD file that needs to be created when a platform image or user image is specified. This is where the image blob will be copied to start the VM from. - Example: http://contoso.blob.core.windows.net/System/ComputeVM/myImage/mydisk.vhd - - For Disk based VM Boot scenario – - Specifies the VHD file that needs to be used directly (without copy) for booting up the VM. Applies to both OS and Data Disks. - - String - - - Caching - - Specifies the caching mode of the operating system disk. This setting impacts the consistency and performance of the disk. Note: Changing this value causes the Virtual Machine to reboot. - Possible values are: The default value is ReadWrite. - • ReadOnly - • ReadWrite - - String - - - SourceImageUri - - Uri of the existing VHD in case attaching the disk to the VM - - String - - - CreateOption - - Specifies whether to create a disk in the VM from a platform or user image, to create a new empty disk or to attach an existing disk. Valid values are - "FromImage”, “Attach” or “Empty” - - String - - - Linux - - Used in case of a user image based VM deployment to specify that the OS on the user image is Linux. - - SwitchParameter - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - VM - - The local VM object to set the OS Disk properties on - - PSVirtualMachine - - PSVirtualMachine - - - - - - Name - - Name of the OS Disk - - String - - String - - - - - - VhdUri - - For Image based VM Creation – - Specifies the VHD file that needs to be created when a platform image or user image is specified. This is where the image blob will be copied to start the VM from. - Example: http://contoso.blob.core.windows.net/System/ComputeVM/myImage/mydisk.vhd - - For Disk based VM Boot scenario – - Specifies the VHD file that needs to be used directly (without copy) for booting up the VM. Applies to both OS and Data Disks. - - String - - String - - - - - - Caching - - Specifies the caching mode of the operating system disk. This setting impacts the consistency and performance of the disk. Note: Changing this value causes the Virtual Machine to reboot. - Possible values are: The default value is ReadWrite. - • ReadOnly - • ReadWrite - - String - - String - - - - - - SourceImageUri - - Uri of the existing VHD in case attaching the disk to the VM - - String - - String - - - - - - CreateOption - - Specifies whether to create a disk in the VM from a platform or user image, to create a new empty disk or to attach an existing disk. Valid values are - "FromImage”, “Attach” or “Empty” - - String - - String - - - - - - Windows - - Used in case of a user image based VM deployment to specify that the OS on the user image is Windows. - - SwitchParameter - - SwitchParameter - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - Linux - - Used in case of a user image based VM deployment to specify that the OS on the user image is Linux. - - SwitchParameter - - SwitchParameter - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - $stoname = 'teststo'; - -$osDiskName = 'osDisk'; -$osDiskCaching = 'ReadWrite'; -$osDiskVhdUri = "https://$stoname.blob.core.windows.net/test/os.vhd"; - -$vm = Set-AzureVMOSDisk -VM $vm -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption Empty; - - - - - - - - - - - - - - - - - - - - - - Set-AzureVMSourceImage - - Specify the VM Image to be used for the VM - - - - - Set - AzureVMSourceImage - - - - Specify the VM Image to be used for the VM - - - - Set-AzureVMSourceImage - - VM - - The local VM object to be configured - - PSVirtualMachine - - - PublisherName - - Name of the Publisher to be used for the VMImage. Can be discovered using the Get-AzureVMImagePublisher cmdlet - - String - - - Offer - - Name of the Offer to be used for the VMImage. Can be discovered using the Get-AzureVMImageOffer cmdlet - - String - - - Skus - - Name of the SKU to be used for the VMImage. Can be discovered using the Get-AzureVMImageSku cmdlet - - String - - - Version - - Name of the Version to be used for the VMImage. Can be discovered using the Get-AzureVMImage cmdlet - - String - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - Set-AzureVMSourceImage - - VM - - The local VM object to be configured - - PSVirtualMachine - - - Name - - Name of the Source Image - - String - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - VM - - The local VM object to be configured - - PSVirtualMachine - - PSVirtualMachine - - - - - - PublisherName - - Name of the Publisher to be used for the VMImage. Can be discovered using the Get-AzureVMImagePublisher cmdlet - - String - - String - - - - - - Offer - - Name of the Offer to be used for the VMImage. Can be discovered using the Get-AzureVMImageOffer cmdlet - - String - - String - - - - - - Skus - - Name of the SKU to be used for the VMImage. Can be discovered using the Get-AzureVMImageSku cmdlet - - String - - String - - - - - - Version - - Name of the Version to be used for the VMImage. Can be discovered using the Get-AzureVMImage cmdlet - - String - - String - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - Name - - Name of the Source Image - - String - - String - - - - - - ImageReference - - Image reference to use for the VM. This is an object that can be passed in from the return of the Get-AzureVMImage or the Get-AzureVMImageDetail cmdlet - - psvirtualmachineimage - - psvirtualmachineimage - - - - - - DestinationVhdsContainer - - Container to be used for storing VHDs while creating a VM from platform image. Container will be created by CRP if it doesn’t exist already. - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - # Create the VM object -$vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" - -# Set the PublisherName, Offer, SKU, Version which can be discovered by the Get-AzureVMImagePublisher, Get-AzureVMImageOffer, Get-AzureVMSku, Get-AzureVMImage cmdlets -Set-AzureVMSourceImage -VM $vm -PublisherName MicrosoftWindowsServer -Offer WindowsServer -Skus 2012-R2-Datacenter -Version "latest" - - - - - - - - - - - - - - - - -------------------------- Example 2 -------------------------- - - PS C:\> - - $loc = "eastasia"; -$query = '*Microsoft*Windows*Server'; - -$publisher = (Get-AzureVMImagePublisher -Location $loc) | select -ExpandProperty PublisherName | where { $_ -like $query }; -$offer = (Get-AzureVMImageOffer -Location $loc -PublisherName $publisher[0]) | select -ExpandProperty Offer | where { $_ -like '*Windows*' }; -$sku = (Get-AzureVMImageSku -Location $loc -PublisherName $publisher[0] -Offer $offer[0]) | select -ExpandProperty Skus; -$versions = (Get-AzureVMImage -Location $loc -Offer -Offer $offer[0] -PublisherName $publisher[0] -Skus $sku[0]) | select -ExpandProperty Version; -$vmimg = Get-AzureVMImageDetail -Location $loc -Offer -Offer $offer[0] -PublisherName $publisher[0] -Skus $sku[0] -Version $versions[0]; - -$vm = Set-AzureVMSourceImage -VM $vm -ImageReference $vmimg; - - Set source image using the image reference method - - - - - - - - - - - - - - -------------------------- Example 3 -------------------------- - - PS C:\> - - $vhdContainer = "https://$stoname.blob.core.windows.net/test"; - -Switch-AzureMode AzureServiceManagement -Get-AzureVMImage -$img = 'a699494373c04fc0bc8f2bb1389d6106__Windows-Server-2012-Datacenter-201410.01-en.us-127GB.vhd'; -Switch-AzureMode AzureResourceManager - -Set-AzureVMSourceImage -VM $vm -Name $img -DestinationVhdsContainer $vhdContainer; - - - - - - - - - - - - - - - - - - - - - - Start-AzureVM - - Start a VM - - - - - Start - AzureVM - - - - This cmdlet allows you to start a VM - - - - Start-AzureVM - - ResourceGroupName - - Name of the Resource Group - - String - - - Name - - Name of the VM - - String - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - ResourceGroupName - - Name of the Resource Group - - String - - String - - - - - - Name - - Name of the VM - - String - - String - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Start-AzureVM -ResourceGroupName "myRG" -Name "crpVM" - - - - - - - - - - - - - - - - - - - - - - Stop-AzureVM - - Stop a VM - - - - - Stop - AzureVM - - - - This cmdlet allows you to Stop a VM - - - - Stop-AzureVM - - ResourceGroupName - - Name of the Resource Group - - String - - - Name - - Name of the VM - - String - - - Force - - - - SwitchParameter - - - StayProvisioned - - - - SwitchParameter - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - ResourceGroupName - - Name of the Resource Group - - String - - String - - - - - - Name - - Name of the VM - - String - - String - - - - - - Force - - - - SwitchParameter - - SwitchParameter - - - - - - StayProvisioned - - - - SwitchParameter - - SwitchParameter - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Stop-AzureVM -ResourceGroupName "myRG" -Name "crpVM" - - - - - - - - - - - - - - - - - - - - - - Update-AzureVM - - Update the Azure VM state - - - - - Update - AzureVM - - - - This cmdlet allows you to update the Azure VM state with the state of the local VM object - - - - Update-AzureVM - - ResourceGroupName - - Name of the Resource Group - - String - - - VM - - The local VM object that contains the updating VM state - - PSVirtualMachine - - - Name - - Name of the VM - - String - - - Tags - - - - Hashtable[] - - - Profile - - - - AzureProfile - - - InformationAction - - - - ActionPreference - - - InformationVariable - - - - String - - - - - - ResourceGroupName - - Name of the Resource Group - - String - - String - - - - - - VM - - The local VM object that contains the updating VM state - - PSVirtualMachine - - PSVirtualMachine - - - - - - Name - - Name of the VM - - String - - String - - - - - - Tags - - - - Hashtable[] - - Hashtable[] - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - InformationAction - - - - ActionPreference - - ActionPreference - - - - - - InformationVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Update-AzureVM -ResourceGroupName "myRG" -Name "crpVM" –VM $vm - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + Add-AzureVMNetworkInterface + + Adds a network interface to a virtual machine. + + + + + Add + AzureVMNetworkInterface + + + + The Add-AzureVMNetworkInterface cmdlet adds a network interface to a virtual machine. You can add an interface when you create a virtual machine or add one to an existing virtual machine. + + + + Add-AzureVMNetworkInterface + + VM + + Specifies a local virtual machine object to which to add a network interface. To create a virtual machine, use the New-AzureVMConfig cmdlet. To obtain an existing virtual machine, use the Get-AzureVM cmdlet. + + PSVirtualMachine + + + Id + + Specifies the ID of a network interface to add to a virtual machine. To obtain a network interface, use the Get-AzureNetworkInterface cmdlet. + + String + + + Primary + + Indicates that this cmdlet adds the network interface as the primary interface. + + + + 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 + + + + + + Id + + Specifies the ID of a network interface to add to a virtual machine. To obtain a network interface, use the Get-AzureNetworkInterface cmdlet. + + String + + String + + + none + + + Primary + + Indicates that this cmdlet adds the network interface as the primary interface. + + SwitchParameter + + SwitchParameter + + + 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 + + + VM + + Specifies a local virtual machine object to which to add a network interface. To create a virtual machine, use the New-AzureVMConfig cmdlet. To obtain an existing virtual machine, use the Get-AzureVM cmdlet. + + PSVirtualMachine + + PSVirtualMachine + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Add a network interface to a new virtual machine + + + + + PS C:\>$VirtualMachine = New-AzureVMConfig -VMName "VirtualMachine07" -VMSize "Standard_A1" +PS C:\> Add-AzureVMNetworkInterface -VM $VirtualMachine -Id "/subscriptions/46fc8ea4-2de6-4179-8ab1-365da4121af4/resourceGroups/contoso/providers/Microsoft.Network/networkInterfaces/sshNIC" + + + The first command creates a virtual machine object, and then stores it in the $VirtualMachine variable. The command assigns a name and size to the virtual machine. + The second command adds a network interface to the virtual machine stored in $VirtualMachine. + + + + + + + + + + + Example 2: Add a network interface to an existing virtual machine + + + + + PS C:\>$VirtualMachine = Get-AzureVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" +PS C:\> Add-AzureVMNetworkInterface -VM $VirtualMachine -Id "/subscriptions/46fc8ea4-2de6-4179-8ab1-365da4121af4/resourceGroups/contoso/providers/Microsoft.Network/networkInterfaces/sshNIC" +PS C:\> Update-AzureVM -ResourceGroupName "ResourceGroup11" -Name " VirtualMachine07" -VM $VirtualMachine + + + The first command gets the virtual machine named VirtualMachine07 by using the Get-AzureVM cmldet. The command stores the virtual machine in the $VirtualMachine variable. + The second command adds a network interface to the virtual machine stored in $VirtualMachine. + The final command updates the state of the virtual machine stored in $VirtualMachine in ResourceGroup11. + + + + + + + + + + + + + New-AzureVMConfig + + + + Get-AzureVM + + + + Get-AzureAvailabilitySet + + + + + + + Add-AzureVMSecret + + Adds a secret to a virtual machine. + + + + + Add + AzureVMSecret + + + + The Add-AzureVMSecret cmdlet adds a secret to a virtual machine. This value lets you add a certificate to the virtual machine. The secret needs to be stored in a Key Vault. For more information about Key Vault, see What is Azure Key Vault? (https://azure.microsoft.com/en-us/documentation/articles/key-vault-whatis/) in the Azure library. For more information about the cmdlets, see Azure Key Vault Cmdlets (https://msdn.microsoft.com/library/azure/dn868052.aspx) in the Microsoft Developer Network library or type Get-Help Set-AzureKeyVaultSecret. + + + + Add-AzureVMSecret + + VM + + Specifies the virtual machine object that this cmdlet modifies. To obtain a virtual machine object, use the Get-AzureVM cmdlet. Create a virtual machine object by using the New-AzureVMConfig cmdlet. + + PSVirtualMachine + + + SourceVaultId + + Specifies the resource ID of the Key Vault that contains the certificates that you can add to the virtual machine. This value also acts as the key for adding multiple certificates. This means that you can use the same value for SourceVaultId when you add multiple certificates from the same Key Vault. + + String + + + CertificateStore + + Specifies the name of a certificate store on the virtual machine that runs the Windows operating system. This cmdlet adds the certificate to the store that this parameter specifies. You can only specify this parameter for virtual machines that run the Windows operating system. + + String + + + CertificateUrl + + Specifies the URL that points to a Key Vault secret which contains a certificate. + The certificate is the Base64 encoding of the following JavaScript Object Notation (JSON) object, which is encoded in UTF-8. + { +"data": "<Base64-encoded-file>", +"dataType": "<file-format>", +"password": "<pfx-file-password>" +} + Currently, dataType accepts only .pfx files. + + 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 + + + + + + CertificateStore + + Specifies the name of a certificate store on the virtual machine that runs the Windows operating system. This cmdlet adds the certificate to the store that this parameter specifies. You can only specify this parameter for virtual machines that run the Windows operating system. + + String + + String + + + none + + + CertificateUrl + + Specifies the URL that points to a Key Vault secret which contains a certificate. + The certificate is the Base64 encoding of the following JavaScript Object Notation (JSON) object, which is encoded in UTF-8. + { +"data": "<Base64-encoded-file>", +"dataType": "<file-format>", +"password": "<pfx-file-password>" +} + Currently, dataType accepts only .pfx files. + + String + + String + + + 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 + + + SourceVaultId + + Specifies the resource ID of the Key Vault that contains the certificates that you can add to the virtual machine. This value also acts as the key for adding multiple certificates. This means that you can use the same value for SourceVaultId when you add multiple certificates from the same Key Vault. + + String + + String + + + none + + + VM + + Specifies the virtual machine object that this cmdlet modifies. To obtain a virtual machine object, use the Get-AzureVM cmdlet. Create a virtual machine object by using the New-AzureVMConfig cmdlet. + + PSVirtualMachine + + PSVirtualMachine + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Add a secret to a virtual machine + + + + + PS C:\>$VirtualMachine = New-AzureVMConfig -VMName "VirtualMachine07" -VMSize "Standard_A1" -AvailabilitySetID $AvailabilitySet.Id +PS C:\> $Credential = Get-Credential +PS C:\> $VirtualMachine = Set-AzureVMOperatingSystem -VM $VirtualMachine -Windows -ComputerName "Contoso26" -Credential $Credential +PS C:\> $SourceVaultId = "/subscriptions/46f8cea4-2de6-4179-8ab1-365da4211af4/resourceGroups/vault/providers/Microsoft.KeyVault/vaults/keyvault" +PS C:\> $CertificateStore01 = "My" +PS C:\> $CertificateUrl01 = "https://contosovault.vault.azure.net/secrets/514ceb769c984379a7e0230bdd703272" +PS C:\> $VirtualMachine = Add-AzureVMSecret -VM $VirtualMachine -SourceVaultId $SourceVaultId -CertificateStore $CertificateStore01 -CertificateUrl $CertificateUrl01 + + + + + The first command creates a virtual machine object, and then stores it in the $VirtualMachine variable. The command assigns a name and size to the virtual machine. + The third command creates a credential object by using the Get-Credential cmdlet, and then stores the result in the $Credential variable. The command prompts you for a user name and password. For more information, type Get-Help Get-Credential. + The fourth command uses the Set-AzureVMOperatingSystem cmdlet to configure the virtual machine stored in $VirtualMachine. + The fifth command assigns a source vault ID to the $SourceVaultId variable for later use. The command assumes that the $SubscriptionId variable has an appropriate value. + The sixth command assigns a value to the $CertificateStore01 variable for later use. + The seventh command assigns a URL for a certificate store. + The eighth command adds a secret to the virtual machine stored in $VirtualMachine. The SourceVaultId parameter specifies the Key Vault. The command specifies the name of the certificate store and the URL of the certificate. You can run the Add-AzureVMSecret repeatedly to add secrets for other certificates. + + + + + + + + + + + + + + + + Add-AzureVMSshPublicKey + + Adds the public keys for SSH for a virtual machine. + + + + + Add + AzureVMSshPublicKey + + + + The Add-AzureVMSshPublicKey cmdlet adds the public keys that you can use to connect to a virtual machine over Secure Shell (SSH). + + + + Add-AzureVMSshPublicKey + + VM + + Specifies the virtual machine object that this cmdlet modifies. To obtain a virtual machine object, use the Get-AzureVM cmdlet. Create a virtual machine object by using the New-AzureVMConfig cmdlet. + + PSVirtualMachine + + + KeyData + + Specifies a base 64 encoding of a public key. You can connect to a virtual machine by using SSH by using the key that this parameter specifies. + + String + + + Path + + Specifies the full path of a file, on the virtual machine, where this cmdlet stores the SSH public key. If the file already exists, this cmdlet appends the key to the file. + + 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 + + + + + + KeyData + + Specifies a base 64 encoding of a public key. You can connect to a virtual machine by using SSH by using the key that this parameter specifies. + + String + + String + + + none + + + Path + + Specifies the full path of a file, on the virtual machine, where this cmdlet stores the SSH public key. If the file already exists, this cmdlet appends the key to the file. + + String + + String + + + 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 + + + VM + + Specifies the virtual machine object that this cmdlet modifies. To obtain a virtual machine object, use the Get-AzureVM cmdlet. Create a virtual machine object by using the New-AzureVMConfig cmdlet. + + PSVirtualMachine + + PSVirtualMachine + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Add a public key to a virtual machine + + + + + PS C:\>$VirtualMachine = Get-AzureVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" +PS C:\> $VirtualMachine = Add-AzureVMSshPublicKey -VM $VirtualMachine -KeyData "MIIDszCCApugAwIBAgIJALBV9YJCF/tAMA0GCSq12Ib3DQEB21QUAMEUxCzAJBgNV" -Path "/home/admin/.ssh/authorized_keys" + + + The first command gets the virtual machine named VirtualMachine07 by using the Get-AzureVM cmdlet. The command stores the virtual machine in the $VirtualMachine variable. + The second command adds the public key to the location on VirtualMachine07 that the Path parameter specifies. + + + + + + + + + + + + + Get-AzureVM + + + + + + + Get-AzureAvailabilitySet + + Gets Azure availability sets in a resource group. + + + + + Get + AzureAvailabilitySet + + + + The Get-AzureAvailabilitySet cmdlet gets Azure availability sets in a resource group. Specify the name of a specific availability set to get. + + + + Get-AzureAvailabilitySet + + ResourceGroupName + + Specifies the name of a resource group. + + String + + + Name + + Specifies the name of an availability set to get. + + 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 + + + + + + Name + + Specifies the name of an availability set to get. + + String + + String + + + 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 + + + ResourceGroupName + + Specifies the name of a resource group. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Get a specific availability set + + + + + PS C:\>Get-AzureAvailabilitySet -ResourceGroupName "ResourceGroup11" -Name "AvailabilitySet03" + + + This command gets the availability set named AvailablitySet03 in the resource group named ResourceGroup11. + + + + + + + + + + + Example 2: Get all availability sets + + + + + PS C:\>Get-AzureAvailabilitySet -ResourceGroupName "ResourceGroup11" + + + This command gets all the availability sets in the resource group named ResourceGroup11. + + + + + + + + + + + + + New-AzureAvailabilitySet + + + + Remove-AzureAvailabilitySet + + + + + + + Get-AzureRemoteDesktopFile + + Gets an .rdp file. + + + + + Get + AzureRemoteDesktopFile + + + + The Get-AzureRemoteDesktopFile cmdlet gets a Remote Desktop Protocol (.rdp) file. + + + + Get-AzureRemoteDesktopFile + + ResourceGroupName + + Specifies the name of a resource group. + + String + + + Name + + Specifies the name of the availability set that this cmdlet gets. + + String + + + LocalPath + + Specifies the local full path where this cmdlet stores the .rdp file. + + 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 + + + + + + LocalPath + + Specifies the local full path where this cmdlet stores the .rdp file. + + String + + String + + + none + + + Name + + Specifies the name of the availability set that this cmdlet gets. + + String + + String + + + 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 + + + ResourceGroupName + + Specifies the name of a resource group. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Get a Remote Desktop file + + + + + PS C:\>Get-AzureRemoteDesktopFile -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" -LocalPath "D:\RemoteDesktopFile07.rdp" + + + This command gets the Remote Desktop file for the virtual machine named VirtualMachine07. The command stores the result in the file named D:\RemoteDesktopFile07.rdp. + + + + + + + + + + + + + + + + Get-AzureVMAccessExtension + + Gets information about the VMAccess extension. + + + + + Get + AzureVMAccessExtension + + + + The Get-AzureVMAccessExtension cmdlet gets information about the Virtual Machine Access (VMAccess) Virtual Machine Extension. + + + + Get-AzureVMAccessExtension + + ResourceGroupName + + Specifies the name of the resource group of the virtual machine. + + String + + + VMName + + Specifies the name of a virtual machine. This cmdlet gets information about VMAccess for the virtual machine that this parameter specifies. + + String + + + Name + + Specifies the name of the extension that this cmdlet gets. + + String + + + Status + + Indicates that this cmdlet gets only the instance view of the extension. + + + + 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 + + + + + + Name + + Specifies the name of the extension that this cmdlet gets. + + String + + String + + + 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 + + + ResourceGroupName + + Specifies the name of the resource group of the virtual machine. + + String + + String + + + none + + + Status + + Indicates that this cmdlet gets only the instance view of the extension. + + SwitchParameter + + SwitchParameter + + + none + + + VMName + + Specifies the name of a virtual machine. This cmdlet gets information about VMAccess for the virtual machine that this parameter specifies. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Get the VMAccess extension + + + + + PS C:\>$VMAccessExtension = Get-AzureVMAccessExtension -ResourceGroupName "ResourceGroup11" -VMName "VirtualMachine07" -Name "ContosoTest" + + + This command gets the VMAccess extension named ContosoTest for the virtual machine named VirtualMachine07. + + + + + + + + + + + Example 2: Get the instance view of the VMAccess extension + + + + + PS C:\>$VMAccessExtension = Get-AzureVMAccessExtension -ResourceGroupName "ResourceGroup11" -VMName "VirtualMachine0" -Name "ContosoTest" -Status + + + This command gets the instance view of the VMAccess extension named ContosoTest for the virtual machine named VirtualMachine07. + + + + + + + + + + + + + Remove-AzureVMAccessExtension + + + + Set-AzureVMAccessExtension + + + + Get-AzureVMExtension + + + + + + + Get-AzureVMCustomScriptExtension + + Gets information about a custom script extension. + + + + + Get + AzureVMCustomScriptExtension + + + + The Get-AzureVMCustomScriptExtension cmdlet gets information about a custom script Virtual Machine Extension on a virtual machine. + + + + Get-AzureVMCustomScriptExtension + + ResourceGroupName + + Specifies the name of the resource group of the virtual machine. + + String + + + VMName + + Specifies the name of a virtual machine for which this cmdlet gets the custom script extension. + + String + + + Name + + Specifies the name of the custom script extension about which this cmdlet gets information. + + String + + + Status + + Indicates that this cmdlet gets the instance view of the custom script extension. + + + + 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 + + + + + + Name + + Specifies the name of the custom script extension about which this cmdlet gets information. + + String + + String + + + 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 + + + ResourceGroupName + + Specifies the name of the resource group of the virtual machine. + + String + + String + + + none + + + Status + + Indicates that this cmdlet gets the instance view of the custom script extension. + + SwitchParameter + + SwitchParameter + + + none + + + VMName + + Specifies the name of a virtual machine for which this cmdlet gets the custom script extension. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Get a custom script extension + + + + + PS C:\>$VMCustomScriptExtension = Get-AzureVMCustomScriptExtension -ResourceGroupName "ResourceGroup11" -VMName "VirtualMachine07" -Name "ContosoCustomScript" + + + This command gets the custom script extension named ContosoCustomScript for the virtual machine named VirtualMachine07. + + + + + + + + + + + Example 2: Get the instance view of a custom script extension + + + + + PS C:\>$VMCustomScriptExtension = Get-AzureVMCustomScriptExtension -ResourceGroupName "ResourceGroup11" -VMName "VirtualMachine07" -Name "ContosoCustomScript" -Status + + + This command gets the instance view of the custom script extension named ContosoCustomScript for the virtual machine named VirtualMachine07. + + + + + + + + + + + + + Get-AzureVMExtension + + + + Get-AzureVMExtensionImage + + + + Get-AzureVMAccessExtension + + + + + + + Get-AzureVMExtensionImageDetail + + This cmdlet has been deprecated. + + + + + Get + AzureVMExtensionImageDetail + + + + This Get-AzureVMExtensionImageDetail cmdlet has been deprecated. + + + + Get-AzureVMExtensionImageDetail + + FilterExpression + + + String + + + Profile + + + AzureProfile + + + Version + + + String + + + Location + + + String + + + PublisherName + + + String + + + Type + + + String + + + + + + FilterExpression + + + String + + String + + + none + + + Location + + + String + + String + + + none + + + Profile + + + AzureProfile + + AzureProfile + + + none + + + PublisherName + + + String + + String + + + none + + + Type + + + String + + String + + + none + + + Version + + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1: + + + + + PS C:\> + + + + + + + + + + + + + + + + + + + + Get-AzureVMExtensionImageType + + Gets the type of an Azure extension. + + + + + Get + AzureVMExtensionImageType + + + + The Get-AzureVMExtensionImageType cmdlet gets the type of an Azure extension. + + + + Get-AzureVMExtensionImageType + + 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 + + + Location + + Specifies the location of an extension. This cmdlet gets the type for an extension at the location that this parameter specifies. + + String + + + PublisherName + + Specifies the name of a publisher of an extension. To obtain an extension publisher, use the Get-AzureVMImagePublisher cmdlet. This cmdlet gets the type for an extension from the publisher that this parameter specifies. + + String + + + + + + Location + + Specifies the location of an extension. This cmdlet gets the type for an extension at the location that this parameter specifies. + + String + + String + + + 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 + + + PublisherName + + Specifies the name of a publisher of an extension. To obtain an extension publisher, use the Get-AzureVMImagePublisher cmdlet. This cmdlet gets the type for an extension from the publisher that this parameter specifies. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Get an extension image type + + + + + PS C:\>Get-AzureVMExtensionImageType -Location "Central US" -PublisherName "Fabrikam" + + + This command gets the extension image type for the specified publisher and location. + + + + + + + + + + + + + Get-AzureVMExtensionImage + + + + + + + Get-AzureVMExtensionImage + + Gets all versions for an Azure extension. + + + + + Get + AzureVMExtensionImage + + + + The Get-AzureVMExtensionImage cmdlet gets all versions for an Azure extension. + + + + Get-AzureVMExtensionImage + + FilterExpression + + Specifies a filter expression. + + 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 + + + Version + + + + + System.String + + + Location + + Specifies the location of an extension. + + String + + + PublisherName + + Specifies the name of an extension publisher. To obtain an extension publisher, use the Get-AzureVMImagePublisher cmdlet. + + String + + + Type + + Specifies the type of the extension. To obtain an extension type, use the Get-AzureVMExtensionImageType cmdlet. + + String + + + + + + FilterExpression + + Specifies a filter expression. + + String + + String + + + none + + + Location + + Specifies the location of an extension. + + String + + String + + + 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 + + + PublisherName + + Specifies the name of an extension publisher. To obtain an extension publisher, use the Get-AzureVMImagePublisher cmdlet. + + String + + String + + + none + + + Type + + Specifies the type of the extension. To obtain an extension type, use the Get-AzureVMExtensionImageType cmdlet. + + String + + String + + + none + + + Version + + + + + System.String + + System.String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Get the versions of an extension image + + + + + PS C:\>Get-AzureVMExtensionImage -Location "Central US" -PublisherName "Fabrikam" -Type "FabrikamEndpointProtection" + + + This command gets all the versions of the extension image for the specified location, publisher, and type. + + + + + + + + + + + + + Get-AzureVMExtensionImageType + + + + Get-AzureVMImage + + + + Get-AzureVMImagePublisher + + + + Get-AzureVMExtensionImageType + + + + + + + Get-AzureVMExtension + + Gets properties of Virtual Machine Extensions installed on a virtual machine. + + + + + Get + AzureVMExtension + + + + The Get-AzureVMExtension cmdlet gets properties of Virtual Machine Extensions installed on a virtual machine. Specify the name of an extension for which to get properties. To get only the instance view of an extension, specify the Status parameter. + + + + Get-AzureVMExtension + + ResourceGroupName + + Specifies the name of a resource group. + + String + + + VMName + + Specifies the name of a virtual machine. This cmdlet gets properties of an extension from the virtual machine that this parameter specifies. + + String + + + Name + + Specifies the name of an extension. This cmdlet gets properties for the extension that this parameter specifies. + + String + + + Status + + Indicates that this cmdlet gets only the instance view of an extension. + + + + 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 + + + + + + Name + + Specifies the name of an extension. This cmdlet gets properties for the extension that this parameter specifies. + + String + + String + + + 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 + + + ResourceGroupName + + Specifies the name of a resource group. + + String + + String + + + none + + + Status + + Indicates that this cmdlet gets only the instance view of an extension. + + SwitchParameter + + SwitchParameter + + + none + + + VMName + + Specifies the name of a virtual machine. This cmdlet gets properties of an extension from the virtual machine that this parameter specifies. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Get properties of an extension + + + + + PS C:\>Get-AzureVMExtension -ResourceGroupName "ResourceGroup11" -VMName "VirtualMachine22" -Name "CustomScriptExtension" + + + This command gets properties for the extension named CustomScriptExtension on the virtual machine named VirtualMachine22 in the resource group ResourceGroup11. + + + + + + + + + + + Example 2: Get instance view of an extension + + + + + PS C:\>Get-AzureVMExtension -ResourceGroupName "ResourceGroup11" -VMName "VirtualMachine22" -Name "CustomScriptExtension" -Status + + + This command gets the instance view for the extension named CustomScriptExtension on the virtual machine named VirtualMachine22 in the resource group ResourceGroup11. + + + + + + + + + + + + + Remove-AzureVMExtension + + + + Set-AzureVMExtension + + + + + + + Get-AzureVMImageDetail + + This cmdlet has been deprecated. + + + + + Get + AzureVMImageDetail + + + + The Get-AzureVMImageDetail cmdlet has been deprecated. + + + + Get-AzureVMImageDetail + + Profile + + + AzureProfile + + + Location + + + String + + + Offer + + + String + + + PublisherName + + + String + + + Skus + + + String + + + Version + + + String + + + + + + Location + + + String + + String + + + none + + + Offer + + + String + + String + + + none + + + Profile + + + AzureProfile + + AzureProfile + + + none + + + PublisherName + + + String + + String + + + none + + + Skus + + + String + + String + + + none + + + Version + + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1: + + + + + PS C:\> + + + + + + + + + + + + + + + + + + + + Get-AzureVMImageOffer + + Gets VMImage offer types. + + + + + Get + AzureVMImageOffer + + + + The Get-AzureVMImageOffer cmdlet gets the VMImage offer types. + + + + Get-AzureVMImageOffer + + 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 + + + Location + + Specifies the location of the VMImage. + + String + + + PublisherName + + Specifies the name of a publisher of a VMImage. To obtain a publisher, use the Get-AzureVMImagePublisher cmdlet. + + String + + + + + + Location + + Specifies the location of the VMImage. + + String + + String + + + 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 + + + PublisherName + + Specifies the name of a publisher of a VMImage. To obtain a publisher, use the Get-AzureVMImagePublisher cmdlet. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Get offer types for a publisher + + + + + PS C:\>Get-AzureVMImageOffer -Location "Central US" -PublisherName "Fabrikam" + + + This command gets the offer types for the specified publisher in the Central US region. + + + + + + + + + + + + + Get-AzureVMImage + + + + Get-AzureVMImagePublisher + + + + Get-AzureVMImageSku + + + + Save-AzureVMImage + + + + + + + Get-AzureVMImagePublisher + + Gets the VMImage publishers. + + + + + Get + AzureVMImagePublisher + + + + The Get-AzureVMImagePublisher cmdlet gets the VMImage publishers. + + + + Get-AzureVMImagePublisher + + 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 + + + Location + + Specifies the location of the VMImage. + + String + + + + + + Location + + Specifies the location of the VMImage. + + String + + String + + + 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 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Get VMImage publishers for a region + + + + + PS C:\>Get-AzureVMImagePublisher -Location "Central US" + + + This command gets the publishers of VMImage instances for the Central US region within your profile. + + + + + + + + + + + + + Get-AzureVMImage + + + + Get-AzureVMImageOffer + + + + Get-AzureVMImageSku + + + + Save-AzureVMImage + + + + + + + Get-AzureVMImageSku + + Gets VMImage SKUs. + + + + + Get + AzureVMImageSku + + + + The Get-AzureVMImageSku cmdlet gets VMImage SKUs. + + + + Get-AzureVMImageSku + + 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 + + + Location + + Specifies the location of the VMImage. + + String + + + Offer + + Specifies the type of VMImage offer. + + String + + + PublisherName + + Specifies the publisher of a VMImage. + + String + + + + + + Location + + Specifies the location of the VMImage. + + String + + String + + + none + + + Offer + + Specifies the type of VMImage offer. + + String + + String + + + 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 + + + PublisherName + + Specifies the publisher of a VMImage. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Get SKUs + + + + + PS C:\>Get-AzureVMImageSku -Location "Central US" -PublisherName "Fabrikam" -Offer "LinuxServer" + + + This command gets the SKUs for the specified publisher and offer. + + + + + + + + + + + + + Get-AzureVMImage + + + + Get-AzureVMImageOffer + + + + Get-AzureVMImagePublisher + + + + Save-AzureVMImage + + + + + + + Get-AzureVMImage + + Gets all the versions of a VMImage. + + + + + Get + AzureVMImage + + + + The Get-AzureVMImage cmdlet gets all the versions of a VMImage. + + + + Get-AzureVMImage + + FilterExpression + + Specifies a filter expression. + + 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 + + + Location + + Specifies the location of a VMImage. + + System.String + + + Offer + + Specifies the type of VMImage offer. To obtain an image offer, use the Get-AzureVMImageOffer cmdlet. + + System.String + + + PublisherName + + Specifies the publisher of a VMImage. To obtain an image publisher, use the Get-AzureVMImagePublisher cmdlet. + + System.String + + + Skus + + Specifies a VMImage SKU. To obtain an SKU, use the Get-AzureVMImageSku cmdlet. + + System.String + + + + Get-AzureVMImage + + 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 + + + Location + + Specifies the location of a VMImage. + + System.String + + + Offer + + Specifies the type of VMImage offer. To obtain an image offer, use the Get-AzureVMImageOffer cmdlet. + + System.String + + + PublisherName + + Specifies the publisher of a VMImage. To obtain an image publisher, use the Get-AzureVMImagePublisher cmdlet. + + System.String + + + Skus + + Specifies a VMImage SKU. To obtain an SKU, use the Get-AzureVMImageSku cmdlet. + + System.String + + + Version + + + + + System.String + + + + + + FilterExpression + + Specifies a filter expression. + + System.String + + System.String + + + none + + + Location + + Specifies the location of a VMImage. + + System.String + + System.String + + + none + + + Offer + + Specifies the type of VMImage offer. To obtain an image offer, use the Get-AzureVMImageOffer cmdlet. + + System.String + + System.String + + + 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 + + + PublisherName + + Specifies the publisher of a VMImage. To obtain an image publisher, use the Get-AzureVMImagePublisher cmdlet. + + System.String + + System.String + + + none + + + Skus + + Specifies a VMImage SKU. To obtain an SKU, use the Get-AzureVMImageSku cmdlet. + + System.String + + System.String + + + none + + + Version + + + + + System.String + + System.String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Get VMImage objects + + + + + PS C:\>Get-AzureVMImage -Location "Central US" -PublisherName "Canonical" -Offer "UbuntuServer" -Skus "15.04-DAILY" + + + This command gets all the versions of VMImage that match the specified values. + + + + + + + + + + + + + Get-AzureVMImageOffer + + + + Get-AzureVMImagePublisher + + + + Get-AzureVMImageSku + + + + Save-AzureVMImage + + + + + + + Get-AzureVMSize + + Gets available virtual machine sizes. + + + + + Get + AzureVMSize + + + + The Get-AzureVMSize cmdlet gets available virtual machine sizes. + + + + Get-AzureVMSize + + ResourceGroupName + + Specifies the name of the resource group of the virtual machine. + + String + + + AvailabilitySetName + + Specifies the name of the Availability Set for which this cmdlet gets the available virtual machine sizes. + + 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 + + + + Get-AzureVMSize + + Location + + Specifies the location for which this cmdlet gets the available virtual machine sizes. + + 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 + + + + Get-AzureVMSize + + ResourceGroupName + + Specifies the name of the resource group of the virtual machine. + + String + + + VMName + + Specifies the name of the virtual machine that this cmdlet gets the available virtual machine sizes for resizing. + + 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 + + + + + + AvailabilitySetName + + Specifies the name of the Availability Set for which this cmdlet gets the available virtual machine sizes. + + String + + String + + + none + + + Location + + Specifies the location for which this cmdlet gets the available virtual machine sizes. + + String + + String + + + 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 + + + ResourceGroupName + + Specifies the name of the resource group of the virtual machine. + + String + + String + + + none + + + VMName + + Specifies the name of the virtual machine that this cmdlet gets the available virtual machine sizes for resizing. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Get sizes for a location + + + + + PS C:\>Get-AzureVMSize -Location "Central US" + + + + This command gets the available sizes for virtual machines in the specified location. + + + + + + + + + + + Example 2: Get sizes for an availability set + + + + + PS C:\>Get-AzureVMSize -ResourceGroupName "ResourceGroup03" -AvailabilitySetName "AvailabilitySet17" + + + + This command gets available sizes for virtual machines that you can deploy in the availability set named AvailabilitySet17. + + + + + + + + + + + Example 3: Get sizes for an existing virtual machine + + + + + PS C:\>Get-AzureVMSize -ResourceGroupName "ResourceGroup03" -VMName "VirtualMachine12" + + + + This command gets available sizes for the existing virtual machine named VirtualMachine12. You can resize this virtual machine to the sizes that this command gets. + + + + + + + + + + + + + Get-AzureVM + + + + + + + Get-AzureVMUsage + + Gets the virtual machine core count usage for a location. + + + + + Get + AzureVMUsage + + + + The Get-AzureVMUsage cmdlet gets the virtual machine core count usage for a location. + + + + Get-AzureVMUsage + + Location + + Specifies the location for which this cmdlet gets virtual machine core count usage. + + 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 + + + + + + Location + + Specifies the location for which this cmdlet gets virtual machine core count usage. + + String + + String + + + 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 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Get core count usage for a location + + + + + PS C:\>Get-AzureVMUsage -Location "Central US" + + + This command gets the virtual machine core count usage for the location Central US. + + + + + + + + + + + + + + + + Get-AzureVM + + Gets the properties of a virtual machine. + + + + + Get + AzureVM + + + + The Get-AzureVM cmdlet gets the model view and instance view of an Azure virtual machine. The model view is the user specified properties of the virtual machine. The instance view is the instance level status of the virtual machine. To get only the instance view of a virtual machine, specify the Status parameter. + + + + Get-AzureVM + + ResourceGroupName + + Specifies the name of a resource group. + + System.String + + + Name + + Specifies the name of the virtual machine to get. + + System.String + + + Status + + Indicates that this cmdlet gets only the instance view of the virtual machine. + + + + 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-AzureVM + + NextLink + + Specifies the next link. + + System.Uri + + + 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-AzureVM + + 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-AzureVM + + ResourceGroupName + + Specifies the name of a resource group. + + 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 + + + + + + Name + + Specifies the name of the virtual machine to get. + + System.String + + System.String + + + none + + + NextLink + + Specifies the next link. + + System.Uri + + System.Uri + + + 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 a resource group. + + System.String + + System.String + + + none + + + Status + + Indicates that this cmdlet gets only the instance view of the virtual machine. + + SwitchParameter + + SwitchParameter + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Get model and instance view properties + + + + + PS C:\>Get-AzureVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" + + + This command gets the model view and instance view properties of the virtual machine named VirtualMachine07. + + + + + + + + + + + Example 2: Get instance view properties + + + + + PS C:\>Get-AzureVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" -Status + + + This command gets properties of the virtual machine named VirtualMachine07. This command specifies the Status parameter. Therefore, the command gets only the instance view properties. + + + + + + + + + + + Example 3: Get properties for all virtual machines in a resource group + + + + + PS C:\> Get-AzureVM -ResourceGroupName "ResourceGroup11" + + + This command gets properties for all the virtual machines in the resource group named ResourceGroup11. + + + + + + + + + + + Example 4: Get all virtual machines in your subscription + + + + + PS C:\>Get-AzureVM + + + + This command gets all the virtual machines in your subscription. + + + + + + + + + + + + + New-AzureVM + + + + Remove-AzureVM + + + + Restart-AzureVM + + + + Start-AzureVM + + + + Stop-AzureVM + + + + Update-AzureVM + + + + + + + New-AzureAvailabilitySet + + Creates an Azure availability set. + + + + + New + AzureAvailabilitySet + + + + The New-AzureAvailabilitySet cmdlet creates an Azure availability set. + + + + New-AzureAvailabilitySet + + ResourceGroupName + + Specifies the name of a resource group. + + String + + + Name + + Specifies a name for the availability set. + + String + + + Location + + Specifies the location for the availability set. + + String + + + PlatformUpdateDomainCount + + Specifies the platform update domain count. + + Nullable [System.Int32] + + + PlatformFaultDomainCount + + Specifies the platform fault domain count. + + Nullable [System.Int32] + + + 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 + + + + + + Location + + Specifies the location for the availability set. + + String + + String + + + none + + + Name + + Specifies a name for the availability set. + + String + + String + + + none + + + PlatformFaultDomainCount + + Specifies the platform fault domain count. + + Nullable [System.Int32] + + Nullable [System.Int32] + + + none + + + PlatformUpdateDomainCount + + Specifies the platform update domain count. + + Nullable [System.Int32] + + Nullable [System.Int32] + + + 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 + + + ResourceGroupName + + Specifies the name of a resource group. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Create an availability set + + + + + PS C:\>New-AzureAvailabilitySet -ResourceGroupName "ResourceGroup11" -Name "AvailabilitySet03" -Location "West US" + + + This command creates an availability set named AvailablitySet03 in the resource group named ResourceGroup11. + + + + + + + + + + + + + Get-AzureAvailabilitySet + + + + Remove-AzureAvailabilitySet + + + + + + + New-AzureVMConfig + + Creates a configurable virtual machine object. + + + + + New + AzureVMConfig + + + + The New-AzureVMConfig cmdlet creates a configurable local virtual machine object for Azure. Configure a virtual machine object by using other cmdlets, such as Set-AzureVMOperatingSystem, Set-AzureVMSourceImage, Add-AzureVMNetworkInterface, and Set-AzureVMOSDisk. + + + + New-AzureVMConfig + + VMName + + Specifies a name for the virtual machine. + + String + + + VMSize + + Specifies the size for the virtual machine. + + String + + + AvailabilitySetId + + Specifies the ID of an availability set. To obtain an availability set object, use the Get-AzureAvailabilitySet cmdlet. The availability set object contains an ID property. + + 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 + + + + + + AvailabilitySetId + + Specifies the ID of an availability set. To obtain an availability set object, use the Get-AzureAvailabilitySet cmdlet. The availability set object contains an ID property. + + String + + String + + + 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 + + + VMName + + Specifies a name for the virtual machine. + + String + + String + + + none + + + VMSize + + Specifies the size for the virtual machine. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Create a virtual machine object + + + + + PS C:\>$AvailabilitySet = Get-AzureAvailabilitySet -ResourceGroupName "ResourceGroup11" -Name "AvailabilitySet03" +PS C:\> $VirtualMachine = New-AzureVMConfig -VMName "VirtualMachine07" -VMSize "Standard_A1" -AvailabilitySetID $AvailabilitySet.Id + + + The first command gets the availability set named AvailablitySet03 in the resource group named ResourceGroup11, and then stores that object in the $AvailabilitySet variable. + The second command creates a virtual machine object, and then stores it in the $VirtualMachine variable. The command assigns a name and size to the virtual machine. The virtual machine belongs to the availability set stored in $AvailabilitySet. + + + + + + + + + + + + + Update-AzureVM + + + + Set-AzureVMOperatingSystem + + + + Set-AzureVMSourceImage + + + + Get-AzureAvailabilitySet + + + + + + + New-AzureVM + + Creates a virtual machine. + + + + + New + AzureVM + + + + The New-AzureVM cmdlet creates a virtual machine in Azure. This cmdlet takes a virtual machine object as input. Use the New-AzureVMConfig cmdlet to create a virtual machine object. Configure the virtual machine object by using other cmdlets, such as Set-AzureVMOperatingSystem, Set-AzureVMSourceImage, Add-AzureVMNetworkInterface, and Set-AzureVMOSDisk. + + + + New-AzureVM + + Name + + Specifies a name for the virtual machine. + + 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 + + + Tags + + + + + System.Collections.Hashtable[] + + + Location + + Specifies a location for the virtual machine. + + String + + + ResourceGroupName + + Specifies the name of a resource group. + + String + + + VM + + Specifies a local virtual machine to create. To obtain a virtual machine object, use the New-AzureVMConfig cmdlet. Configure the virtual machine by using other cmdlets, such as Set-AzureVMOperatingSystem, Set-AzureVMSourceImage, and Add-AzureVMNetworkInterface. + + PSVirtualMachine + + + + + + Location + + Specifies a location for the virtual machine. + + String + + String + + + none + + + Name + + Specifies a name for the virtual machine. + + String + + String + + + 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 + + + ResourceGroupName + + Specifies the name of a resource group. + + String + + String + + + none + + + Tags + + + + + System.Collections.Hashtable[] + + System.Collections.Hashtable[] + + + none + + + VM + + Specifies a local virtual machine to create. To obtain a virtual machine object, use the New-AzureVMConfig cmdlet. Configure the virtual machine by using other cmdlets, such as Set-AzureVMOperatingSystem, Set-AzureVMSourceImage, and Add-AzureVMNetworkInterface. + + PSVirtualMachine + + PSVirtualMachine + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Create a virtual machine + + + + + PS C:\># Variables +## Global +$ResourceGroupName = "ResourceGroup11" +$Location = "westeurope" + +## Storage +$StorageName = "GeneralStorage6cc" +$StorageType = "Standard_GRS" + +## Network +$InterfaceName = "ServerInterface06" +$Subnet1Name = "Subnet1" +$VNetName = "VNet09" +$VNetAddressPrefix = "10.0.0.0/16" +$VNetSubnetAddressPrefix = "10.0.0.0/24" + +## Compute +$VMName = "VirtualMachine12" +$ComputerName = "Server22" +$VMSize = "Standard_A2" +$OSDiskName = $VMName + "osDisk" + +# Resource Group +New-AzureResourceGroup -Name $ResourceGroupName -Location $Location + +# Storage +$StorageAccount = New-AzureStorageAccount -ResourceGroupName $ResourceGroupName -Name $StorageName -Type $StorageType -Location $Location + +# Network +$PIp = New-AzurePublicIpAddress -Name $InterfaceName -ResourceGroupName $ResourceGroupName -Location $Location -AllocationMethod Dynamic +$SubnetConfig = New-AzureVirtualNetworkSubnetConfig -Name $Subnet1Name -AddressPrefix $VNetSubnetAddressPrefix +$VNet = New-AzureVirtualNetwork -Name $VNetName -ResourceGroupName $ResourceGroupName -Location $Location -AddressPrefix $VNetAddressPrefix -Subnet $SubnetConfig +$Interface = New-AzureNetworkInterface -Name $InterfaceName -ResourceGroupName $ResourceGroupName -Location $Location -SubnetId $VNet.Subnets[0].Id -PublicIpAddressId $PIp.Id + +# Compute + +## Setup local VM object +$Credential = Get-Credential +$VirtualMachine = New-AzureVMConfig -VMName $VMName -VMSize $VMSize +$VirtualMachine = Set-AzureVMOperatingSystem -VM $VirtualMachine -Windows -ComputerName $ComputerName -Credential $Credential -ProvisionVMAgent -EnableAutoUpdate +$VirtualMachine = Set-AzureVMSourceImage -VM $VirtualMachine -PublisherName MicrosoftWindowsServer -Offer WindowsServer -Skus 2012-R2-Datacenter -Version "latest" +$VirtualMachine = Add-AzureVMNetworkInterface -VM $VirtualMachine -Id $Interface.Id +$OSDiskUri = $StorageAccount.PrimaryEndpoints.Blob.ToString() + "vhds/" + $OSDiskName + ".vhd" +$VirtualMachine = Set-AzureVMOSDisk -VM $VirtualMachine -Name $OSDiskName -VhdUri $OSDiskUri -CreateOption FromImage + +## Create the VM in Azure +New-AzureVM -ResourceGroupName $ResourceGroupName -Location $Location -VM $VirtualMachine + + + + + This example script shows how to create a virtual machine. This script uses several other cmdlets. + + + + + + + + + + + + + Get-AzureVM + + + + Remove-AzureVM + + + + Restart-AzureVM + + + + Start-AzureVM + + + + Stop-AzureVM + + + + Update-AzureVM + + + + Add-AzureVMDataDisk + + + + Add-AzureVMNetworkInterface + + + + New-AzureVMConfig + + + + Set-AzureVMOperatingSystem + + + + Set-AzureVMSourceImage + + + + Set-AzureVMOSDisk + + + + + + + Remove-AzureAvailabilitySet + + Removes an availability set from Azure. + + + + + Remove + AzureAvailabilitySet + + + + The Remove-AzureAvailabilitySet cmdlet removes an availability set from Azure. + + + + Remove-AzureAvailabilitySet + + ResourceGroupName + + Specifies the name of a resource group. + + String + + + Name + + Specifies the name of the availability set to remove. + + String + + + Force + + Forces the command to run without asking for user confirmation. + + + + 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 + + + + + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + SwitchParameter + + + none + + + Name + + Specifies the name of the availability set to remove. + + String + + String + + + 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 + + + ResourceGroupName + + Specifies the name of a resource group. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Remove an availability set + + + + + PS C:\>Remove-AzureAvailabilitySet -Name "AvailabilitySet03" -ResourceGroupName "ResourceGroup11" + + + This command removes an availability set named AvailablitySet03 in the resource group named ResourceGroup11. + + + + + + + + + + + + + Get-AzureAvailabilitySet + + + + New-AzureAvailabilitySet + + + + + + + Remove-AzureVMAccessExtension + + Removes the VMAccess extension from a virtual machine. + + + + + Remove + AzureVMAccessExtension + + + + The Remove-AzureVMAccessExtension cmdlet removes the Virtual Machine Access (VMAccess) Virtual Machine Extension from a virtual machine. + + + + Remove-AzureVMAccessExtension + + ResourceGroupName + + Specifies the name of the resource group of the virtual machine. + + String + + + VMName + + Specifies the name of a virtual machine. This cmdlet removes VMAccess for the virtual machine that this parameter specifies. + + String + + + Name + + Specifies the name of the extension that this cmdlet removes. + + String + + + Force + + Forces the command to run without asking for user confirmation. + + + + 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 + + + + + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + SwitchParameter + + + none + + + Name + + Specifies the name of the extension that this cmdlet removes. + + String + + String + + + 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 + + + ResourceGroupName + + Specifies the name of the resource group of the virtual machine. + + String + + String + + + none + + + VMName + + Specifies the name of a virtual machine. This cmdlet removes VMAccess for the virtual machine that this parameter specifies. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1: + + + + + + + + + + + + + + + + + + Get-AzureVMAccessExtension + + + + Set-AzureVMAccessExtension + + + + Remove-AzureVMExtension + + + + + + + Remove-AzureVMCustomScriptExtension + + Removes a custom script extension from a virtual machine. + + + + + Remove + AzureVMCustomScriptExtension + + + + The Remove-AzureVMCustomScriptExtension cmdlet removes a custom script Virtual Machine Extension from a virtual machine. + + + + Remove-AzureVMCustomScriptExtension + + ResourceGroupName + + Specifies the name of the resource group of the virtual machine. + + String + + + VMName + + Specifies the name of a virtual machine from which this cmdlet removes the custom script extension. + + String + + + Name + + Specifies the name of the custom script extension that this cmdlet removes. + + String + + + Force + + Forces the command to run without asking for user confirmation. + + + + 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 + + + + + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + SwitchParameter + + + none + + + Name + + Specifies the name of the custom script extension that this cmdlet removes. + + String + + String + + + 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 + + + ResourceGroupName + + Specifies the name of the resource group of the virtual machine. + + String + + String + + + none + + + VMName + + Specifies the name of a virtual machine from which this cmdlet removes the custom script extension. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1: + + + + + + + + + + + + + + + + + + Get-AzureVMCustomScriptExtension + + + + Set-AzureVMCustomScriptExtension + + + + + + + Remove-AzureVMDataDisk + + Removes a data disk from a virtual machine. + + + + + Remove + AzureVMDataDisk + + + + The Remove-AzureVMDataDisk cmdlet removes a data disk from a virtual machine. + + + + Remove-AzureVMDataDisk + + VM + + Specifies the local virtual machine object from which to remove a data disk. To obtain a virtual machine object, use the Get-AzureVM cmdlet. + + PSVirtualMachine + + + Name + + Specifies the name of the data disk to add. + + 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 + + + + + + Name + + Specifies the name of the data disk to add. + + String + + String + + + 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 + + + VM + + Specifies the local virtual machine object from which to remove a data disk. To obtain a virtual machine object, use the Get-AzureVM cmdlet. + + PSVirtualMachine + + PSVirtualMachine + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Remove a data disk from a virtual machine + + + + + PS C:\>$VirtualMachine = Get-AzureVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" +PS C:\> Remove-AzureVMDataDisk -VM $VirtualMachine -Name "disk3" +PS C:\> Update-AzureVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" -VM $VirtualMachine + + + The first command gets the virtual machine named VirtualMachine07 by using the Get-AzureVM cmdlet. The command stores the virtual machine in the $VirtualMachine variable. + The second command removes the data disk named disk3 from the virtual machine stored in $VirtualMachine. + The final command updates the state of the virtual machine stored in $VirtualMachine in ResourceGroup11. + + + + + + + + + + + + + Add-AzureVMDataDisk + + + + Get-AzureVM + + + + + + + Remove-AzureVMExtension + + Removes an extension from a virtual machine. + + + + + Remove + AzureVMExtension + + + + The Remove-AzureVMExtension cmdlet removes an extension from the Virtual Machine Extensions of a virtual machine. + + + + Remove-AzureVMExtension + + ResourceGroupName + + Specifies the name of a resource group. + + String + + + VMName + + Specifies the name of a virtual machine. This cmdlet removes extensions from the virtual machine that this parameter specifies. + + String + + + Name + + Specifies the name of the extension to remove. + + String + + + Force + + Forces the command to run without asking for user confirmation. + + + + 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 + + + + + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + SwitchParameter + + + none + + + Name + + Specifies the name of the extension to remove. + + String + + String + + + 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 + + + ResourceGroupName + + Specifies the name of a resource group. + + String + + String + + + none + + + VMName + + Specifies the name of a virtual machine. This cmdlet removes extensions from the virtual machine that this parameter specifies. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Remove an extension from a virtual machine + + + + + PS C:\>Remove-AzureVMExtension -ResourceGroupName "ResourceGroup11" -Name "ContosoTest" -VMName "VirtualMachine22" + + + This command removes the extension named ContosoTest from the virtual machine named VirtualMachine22 in ResourceGroup11. + + + + + + + + + + + + + Get-AzureVMExtension + + + + Set-AzureVMExtension + + + + + + + Remove-AzureVMNetworkInterface + + Removes a network interface from a virtual machine. + + + + + Remove + AzureVMNetworkInterface + + + + The Remove-AzureVMNetworkInterface cmdlet removes a network interface from a virtual machine. + + + + Remove-AzureVMNetworkInterface + + VM + + Specifies the virtual machine from which this cmdlet removes a network interface. To obtain a virtual machine object, use the Get-AzureVM cmdlet. + + PSVirtualMachine + + + Id + + Specifies the ID of the network interface that this cmdlet removes from the virtual machine. + + 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 + + + + + + Id + + Specifies the ID of the network interface that this cmdlet removes from the virtual machine. + + String + + String + + + 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 + + + VM + + Specifies the virtual machine from which this cmdlet removes a network interface. To obtain a virtual machine object, use the Get-AzureVM cmdlet. + + PSVirtualMachine + + PSVirtualMachine + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1: + + + + + + + + + + + + + + + + + + Get-AzureVM + + + + + + + Remove-AzureVM + + Removes a virtual machine from Azure. + + + + + Remove + AzureVM + + + + The Remove-AzureVM cmdlet removes a virtual machine from Azure. + + + + Remove-AzureVM + + ResourceGroupName + + Specifies the name of a resource group. + + String + + + Name + + Specifies the name of the virtual machine to remove. + + String + + + Force + + Forces the command to run without asking for user confirmation. + + + + 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 + + + + + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + SwitchParameter + + + none + + + Name + + Specifies the name of the virtual machine to remove. + + String + + String + + + 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 + + + ResourceGroupName + + Specifies the name of a resource group. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Remove a virtual machine + + + + + PS C:\>Remove-AzureVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" + + + This command removes the virtual machine named VirtualMachine07 in the resource group ResourceGroup11. + + + + + + + + + + + + + Get-AzureVM + + + + New-AzureVM + + + + Restart-AzureVM + + + + Start-AzureVM + + + + Stop-AzureVM + + + + Update-AzureVM + + + + + + + Restart-AzureVM + + Restarts an Azure virtual machine. + + + + + Restart + AzureVM + + + + The Restart-AzureVM cmdlet restarts an Azure virtual machine. + + + + Restart-AzureVM + + ResourceGroupName + + Specifies the name of the resource group. + + String + + + Name + + Specifies the name of the virtual machine to restart. + + 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 + + + + + + Name + + Specifies the name of the virtual machine to restart. + + String + + String + + + 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 + + + ResourceGroupName + + Specifies the name of the resource group. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Restart a virtual machine + + + + + PS C:\>Restart-AzureVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" + + + This command restarts the virtual machine named VirtualMachine07 in ResourceGroup11. + + + + + + + + + + + + + Get-AzureVM + + + + New-AzureVM + + + + Remove-AzureVM + + + + Start-AzureVM + + + + Stop-AzureVM + + + + Update-AzureVM + + + + + + + Save-AzureVMImage + + Captures a virtual machine as a VMImage. + + + + + Save + AzureVMImage + + + + The Save-AzureVMImage cmdlet captures a virtual machine as a VMImage. Before you create a virtual machine image, sysprep the virtual machine, and then mark it as generalized by using the Set-AzureVM cmdlet. + The output of this cmdlet is a JavaScript Object Notation (JSON) template. You can deploy virtual machines from your captured image. + + + + Save-AzureVMImage + + ResourceGroupName + + Specifies the name of the resource group of the virtual machine. + + String + + + VMName + + Specifies the name of the virtual machine that this cmdlet saves. + + String + + + DestinationContainerName + + Specifies the name of a container. The virtual hard disks (VHDs) that constitute the VMImage reside in the container that this parameter specifies. If the VHDs are spread across multiple storage accounts, this cmdlet creates one container that has this name in each storage account. + + String + + + VHDNamePrefix + + Specifies the prefix in the name of the blobs that constitute the storage profile of the VMImage. For example, a prefix vhdPrefix for operating system disk results in the name vhdPrefix-osdisk. + + String + + + Overwrite + + Indicates that this cmdlet overwrites any VHDs that have the same prefix in the destination container. + + + + 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 + + + + + + DestinationContainerName + + Specifies the name of a container. The virtual hard disks (VHDs) that constitute the VMImage reside in the container that this parameter specifies. If the VHDs are spread across multiple storage accounts, this cmdlet creates one container that has this name in each storage account. + + String + + String + + + none + + + Overwrite + + Indicates that this cmdlet overwrites any VHDs that have the same prefix in the destination container. + + SwitchParameter + + SwitchParameter + + + 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 + + + ResourceGroupName + + Specifies the name of the resource group of the virtual machine. + + String + + String + + + none + + + VHDNamePrefix + + Specifies the prefix in the name of the blobs that constitute the storage profile of the VMImage. For example, a prefix vhdPrefix for operating system disk results in the name vhdPrefix-osdisk. + + String + + String + + + none + + + VMName + + Specifies the name of the virtual machine that this cmdlet saves. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Capture a virtual machine + + + + + PS C:\>Set-AzureVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" -Generalized +PS C:\> Save-AzureVMImage -ResourceGroupName "ResourceGroup11" -VMName "VirtualMachine07" -DestinationContainerName "VMContainer01" -VHDNamePrefix "VM07" + + + The first marks the virtual machine named VirtualMachine07 as generalized. + The second command captures a virtual machine named VirtualMachine07 as a VMImage. The Output property returns a JSON template. + + + + + + + + + + + + + Get-AzureVMImage + + + + Get-AzureVMImageOffer + + + + Get-AzureVMImagePublisher + + + + Get-AzureVMImageSku + + + + Set-AzureVM + + + + + + + Set-AzureVMAccessExtension + + Adds the VMAccess extension to a virtual machine. + + + + + Set + AzureVMAccessExtension + + + + The Set-AzureVMAccessExtension cmdlet adds the Virtual Machine Access (VMAccess) Virtual Machine Extension to a virtual machine. VMAccess can reset the virtual machine user name and password. + + + + Set-AzureVMAccessExtension + + ResourceGroupName + + Specifies the name of the resource group of the virtual machine. + + String + + + VMName + + Specifies the name of a virtual machine. This cmdlet adds VMAccess for the virtual machine that this parameter specifies. + + String + + + Name + + Specifies the name of the extension that this cmdlet adds. + + String + + + TypeHandlerVersion + + Specifies the version of the extension to use for this virtual machine. To obtain the version, run the Get-AzureVMExtensionImage cmdlet with a value of Microsoft.Compute for the PublisherName parameter and VMAccessAgent for the Type parameter. + + String + + + UserName + + Specifies the new user name for the virtual machine. + + String + + + Password + + Specifies the new password of the virtual machine. + + String + + + Location + + Specifies the location of the virtual machine. + + 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 + + + + + + Location + + Specifies the location of the virtual machine. + + String + + String + + + none + + + Name + + Specifies the name of the extension that this cmdlet adds. + + String + + String + + + none + + + Password + + Specifies the new password of the virtual machine. + + String + + String + + + 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 + + + ResourceGroupName + + Specifies the name of the resource group of the virtual machine. + + String + + String + + + none + + + TypeHandlerVersion + + Specifies the version of the extension to use for this virtual machine. To obtain the version, run the Get-AzureVMExtensionImage cmdlet with a value of Microsoft.Compute for the PublisherName parameter and VMAccessAgent for the Type parameter. + + String + + String + + + none + + + UserName + + Specifies the new user name for the virtual machine. + + String + + String + + + none + + + VMName + + Specifies the name of a virtual machine. This cmdlet adds VMAccess for the virtual machine that this parameter specifies. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Add a VMAccess extension + + + + + PS C:\> Set-AzureVMAccessExtension -ResourceGroupName "ResrouceGroup11" -Location "Central US" -VMName "VirtualMachine07" -Name "ContosoTest" -TypeHandlerVersion "2.0" -UserName "PFuller" -Password "Password" + + + This command adds a VMAccess extension for the virtual machine named VirtualMachine07 in ResrouceGroup11. The command specifies the name and type handler version for VMAccess. + + + + + + + + + + + + + Get-AzureVMAccessExtension + + + + Remove-AzureVMAccessExtension + + + + Set-AzureVMExtension + + + + Get-AzureVMExtensionImage + + + + + + + Set-AzureVMCustomScriptExtension + + Adds a custom script extension to a virtual machine. + + + + + Set + AzureVMCustomScriptExtension + + + + The Set-AzureVMCustomScriptExtension cmdlet adds a custom script Virtual Machine Extension to a virtual machine. This extension allows you to run your own scripts on the virtual machine. + + + + Set-AzureVMCustomScriptExtension + + ResourceGroupName + + Specifies the name of the resource group of the virtual machine. + + String + + + Run + + Specifies the command to use that runs your script. + + String + + + Argument + + Specifies arguments that the script extension passes to the script. + + String + + + Location + + Specifies the location of the virtual machine. + + String + + + VMName + + Specifies the name of a virtual machine. This cmdlet adds the custom script extension for the virtual machine that this parameter specifies. + + String + + + Name + + Specifies the name of the custom script extension. + + String + + + TypeHandlerVersion + + Specifies the version of the extension to use for this virtual machine. To obtain the version, run the Get-AzureVMExtensionImage cmdlet with a value of Microsoft.Compute for the PublisherName parameter and VMAccessAgent for the Type parameter. + + String + + + ContainerName + + Specifies the name of the Azure Storage container where this cmdlet stores the script. + + String + + + FileName + + Specifies the name of the script file. + + String[] + + + StorageAccountName + + Specifies the name of the Azure Storage account where this cmdlet stores the script. + + String + + + StorageEndpointSuffix + + Specifies the storage endpoint suffix. + + String + + + StorageAccountKey + + Specifies the key for the Azure Storage container. + + 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 + + + + Set-AzureVMCustomScriptExtension + + ResourceGroupName + + Specifies the name of the resource group of the virtual machine. + + String + + + Location + + Specifies the location of the virtual machine. + + String + + + VMName + + Specifies the name of a virtual machine. This cmdlet adds the custom script extension for the virtual machine that this parameter specifies. + + String + + + Name + + Specifies the name of the custom script extension. + + String + + + TypeHandlerVersion + + Specifies the version of the extension to use for this virtual machine. To obtain the version, run the Get-AzureVMExtensionImage cmdlet with a value of Microsoft.Compute for the PublisherName parameter and VMAccessAgent for the Type parameter. + + String + + + FileUri + + Specifies the URI of the script file. + + String[] + + + Run + + Specifies the command to use that runs your script. + + String + + + Argument + + Specifies arguments that the script extension passes to the script. + + 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 + + + + + + Argument + + Specifies arguments that the script extension passes to the script. + + String + + String + + + none + + + ContainerName + + Specifies the name of the Azure Storage container where this cmdlet stores the script. + + String + + String + + + none + + + FileName + + Specifies the name of the script file. + + String[] + + String[] + + + none + + + FileUri + + Specifies the URI of the script file. + + String[] + + String[] + + + none + + + Location + + Specifies the location of the virtual machine. + + String + + String + + + none + + + Name + + Specifies the name of the custom script extension. + + String + + String + + + 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 + + + ResourceGroupName + + Specifies the name of the resource group of the virtual machine. + + String + + String + + + none + + + Run + + Specifies the command to use that runs your script. + + String + + String + + + none + + + StorageAccountKey + + Specifies the key for the Azure Storage container. + + String + + String + + + none + + + StorageAccountName + + Specifies the name of the Azure Storage account where this cmdlet stores the script. + + String + + String + + + none + + + StorageEndpointSuffix + + Specifies the storage endpoint suffix. + + String + + String + + + none + + + TypeHandlerVersion + + Specifies the version of the extension to use for this virtual machine. To obtain the version, run the Get-AzureVMExtensionImage cmdlet with a value of Microsoft.Compute for the PublisherName parameter and VMAccessAgent for the Type parameter. + + String + + String + + + none + + + VMName + + Specifies the name of a virtual machine. This cmdlet adds the custom script extension for the virtual machine that this parameter specifies. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Add a custom script + + + + + PS C:\>Set-AzureVMCustomScriptExtension -ResourceGroupName "ResourceGroup11" -Location "Central US" -VMName "VirtualMachine07" -Name "contosotest" -TypeHandlerVersion "1.1" -StorageAccountName "contoso" -StorageAccountKey <StorageKey> -FileName "contososcript.exe" -ContainerName "scripts" + + + This command adds a custom script to the virtual machine named VirtualMachine07. The script file is contososcript.exe. + + + + + + + + + + + + + Get-AzureVMCustomScriptExtension + + + + Remove-AzureVMCustomScriptExtension + + + + + + + Set-AzureVMExtension + + Updates extension properties or adds an extension to a virtual machine. + + + + + Set + AzureVMExtension + + + + The Set-AzureVMExtension cmdlet updates properties for existing Virtual Machine Extensions or adds an extension to a virtual machine. + + + + Set-AzureVMExtension + + ResourceGroupName + + Specifies the name of a resource group. + + String + + + VMName + + Specifies the name of a virtual machine. This cmdlet modifies extensions for the virtual machine that this parameter specifies. + + String + + + Name + + Specifies the name of an extension. + + String + + + Publisher + + Specifies the name of the extension publisher. The publisher provides a name when the publisher registers an extension. + + String + + + ExtensionType + + Specifies the extension type. + + System.String + + + TypeHandlerVersion + + Specifies the version of the extension to use for this virtual machine. + + String + + + Settings + + Specifies public configuration for the extension, as a hash table. This cmdlet does not encrypt public configuration. + + Hashtable + + + ProtectedSettings + + Specifies private configuration for the extension, as a hash table. This cmdlet encrypts the private configuration. + + Hashtable + + + Location + + Specifies the location of the virtual machine. + + 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 + + + + Set-AzureVMExtension + + ResourceGroupName + + Specifies the name of a resource group. + + String + + + VMName + + Specifies the name of a virtual machine. This cmdlet modifies extensions for the virtual machine that this parameter specifies. + + String + + + Name + + Specifies the name of an extension. + + String + + + Publisher + + Specifies the name of the extension publisher. The publisher provides a name when the publisher registers an extension. + + String + + + ExtensionType + + Specifies the extension type. + + System.String + + + TypeHandlerVersion + + Specifies the version of the extension to use for this virtual machine. + + String + + + SettingString + + Specifies public configuration for the extension, as a string. This cmdlet does not encrypt public configuration. + + String + + + ProtectedSettingString + + Specifies private configuration for the extension, as a string. This cmdlet encrypts the private configuration. + + String + + + Location + + Specifies the location of the virtual machine. + + 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 + + + + + + ExtensionType + + Specifies the extension type. + + System.String + + System.String + + + none + + + Location + + Specifies the location of the virtual machine. + + String + + String + + + none + + + Name + + Specifies the name of an extension. + + String + + String + + + 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 + + + ProtectedSettings + + Specifies private configuration for the extension, as a hash table. This cmdlet encrypts the private configuration. + + Hashtable + + Hashtable + + + none + + + ProtectedSettingString + + Specifies private configuration for the extension, as a string. This cmdlet encrypts the private configuration. + + String + + String + + + none + + + Publisher + + Specifies the name of the extension publisher. The publisher provides a name when the publisher registers an extension. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of a resource group. + + String + + String + + + none + + + Settings + + Specifies public configuration for the extension, as a hash table. This cmdlet does not encrypt public configuration. + + Hashtable + + Hashtable + + + none + + + SettingString + + Specifies public configuration for the extension, as a string. This cmdlet does not encrypt public configuration. + + String + + String + + + none + + + TypeHandlerVersion + + Specifies the version of the extension to use for this virtual machine. + + String + + String + + + none + + + VMName + + Specifies the name of a virtual machine. This cmdlet modifies extensions for the virtual machine that this parameter specifies. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Modify settings by using hash tables + + + + + PS C:\>$Settings = @{"fileUris" = "[]"; "commandToExecute" = ""}; +PS C:\> $ProtectedSettings = @{"storageAccountName" = $stoname; "storageAccountKey" = $stokey}; +PS C:\> Set-AzureVMExtension -ResourceGroupName "ResourceGroup11" -Location "West US" -VMName "VirtualMachine22" -Name "ContosoTest" -Publisher "Contoso.Compute" -Type "CustomScriptExtension" -TypeHandlerVersion "1.1" -Settings $Settings -ProtectedSettings $ProtectedSettings; + + + The first two commands use standard Windows PowerShell� syntax to create hash tables, and then stores those hash tables in the $Settings and $ProtectedSettings variables. For more information, type Get-Help about_Hash_Tables. The second command includes two values previously created and stored in variables. + The final command modifies an extension of the virtual machine named VirtualMachine22 in ResourceGroup11 according to the contents of $Settings and $ProtectedSettings. The command specifies other required information that includes the publisher and the extension type. + + + + + + + + + + + Example 2: Modify settings by using strings + + + + + PS C:\>$SettingsString = '{"fileUris":[],"commandToExecute":""}'; +PS C:\> $ProtectedSettingsString = '{"storageAccountName":"' + $stoname + '","storageAccountKey":"' + $stokey + '"}'; +PS C:\> Set-AzureVMExtension -ResourceGroupName "ResourceGroup11" -Location "West US" -VMName "VirtualMachine22" -Name "CustomScriptExtension" -Publisher "Contoso.Compute" -Type "CustomScriptExtension" -TypeHandlerVersion "1.1" -SettingString $SettingsString -ProtectedSettingString $ProtectedSettingsString ; + + + The first two commands create strings that contain settings, and then stores them in the $SettingsString and $ProtectedSettingsString variables. + The final command modifies an extension of the virtual machine named VirtualMachine22 in ResourceGroup11 according to the contents of $SettingsString and $ProtectedSettingsString. The command specifies other required information that includes the publisher and the extension type. + + + + + + + + + + + + + Get-AzureVMExtension + + + + Remove-AzureVMExtension + + + + + + + Set-AzureVMOperatingSystem + + Sets operating system properties for a virtual machine. + + + + + Set + AzureVMOperatingSystem + + + + The Set-AzureVMOperatingSystem cmdlet sets operating system properties for a virtual machine. You can specify logon credentials computer name, and operating system type. + + + + Set-AzureVMOperatingSystem + + VM + + Specifies the local virtual machine object on which to set operating system properties. To obtain a virtual machine object, use the Get-AzureVM cmdlet. Create a virtual machine object by using the New-AzureVMConfig cmdlet. + + PSVirtualMachine + + + WinRMHttps + + Indicates that this operating system uses HTTPS WinRM. + + + + WinRMCertificateUrl + + Specifies the URI of a WinRM certificate. This needs to be stored in a Key Vault. + + System.Uri + + + Windows + + Indicates that the type of operating system is Windows. + + + + ComputerName + + Specifies the name of the computer. + + String + + + Credential + + Specifies the user name and password for the virtual machine as a PSCredential object. To obtain a credential, use the Get-Credential cmdlet. For more information, type Get-Help Get-Credential. + + PSCredential + + + CustomData + + Specifies a base-64 encoded string of custom data. This is decoded to a binary array that is saved as a file on the virtual machine. The maximum length of the binary array is 65535 bytes. + + System.String + + + ProvisionVMAgent + + Indicates that the settings require that the virtual machine agent be installed on the virtual machine. + + + + EnableAutoUpdate + + Indicates that this cmdlet enables auto update. + + + + TimeZone + + Specifies the time zone for the virtual machine. + + System.String + + + WinRMHttp + + Indicates that this operating system uses HTTP WinRM. + + + + 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 + + + + Set-AzureVMOperatingSystem + + VM + + Specifies the local virtual machine object on which to set operating system properties. To obtain a virtual machine object, use the Get-AzureVM cmdlet. Create a virtual machine object by using the New-AzureVMConfig cmdlet. + + PSVirtualMachine + + + Linux + + Indicates that the type of operating system is Linux. + + + + ComputerName + + Specifies the name of the computer. + + String + + + Credential + + Specifies the user name and password for the virtual machine as a PSCredential object. To obtain a credential, use the Get-Credential cmdlet. For more information, type Get-Help Get-Credential. + + PSCredential + + + CustomData + + Specifies a base-64 encoded string of custom data. This is decoded to a binary array that is saved as a file on the virtual machine. The maximum length of the binary array is 65535 bytes. + + System.String + + + DisablePasswordAuthentication + + Indicates that this cmdlet disables password authentication. + + + + 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 + + + + + + ComputerName + + Specifies the name of the computer. + + String + + String + + + none + + + Credential + + Specifies the user name and password for the virtual machine as a PSCredential object. To obtain a credential, use the Get-Credential cmdlet. For more information, type Get-Help Get-Credential. + + PSCredential + + PSCredential + + + none + + + CustomData + + Specifies a base-64 encoded string of custom data. This is decoded to a binary array that is saved as a file on the virtual machine. The maximum length of the binary array is 65535 bytes. + + System.String + + System.String + + + none + + + DisablePasswordAuthentication + + Indicates that this cmdlet disables password authentication. + + SwitchParameter + + SwitchParameter + + + none + + + EnableAutoUpdate + + Indicates that this cmdlet enables auto update. + + SwitchParameter + + SwitchParameter + + + none + + + Linux + + Indicates that the type of operating system is Linux. + + SwitchParameter + + SwitchParameter + + + 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 + + + ProvisionVMAgent + + Indicates that the settings require that the virtual machine agent be installed on the virtual machine. + + SwitchParameter + + SwitchParameter + + + none + + + TimeZone + + Specifies the time zone for the virtual machine. + + System.String + + System.String + + + none + + + VM + + Specifies the local virtual machine object on which to set operating system properties. To obtain a virtual machine object, use the Get-AzureVM cmdlet. Create a virtual machine object by using the New-AzureVMConfig cmdlet. + + PSVirtualMachine + + PSVirtualMachine + + + none + + + Windows + + Indicates that the type of operating system is Windows. + + SwitchParameter + + SwitchParameter + + + none + + + WinRMCertificateUrl + + Specifies the URI of a WinRM certificate. This needs to be stored in a Key Vault. + + System.Uri + + System.Uri + + + none + + + WinRMHttp + + Indicates that this operating system uses HTTP WinRM. + + SwitchParameter + + SwitchParameter + + + none + + + WinRMHttps + + Indicates that this operating system uses HTTPS WinRM. + + SwitchParameter + + SwitchParameter + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Set operating system properties for a new virtual machines + + + + + PS C:\>$SecurePassword = ConvertTo-SecureString "password" -AsPlainText -Force +PS C:\> $Credential = New-Object System.Management.Automation.PSCredential ("FullerP", $SecurePassword); +PS C:\> $AvailabilitySet = Get-AzureAvailabilitySet -ResourceGroupName "ResourceGroup11" -Name "AvailabilitySet03" +PS C:\> $VirtualMachine = New-AzureVMConfig -VMName "VirtualMachine07" -VMSize "Standard_A1" -AvailabilitySetID $AvailabilitySet.Id +PS C:\> $ComputerName = "ContosoVM122" +PS C:\> $WinRMCertUrl = "http://keyVaultName.vault.azure.net/secrets/secretName/secretVersion" +PS C:\> $TimeZone = "Pacific Standard Time" +PS C:\> $CustomData = "echo 'Hello World'" +PS C:\> $VirtualMachine = Set-AzureVMOperatingSystem -VM $$VirtualMachine -Windows -ComputerName $ComputerName -Credential $Credential -CustomData $CustomData -WinRMHttp -WinRMHttps -WinRMCertificateUrl $WinRMCertUrl -ProvisionVMAgent -EnableAutoUpdate -TimeZone $TimeZone + + + The first command converts a password to a secure string, and then stores it in the $SecurePassword variable. For more information, type Get-Help ConvertTo-SecureString. + The second command creates a credential for the user FullerP and the password stored in $SecurePassword, and then stores the credential in the $Credential variable. For more information, type Get-Help New-Object. + The third command gets the availability set named AvailablitySet03 in the resource group named ResourceGroup11, and then stores that object in the $AvailabilitySet variable. + The fourth command creates a virtual machine object, and then stores it in the $VirtualMachine variable. The command assigns a name and size to the virtual machine. The virtual machine belongs to the availability set stored in $AvailabilitySet. + The next four commands assign values to variables to use in the following command. Because you could specify these strings directly in the Set-AzureVMOperatingSystem command, this approach is used only for readability. However, you might use an approach such as this in scripts. + The final command sets operating system properties for the virtual machine stored in $VirtualMachine. The command uses the credentials stored in $Credential. The command uses variables assigned in previous commands for some parameters. + + + + + + + + + + + + + Get-AzureVM + + + + New-AzureVMConfig + + + + + + + Set-AzureVMOSDisk + + Sets the operating system disk properties on a virtual machine. + + + + + Set + AzureVMOSDisk + + + + The Set-AzureVMOSDisk cmdlet set the operating system disk properties on a virtual machine. + + + + Set-AzureVMOSDisk + + VM + + Specifies the local virtual machine object on which to set operating system disk properties. To obtain a virtual machine object, use the Get-AzureVM cmdlet. + + PSVirtualMachine + + + Name + + Specifies the name of the operating system disk. + + String + + + VhdUri + + Specifies the Uniform Resource Identifier (URI) of a virtual hard disk (VHD). + For an image based virtual machine, this parameter specifies the VHD file to create when a platform image or user image is specified. This is the location from which the image binary large object (BLOB) is copied to start the virtual machine. + For a disk based virtual machine boot scenario, this parameter specifies the VHD file that the virtual machine uses directly for starting up. + + String + + + Caching + + Specifies the caching mode of the operating system disk. Valid values are: + +-- ReadOnly +-- ReadWrite + +The default value is ReadWrite. Changing the caching value causes the virtual machine to restart. + This setting affects the consistency and performance of the disk. + + + ReadOnly + ReadWrite + + + + SourceImageUri + + + + This setting affects the consistency and performance of the disk. + + System.String + + + CreateOption + + Specifies whether this cmldet creates a disk in the virtual machine from a platform or user image, creates an empty disk, or attaches an existing disk. Valid values are: + +-- Attach +-- Empty +-- FromImage + This setting affects the consistency and performance of the disk. + + + empty + attach + fromImage + + + + Windows + + Indicates that the operating system on the user image is Windows. + + + + 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 + + + + Set-AzureVMOSDisk + + VM + + Specifies the local virtual machine object on which to set operating system disk properties. To obtain a virtual machine object, use the Get-AzureVM cmdlet. + + PSVirtualMachine + + + Name + + Specifies the name of the operating system disk. + + String + + + VhdUri + + Specifies the Uniform Resource Identifier (URI) of a virtual hard disk (VHD). + For an image based virtual machine, this parameter specifies the VHD file to create when a platform image or user image is specified. This is the location from which the image binary large object (BLOB) is copied to start the virtual machine. + For a disk based virtual machine boot scenario, this parameter specifies the VHD file that the virtual machine uses directly for starting up. + + String + + + Caching + + Specifies the caching mode of the operating system disk. Valid values are: + +-- ReadOnly +-- ReadWrite + +The default value is ReadWrite. Changing the caching value causes the virtual machine to restart. + This setting affects the consistency and performance of the disk. + + + ReadOnly + ReadWrite + + + + SourceImageUri + + + + This setting affects the consistency and performance of the disk. + + System.String + + + CreateOption + + Specifies whether this cmldet creates a disk in the virtual machine from a platform or user image, creates an empty disk, or attaches an existing disk. Valid values are: + +-- Attach +-- Empty +-- FromImage + This setting affects the consistency and performance of the disk. + + + empty + attach + fromImage + + + + Linux + + Indicates that the operating system on the user image is Linux. Specify this parameter for user image based virtual machine deployment. + + + + 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 + + + + + + Caching + + Specifies the caching mode of the operating system disk. Valid values are: + +-- ReadOnly +-- ReadWrite + +The default value is ReadWrite. Changing the caching value causes the virtual machine to restart. + This setting affects the consistency and performance of the disk. + + String + + String + + + none + + + CreateOption + + Specifies whether this cmldet creates a disk in the virtual machine from a platform or user image, creates an empty disk, or attaches an existing disk. Valid values are: + +-- Attach +-- Empty +-- FromImage + This setting affects the consistency and performance of the disk. + + System.String + + System.String + + + none + + + Linux + + Indicates that the operating system on the user image is Linux. Specify this parameter for user image based virtual machine deployment. + + SwitchParameter + + SwitchParameter + + + none + + + Name + + Specifies the name of the operating system disk. + + String + + String + + + 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 + + + SourceImageUri + + + + This setting affects the consistency and performance of the disk. + + System.String + + System.String + + + none + + + VhdUri + + Specifies the Uniform Resource Identifier (URI) of a virtual hard disk (VHD). + For an image based virtual machine, this parameter specifies the VHD file to create when a platform image or user image is specified. This is the location from which the image binary large object (BLOB) is copied to start the virtual machine. + For a disk based virtual machine boot scenario, this parameter specifies the VHD file that the virtual machine uses directly for starting up. + + String + + String + + + none + + + VM + + Specifies the local virtual machine object on which to set operating system disk properties. To obtain a virtual machine object, use the Get-AzureVM cmdlet. + + PSVirtualMachine + + PSVirtualMachine + + + none + + + Windows + + Indicates that the operating system on the user image is Windows. + + SwitchParameter + + SwitchParameter + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Sets properties on a virtual machine + + + + + PS C:\>$AvailabilitySet = Get-AzureAvailabilitySet -ResourceGroupName "ResourceGroup11" -Name "AvailabilitySet03" +PS C:\> $VirtualMachine = New-AzureVMConfig -VMName "VirtualMachine07" -VMSize "Standard_A1" -AvailabilitySetID $AvailabilitySet.Id +PS C:\> Set-AzureVMOSDisk -VM $VirtualMachine -Name "OsDisk02" -VhdUri "os.vhd" -Caching ReadWrite + + + The first command gets the availability set named AvailablitySet03 in the resource group named ResourceGroup11, and then stores that object in the $AvailabilitySet variable. + The second command creates a virtual machine object, and then stores it in the $VirtualMachine variable. The command assigns a name and size to the virtual machine. The virtual machine belongs to the availability set stored in $AvailabilitySet. + The final command sets the properties on the virtual machine in $VirtualMachine. + + + + + + + + + + + + + Get-AzureVM + + + + Get-AzureAvailabilitySet + + + + New-AzureVMConfig + + + + + + + Set-AzureVMSourceImage + + Specifies the platform image for a virtual machine. + + + + + Set + AzureVMSourceImage + + + + The Set-AzureVMSourceImage cmdlet specifies the platform image to use for a virtual machine. + + + + Set-AzureVMSourceImage + + VM + + Specifies the local virtual machine object to configure. + + Microsoft.Azure.Commands.Compute.Models.PSVirtualMachine + + + Name + + Specifies the name of a source image. + + 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 + + + + Set-AzureVMSourceImage + + VM + + Specifies the local virtual machine object to configure. + + Microsoft.Azure.Commands.Compute.Models.PSVirtualMachine + + + PublisherName + + Specifies the name of a publisher of a VMImage. To obtain a publisher, use the Get-AzureVMImagePublisher cmdlet. + + System.String + + + Offer + + Specifies the type of VMImage offer. To obtain an image offer, use the Get-AzureVMImageOffer cmdlet. + + System.String + + + Skus + + Specfies a VMImage SKU. To obtain SKUs, use the Get-AzureVMImageSku cmdlet. + + System.String + + + Version + + Specifies a version of a VMImage. To use the latest version, specify a value of latest instead of a particular version. + + 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 + + + + + + Name + + Specifies the name of a source image. + + System.String + + System.String + + + none + + + Offer + + Specifies the type of VMImage offer. To obtain an image offer, use the Get-AzureVMImageOffer cmdlet. + + System.String + + System.String + + + 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 + + + PublisherName + + Specifies the name of a publisher of a VMImage. To obtain a publisher, use the Get-AzureVMImagePublisher cmdlet. + + System.String + + System.String + + + none + + + Skus + + Specfies a VMImage SKU. To obtain SKUs, use the Get-AzureVMImageSku cmdlet. + + System.String + + System.String + + + none + + + Version + + Specifies a version of a VMImage. To use the latest version, specify a value of latest instead of a particular version. + + System.String + + System.String + + + none + + + VM + + Specifies the local virtual machine object to configure. + + Microsoft.Azure.Commands.Compute.Models.PSVirtualMachine + + Microsoft.Azure.Commands.Compute.Models.PSVirtualMachine + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Set values for an image + + + + + PS C:\>AvailabilitySet = Get-AzureAvailabilitySet -ResourceGroupName "ResourceGroup11" -Name "AvailabilitySet03" +PS C:\> $VirtualMachine = New-AzureVMConfig -VMName "VirtualMachine07" -VMSize "Standard_A1" -AvailabilitySetID $AvailabilitySet.Id +PS C:\> Set-AzureVMSourceImage -VM $VirtualMachine -PublisherName "MicrosoftWindowsServer" -Offer "WindowsServer" -Skus "2012-R2-Datacenter" -Version "latest" + + + + The first command gets the availability set named AvailablitySet03 in the resource group named ResourceGroup11, and then stores that object in the $AvailabilitySet variable. + The second command creates a virtual machine object, and then stores it in the $VirtualMachine variable. The command assigns a name and size to the virtual machine. The virtual machine belongs to the availability set stored in $AvailabilitySet. + The final command sets values for publisher name, offer, SKU, and version. The Get-AzureVMImagePublisher, Get-AzureVMImageOffer, Get-AzureVMImageSku, and Get-AzureVMImage cmdlets can discover these settings. + + + + + + + + + + + Example 2: Use the image reference method to set values + + + + + PS C:\>$Publisher = (Get-AzureVMImagePublisher -Location "Central US") | select -ExpandProperty PublisherName | where { $_ -like '*Microsoft*Windows*Server' } +PS C:\> $Offer = (Get-AzureVMImageOffer -Location "Central US" -PublisherName $Publisher[0]) | select -ExpandProperty Offer | where { $_ -like '*Windows*' } +PS C:\> $Sku = (Get-AzureVMImageSku -Location "Central US" -PublisherName $Publisher[0] -Offer $Offer[0]) | select -ExpandProperty Skus +PS C:\> $Versions = (Get-AzureVMImage -Location "Central US" -Offer -Offer $Offer[0] -PublisherName $Publisher[0] -Skus $Sku[0]) | select -ExpandProperty Version +PS C:\> $VMImage = Get-AzureVMImageDetail -Location "Central US" -Offer -Offer $Offer[0] -PublisherName $Publisher[0] -Skus $Sku[0] -Version $Versions[0] +PS C:\> $VirtualMachine07 = Set-AzureVMSourceImage -VM $VirtualMachine07 -ImageReference $VMImage + + + This example sets source image settings by using the image reference method. + + + + + + + + + + + + + Get-AzureAvailabilitySet + + + + New-AzureVMConfig + + + + Get-AzureVMImagePublisher + + + + Get-AzureVMImageOffer + + + + Get-AzureVMImageSku + + + + Get-AzureVMImage + + + + + + + Set-AzureVM + + Marks a virtual machine as generalized. + + + + + Set + AzureVM + + + + The Set-AzureVM cmdlet marks a virtual machine as generalized. Before you run this cmdlet, log on to the virtual machine and use Sysprep to prepare the hard disk. + + + + Set-AzureVM + + ResourceGroupName + + Specifies the name of the resource group of the virtual machine. + + String + + + Name + + Specifies the name of the virtual machine on which this cmdlet operates. + + String + + + Generalized + + Indicates that this cmdlet marks a virtual machine as generalized. + + + + 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 + + + + + + Generalized + + Indicates that this cmdlet marks a virtual machine as generalized. + + SwitchParameter + + SwitchParameter + + + none + + + Name + + Specifies the name of the virtual machine on which this cmdlet operates. + + String + + String + + + 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 + + + ResourceGroupName + + Specifies the name of the resource group of the virtual machine. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Mark a virtual machine as generalized + + + + + PS C:\>Set-AzureVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" -Generalized + + + This command marks the virtual machine named VirtualMachine07 as generalized. + + + + + + + + + + + + + Get-AzureVM + + + + + + + Start-AzureVM + + Starts an Azure virtual machine. + + + + + Start + AzureVM + + + + The Start-AzureVM cmdlet starts an Azure virtual machine. + + + + Start-AzureVM + + ResourceGroupName + + Specifies the name of a resource group. + + String + + + Name + + Specifies the name of the virtual machine to start. + + 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 + + + + + + Name + + Specifies the name of the virtual machine to start. + + String + + String + + + 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 + + + ResourceGroupName + + Specifies the name of a resource group. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Start a virtual machine + + + + + PS C:\>Start-AzureVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" + + + This command starts the virtual machine named VirtualMachine07 in ResourceGroup11. + + + + + + + + + + + + + Get-AzureVM + + + + New-AzureVM + + + + Remove-AzureVM + + + + Restart-AzureVM + + + + Stop-AzureVM + + + + Update-AzureVM + + + + + + + Stop-AzureVM + + Stops an Azure virtual machine. + + + + + Stop + AzureVM + + + + The Stop-AzureVM cmdlet stops an Azure virtual machine. + + + + Stop-AzureVM + + ResourceGroupName + + Specifies the name of a resource group. + + String + + + Name + + Specifies the name of the virtual machine to stop. + + String + + + Force + + Forces the command to run without asking for user confirmation. + + + + 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 + + + StayProvisioned + + Indicates that this cmdlet uses the stay provisioned setting. + + + + + + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + SwitchParameter + + + none + + + Name + + Specifies the name of the virtual machine to stop. + + String + + String + + + 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 + + + ResourceGroupName + + Specifies the name of a resource group. + + String + + String + + + none + + + StayProvisioned + + Indicates that this cmdlet uses the stay provisioned setting. + + SwitchParameter + + SwitchParameter + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Stop a virtual machine + + + + + PS C:\>Stop-AzureVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" + + + This command stops the virtual machine named VirtualMachine07 in ResourceGroup11. + + + + + + + + + + + + + Get-AzureVM + + + + New-AzureVM + + + + Remove-AzureVM + + + + Restart-AzureVM + + + + Start-AzureVM + + + + Update-AzureVM + + + + + + + Update-AzureVM + + Updates the state of an Azure virtual machine. + + + + + Update + AzureVM + + + + The Update-AzureVM cmdlet updates the state of an Azure virtual machine to the state of a virtual machine object. + + + + Update-AzureVM + + Name + + Specifies the name of the virtual machine to update. + + 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 + + + Tags + + + + + System.Collections.Hashtable[] + + + ResourceGroupName + + Specifies the name of a resource group. + + String + + + VM + + Specifies a local virtual machine object. To obtain a virtual machine object, use the Get-AzureVM cmdlet. This virtual machine object contains the updated state for the virtual machine. + + PSVirtualMachine + + + + + + Name + + Specifies the name of the virtual machine to update. + + String + + String + + + 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 + + + ResourceGroupName + + Specifies the name of a resource group. + + String + + String + + + none + + + Tags + + + + + System.Collections.Hashtable[] + + System.Collections.Hashtable[] + + + none + + + VM + + Specifies a local virtual machine object. To obtain a virtual machine object, use the Get-AzureVM cmdlet. This virtual machine object contains the updated state for the virtual machine. + + PSVirtualMachine + + PSVirtualMachine + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Update a virtual machine + + + + + PS C:\>Update-AzureVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" -VM $VirtualMachine + + + This command updates the virtual machine named VirtualMachine07 in ResourceGroup11. The command updates it by using another virtual machine object, stored in the $VirtualMachine variable. To obtain a virtual machine object, use the Get-AzureVM cmdlet. + + + + + + + + + + + + + Get-AzureVM + + + + New-AzureVM + + + + Remove-AzureVM + + + + Restart-AzureVM + + + + Start-AzureVM + + + + Stop-AzureVM + + + + New-AzureVMConfig + + + + + From 51af533db88da7b31b39229218fbd2e5cb643a27 Mon Sep 17 00:00:00 2001 From: Shefali Date: Fri, 31 Jul 2015 15:20:07 -0700 Subject: [PATCH 26/38] CR comments --- .../Commands.HDInsight.Test.csproj | 10 ++- .../UnitTests/GetPropertiesTests.cs | 8 +- .../UnitTests/ResizeClusterTests.cs | 2 +- .../Commands.HDInsight.Test/packages.config | 2 + .../Commands.HDInsight.csproj | 7 +- ...zure.Commands.HDInsight.dll-help -psd1.txt | 88 +++++++++++++++++++ ...oft.Azure.Commands.HDInsight.dll-help.psd1 | 88 +++++++++++++++++++ .../Properties/AssemblyInfo.cs | 33 ++----- .../Commands.HDInsight/packages.config | 2 +- .../AzureResourceManager.psd1 | 1 + .../Commands.Resources.csproj | 3 +- 11 files changed, 200 insertions(+), 44 deletions(-) create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Microsoft.Azure.Commands.HDInsight.dll-help -psd1.txt create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/Microsoft.Azure.Commands.HDInsight.dll-help.psd1 diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj index f07d34d6071d..689bf204d86f 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj +++ b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj @@ -50,12 +50,13 @@ ..\..\..\packages\Microsoft.Azure.Management.Authorization.0.18.2-preview\lib\net40\Microsoft.Azure.Management.Authorization.dll - - ..\..\..\..\..\azure-sdk-for-net-pr\binaries\net40\Microsoft.Azure.Management.HDInsight.dll + + False + ..\..\..\packages\Microsoft.Azure.Management.HDInsight.0.0.2-preview\lib\net40\Microsoft.Azure.Management.HDInsight.dll - + False - ..\..\..\..\..\azure-sdk-for-net-pr\binaries\portable\Microsoft.Azure.Management.HDInsight.Job.dll + ..\..\..\packages\Microsoft.Azure.Management.HDInsight.Job.0.0.1-preview\lib\net40\Microsoft.Azure.Management.HDInsight.Job.dll ..\..\..\packages\Microsoft.Azure.Management.Storage.2.4.0-preview\lib\net40\Microsoft.Azure.Management.Storage.dll @@ -93,6 +94,7 @@ + diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/UnitTests/GetPropertiesTests.cs b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/UnitTests/GetPropertiesTests.cs index 21ec4583fcca..67ff8365d261 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/UnitTests/GetPropertiesTests.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/UnitTests/GetPropertiesTests.cs @@ -43,18 +43,12 @@ public GetPropertiesTests() public void CanGetProperties() { var features = new string[] {"feature1", "feature2"}; - var quota = new QuotaCapability - { - CoresUsed = 45, - MaxCoresAllowed = 90 - }; var versions = new Dictionary {{"key", new VersionsCapability()}}; var vm = new Dictionary {{"key1", new VmSizesCapability()}}; var regions = new Dictionary {{"eastus", new RegionsCapability()}}; var propertiesResponse = new CapabilitiesResponse { Features = features, - QuotaCapability = quota, Versions = versions, VmSizes = vm, Regions = regions @@ -71,7 +65,7 @@ public void CanGetProperties() f.WriteObject( It.Is( resp => - resp.Features == features && resp.QuotaCapability == quota && resp.Regions == regions && + resp.Features == features && resp.Regions == regions && resp.Versions == versions && resp.VmSizes == vm)), Times.Once); } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/UnitTests/ResizeClusterTests.cs b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/UnitTests/ResizeClusterTests.cs index 8a35a19e6087..cfab93f2a6b1 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/UnitTests/ResizeClusterTests.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/UnitTests/ResizeClusterTests.cs @@ -79,7 +79,7 @@ public void CanResizeCluster() c => c.ResizeCluster(ResourceGroupName, ClusterName, It.Is( - param => param.TargetInstanceCount == targetcount && param.MinInstanceCount == null))) + param => param.TargetInstanceCount == targetcount))) .Returns(new HDInsightLongRunningOperationResponse { Error = null, diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/packages.config b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/packages.config index 8c88c7093ac7..ad3aa95d0c34 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/packages.config +++ b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/packages.config @@ -6,6 +6,8 @@ + + diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj index 19170390b9a4..80d17e662af8 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj @@ -33,6 +33,7 @@ ;$(ProgramFiles)\Microsoft Visual Studio 12.0\Team Tools\Static Analysis Tools\Rule Sets ;$(ProgramFiles)\Microsoft Visual Studio 12.0\Team Tools\Static Analysis Tools\FxCop\Rules true + true @@ -79,6 +80,7 @@ + @@ -96,10 +98,9 @@ False - ..\..\..\packages\Microsoft.Azure.Management.HDInsight.0.0.1-preview\lib\net40\Microsoft.Azure.Management.HDInsight.dll + ..\..\..\packages\Microsoft.Azure.Management.HDInsight.0.0.2-preview\lib\net40\Microsoft.Azure.Management.HDInsight.dll - - False + ..\..\..\packages\Microsoft.Azure.Management.HDInsight.Job.0.0.1-preview\lib\net40\Microsoft.Azure.Management.HDInsight.Job.dll diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Microsoft.Azure.Commands.HDInsight.dll-help -psd1.txt b/src/ResourceManager/HDInsight/Commands.HDInsight/Microsoft.Azure.Commands.HDInsight.dll-help -psd1.txt new file mode 100644 index 000000000000..580e8a2f7f6f --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Microsoft.Azure.Commands.HDInsight.dll-help -psd1.txt @@ -0,0 +1,88 @@ +# +# Module manifest for module 'Microsoft.Azure.Commands.Management.HDInsight' +# +# Generated by: Microsoft Corporation +# +# Generated on: 07/29/2015 +# + +@{ + +# Version number of this module. +ModuleVersion = '0.9.5' + +# ID used to uniquely identify this module +GUID = 'F237EAAA-BD3A-4965-AD4A-BF38598BFEF7' + +# Author of this module +Author = 'Microsoft Corporation' + +# Company or vendor of this module +CompanyName = 'Microsoft Corporation' + +# Copyright statement for this module +Copyright = '� Microsoft Corporation. All rights reserved.' + +# Description of the functionality provided by this module +Description = '' + +# Minimum version of the Windows PowerShell engine required by this module +PowerShellVersion = '3.0' + +# Name of the Windows PowerShell host required by this module +PowerShellHostName = '' + +# Minimum version of the Windows PowerShell host required by this module +PowerShellHostVersion = '' + +# Minimum version of the .NET Framework required by this module +DotNetFrameworkVersion = '4.5' + +# Minimum version of the common language runtime (CLR) required by this module +CLRVersion='4.0' + +# Processor architecture (None, X86, Amd64, IA64) required by this module +ProcessorArchitecture = 'None' + +# Modules that must be imported into the global environment prior to importing this module +RequiredModules = @() + +# Assemblies that must be loaded prior to importing this module +RequiredAssemblies = @() + +# Script files (.ps1) that are run in the caller's environment prior to importing this module +ScriptsToProcess = @() + +# Type files (.ps1xml) to be loaded when importing this module +TypesToProcess = @() + +# Format files (.ps1xml) to be loaded when importing this module +FormatsToProcess = @() + +# Modules to import as nested modules of the module specified in ModuleToProcess +NestedModules = @( + '..\..\..\Package\Debug\ResourceManager\AzureResourceManager\HDInsight\Microsoft.Azure.Commands.HDInsight.dll' +) + +# Functions to export from this module +FunctionsToExport = '*' + +# Cmdlets to export from this module +CmdletsToExport = '*' + +# Variables to export from this module +VariablesToExport = '*' + +# Aliases to export from this module +AliasesToExport = @() + +# List of all modules packaged with this module +ModuleList = @() + +# List of all files packaged with this module +FileList = @() + +# Private data to pass to the module specified in ModuleToProcess +PrivateData = '' + +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Microsoft.Azure.Commands.HDInsight.dll-help.psd1 b/src/ResourceManager/HDInsight/Commands.HDInsight/Microsoft.Azure.Commands.HDInsight.dll-help.psd1 new file mode 100644 index 000000000000..580e8a2f7f6f --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Microsoft.Azure.Commands.HDInsight.dll-help.psd1 @@ -0,0 +1,88 @@ +# +# Module manifest for module 'Microsoft.Azure.Commands.Management.HDInsight' +# +# Generated by: Microsoft Corporation +# +# Generated on: 07/29/2015 +# + +@{ + +# Version number of this module. +ModuleVersion = '0.9.5' + +# ID used to uniquely identify this module +GUID = 'F237EAAA-BD3A-4965-AD4A-BF38598BFEF7' + +# Author of this module +Author = 'Microsoft Corporation' + +# Company or vendor of this module +CompanyName = 'Microsoft Corporation' + +# Copyright statement for this module +Copyright = '� Microsoft Corporation. All rights reserved.' + +# Description of the functionality provided by this module +Description = '' + +# Minimum version of the Windows PowerShell engine required by this module +PowerShellVersion = '3.0' + +# Name of the Windows PowerShell host required by this module +PowerShellHostName = '' + +# Minimum version of the Windows PowerShell host required by this module +PowerShellHostVersion = '' + +# Minimum version of the .NET Framework required by this module +DotNetFrameworkVersion = '4.5' + +# Minimum version of the common language runtime (CLR) required by this module +CLRVersion='4.0' + +# Processor architecture (None, X86, Amd64, IA64) required by this module +ProcessorArchitecture = 'None' + +# Modules that must be imported into the global environment prior to importing this module +RequiredModules = @() + +# Assemblies that must be loaded prior to importing this module +RequiredAssemblies = @() + +# Script files (.ps1) that are run in the caller's environment prior to importing this module +ScriptsToProcess = @() + +# Type files (.ps1xml) to be loaded when importing this module +TypesToProcess = @() + +# Format files (.ps1xml) to be loaded when importing this module +FormatsToProcess = @() + +# Modules to import as nested modules of the module specified in ModuleToProcess +NestedModules = @( + '..\..\..\Package\Debug\ResourceManager\AzureResourceManager\HDInsight\Microsoft.Azure.Commands.HDInsight.dll' +) + +# Functions to export from this module +FunctionsToExport = '*' + +# Cmdlets to export from this module +CmdletsToExport = '*' + +# Variables to export from this module +VariablesToExport = '*' + +# Aliases to export from this module +AliasesToExport = @() + +# List of all modules packaged with this module +ModuleList = @() + +# List of all files packaged with this module +FileList = @() + +# Private data to pass to the module specified in ModuleToProcess +PrivateData = '' + +} diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Properties/AssemblyInfo.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Properties/AssemblyInfo.cs index e04d8675c49d..f29c46aa2ec5 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Properties/AssemblyInfo.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Properties/AssemblyInfo.cs @@ -4,32 +4,13 @@ // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. -[assembly: AssemblyTitle("Commands.HDInsight")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Commands.HDInsight")] -[assembly: AssemblyCopyright("Copyright © 2015")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] +[assembly: AssemblyTitle("Microsoft Azure Powershell - HDInsight Commands")] +[assembly: AssemblyCompany(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCompany)] +[assembly: AssemblyProduct(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyProduct)] +[assembly: AssemblyCopyright(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCopyright)] -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: CLSCompliant(false)] [assembly: Guid("57ad7b0e-1f56-4166-b1f9-ec6512139a54")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: AssemblyVersion(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyVersion)] +[assembly: AssemblyFileVersion(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyFileVersion)] diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/packages.config b/src/ResourceManager/HDInsight/Commands.HDInsight/packages.config index 91659e041e53..d7f6d8f5ac8f 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/packages.config +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/packages.config @@ -4,7 +4,7 @@ - + diff --git a/src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1 b/src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1 index 8e0d70add7c0..587425ecfa88 100644 --- a/src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1 +++ b/src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1 @@ -73,6 +73,7 @@ FormatsToProcess = @( '.\StorageManagement\Microsoft.Azure.Commands.Management.Storage.format.ps1xml', '.\OperationalInsights\Microsoft.Azure.Commands.OperationalInsights.format.ps1xml', '.\AzureBackup\Microsoft.Azure.Commands.AzureBackup.format.ps1xml' + '.\Compute\Microsoft.Azure.Commands.Compute.format.generated.ps1xml', ) # Modules to import as nested modules of the module specified in ModuleToProcess diff --git a/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj b/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj index bff47a7a8937..5fe15519e616 100644 --- a/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj +++ b/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj @@ -283,8 +283,7 @@ - echo 'running powershell' -c:\windows\syswow64\WindowsPowershell\v1.0\powershell.exe -ExecutionPolicy Unrestricted -File "$(ProjectDir)\PostBuild.ps1" "$(TargetDir)\" + powershell.exe -ExecutionPolicy Unrestricted -File "$(ProjectDir)\PostBuild.ps1" "$(TargetDir)\" From b082464844bd7f836a048a1a2ba6b30145b73d7f Mon Sep 17 00:00:00 2001 From: Shefali Date: Fri, 31 Jul 2015 16:58:07 -0700 Subject: [PATCH 27/38] adding license to files --- .../Properties/AssemblyInfo.cs | 16 +++++++++++++++- .../Properties/AssemblyInfo.cs | 17 ++++++++++++++++- 2 files changed, 31 insertions(+), 2 deletions(-) diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/Properties/AssemblyInfo.cs b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/Properties/AssemblyInfo.cs index 6fbc40f8ebf2..56fe277f939f 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/Properties/AssemblyInfo.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/Properties/AssemblyInfo.cs @@ -1,4 +1,18 @@ -using System.Reflection; +// ---------------------------------------------------------------------------------- +// +// 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.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Properties/AssemblyInfo.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Properties/AssemblyInfo.cs index f29c46aa2ec5..0509caeb218b 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Properties/AssemblyInfo.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Properties/AssemblyInfo.cs @@ -1,4 +1,19 @@ -using System.Reflection; +// ---------------------------------------------------------------------------------- +// +// 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.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following From 5e9c717fcb73eb6a587eafc8fc193a1106382b8b Mon Sep 17 00:00:00 2001 From: Brian Golden Date: Fri, 31 Jul 2015 17:03:59 -0700 Subject: [PATCH 28/38] update ADF SDK reference to 2.0.0 --- .../Commands.DataFactories.Test.csproj | 4 +- .../TestCreateDataFactoryGateway.json | 326 ++++++------- ...actoryGatewayWithDataFactoryParameter.json | 396 +++++++-------- .../TestGetNonExistingDataFactoryGateway.json | 208 +++----- .../TestCreateDataFactory.json | 190 ++++---- .../TestDataFactoryPiping.json | 388 +++++++++++---- ...teDataFactoryWithDataFactoryParameter.json | 218 +++------ .../TestGetNonExistingDataFactory.json | 86 ++-- .../TestHub.json | 250 +++++----- .../TestHubPiping.json | 314 +++++------- .../TestHubWithDataFactoryParameter.json | 370 +++++++++----- .../TestLinkedService.json | 310 +++++------- .../TestLinkedServicePiping.json | 290 +++++------ ...LinkedServiceWithDataFactoryParameter.json | 316 +++++++----- .../TestTable.json | 454 +++++++---------- .../TestTablePiping.json | 456 +++++++++--------- .../TestTableWithDataFactoryParameter.json | 398 ++++++++------- .../packages.config | 2 +- .../Commands.DataFactories.csproj | 4 +- .../Commands.DataFactories/packages.config | 2 +- 20 files changed, 2491 insertions(+), 2491 deletions(-) diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Commands.DataFactories.Test.csproj b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Commands.DataFactories.Test.csproj index 76cd5d89dbec..63cfcee45aa4 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Commands.DataFactories.Test.csproj +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Commands.DataFactories.Test.csproj @@ -63,8 +63,8 @@ False ..\..\..\packages\Microsoft.Azure.Management.Authorization.0.19.2-preview\lib\net40\Microsoft.Azure.Management.Authorization.dll - - ..\..\..\packages\Microsoft.Azure.Management.DataFactories.1.0.2\lib\net45\Microsoft.Azure.Management.DataFactories.dll + + ..\..\..\packages\Microsoft.Azure.Management.DataFactories.2.0.0\lib\net45\Microsoft.Azure.Management.DataFactories.dll ..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.1-preview\lib\net40\Microsoft.Azure.ResourceManager.dll diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryGatewayTests/TestCreateDataFactoryGateway.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryGatewayTests/TestCreateDataFactoryGateway.json index 97e39d2116cc..1a9117c80c8a 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryGatewayTests/TestCreateDataFactoryGateway.json +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryGatewayTests/TestCreateDataFactoryGateway.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5593?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU1OTM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8154?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgxNTQ/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -28,16 +28,16 @@ "gateway" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14946" + "14973" ], "x-ms-request-id": [ - "e2108f3a-7c0b-4f6e-9f46-7aab4d632556" + "d4988cd6-a8f3-44ba-a051-5f440d6f0eb8" ], "x-ms-correlation-request-id": [ - "e2108f3a-7c0b-4f6e-9f46-7aab4d632556" + "d4988cd6-a8f3-44ba-a051-5f440d6f0eb8" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211056Z:e2108f3a-7c0b-4f6e-9f46-7aab4d632556" + "NORTHEUROPE:20150731T040524Z:d4988cd6-a8f3-44ba-a051-5f440d6f0eb8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -46,14 +46,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:10:56 GMT" + "Fri, 31 Jul 2015 04:05:24 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5593?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU1OTM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8154?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgxNTQ/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"Brazil South\"\r\n}", "RequestHeaders": { @@ -67,7 +67,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk5593\",\r\n \"name\": \"onesdk5593\",\r\n \"location\": \"brazilsouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk8154\",\r\n \"name\": \"onesdk8154\",\r\n \"location\": \"brazilsouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "178" @@ -82,16 +82,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1176" + "1182" ], "x-ms-request-id": [ - "c86e6162-574d-43e2-8c50-a15b39039fb9" + "419e6f25-fb01-41a4-a3f6-8e4359fc5cfc" ], "x-ms-correlation-request-id": [ - "c86e6162-574d-43e2-8c50-a15b39039fb9" + "419e6f25-fb01-41a4-a3f6-8e4359fc5cfc" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211056Z:c86e6162-574d-43e2-8c50-a15b39039fb9" + "NORTHEUROPE:20150731T040526Z:419e6f25-fb01-41a4-a3f6-8e4359fc5cfc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -100,14 +100,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:10:56 GMT" + "Fri, 31 Jul 2015 04:05:25 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk5593/resources?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlR3JvdXBzL29uZXNkazU1OTMvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk8154/resources?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlR3JvdXBzL29uZXNkazgxNTQvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -130,16 +130,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14945" + "14972" ], "x-ms-request-id": [ - "0d18f974-cc86-427c-8c6b-913aaea79c94" + "0b7dbf5a-c1b3-43d8-8e47-7f311e0d8f28" ], "x-ms-correlation-request-id": [ - "0d18f974-cc86-427c-8c6b-913aaea79c94" + "0b7dbf5a-c1b3-43d8-8e47-7f311e0d8f28" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211056Z:0d18f974-cc86-427c-8c6b-913aaea79c94" + "NORTHEUROPE:20150731T040526Z:0b7dbf5a-c1b3-43d8-8e47-7f311e0d8f28" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -148,14 +148,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:10:56 GMT" + "Fri, 31 Jul 2015 04:05:25 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5593/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU1OTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8154/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgxNTQvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -181,16 +181,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "centralus:c26b4c18-1d5d-4058-a9e3-e78104085ab5" + "westeurope:25495b53-1b80-4762-8da1-4e2967edeebd" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14983" + "14971" ], "x-ms-correlation-request-id": [ - "7c9e4bec-438d-450a-9437-52f2bae64423" + "de3d4b7c-19ff-4e88-9da8-2e6778ba0888" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211057Z:7c9e4bec-438d-450a-9437-52f2bae64423" + "NORTHEUROPE:20150731T040526Z:de3d4b7c-19ff-4e88-9da8-2e6778ba0888" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -199,16 +199,16 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:10:57 GMT" + "Fri, 31 Jul 2015 04:05:26 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5593/providers/Microsoft.DataFactory/datafactories/onesdk2538?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU1OTMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazI1Mzg/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8154/providers/Microsoft.DataFactory/datafactories/onesdk1488?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgxNTQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE0ODg/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"name\": \"onesdk2538\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {}\r\n}", + "RequestBody": "{\r\n \"name\": \"onesdk1488\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {}\r\n}", "RequestHeaders": { "Content-Type": [ "application/json" @@ -217,13 +217,13 @@ "74" ], "x-ms-client-request-id": [ - "255bd002-b45d-486b-b14e-1a89ffcd110b" + "b3e3863b-3ba7-4132-9361-9f5676452a4a" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk2538\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5593/providers/Microsoft.DataFactory/datafactories/onesdk2538\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"34e22d88-da0a-4271-9fdb-e29cc1b3080f\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk1488\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8154/providers/Microsoft.DataFactory/datafactories/onesdk1488\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"609f1ce5-eed9-41fa-a128-46390497f9bf\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "449" @@ -238,16 +238,16 @@ "no-cache" ], "x-ms-request-id": [ - "4db1b569-71c8-43bb-9907-fa3b54213ab1" + "b81d483e-741b-4946-971f-20389164558a" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1187" + "1196" ], "x-ms-correlation-request-id": [ - "f5e25f1e-4262-4190-a6de-aadb3cce7191" + "bc1b7d98-aa7d-42ca-af0b-d30fad259a10" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211058Z:f5e25f1e-4262-4190-a6de-aadb3cce7191" + "NORTHEUROPE:20150731T040529Z:bc1b7d98-aa7d-42ca-af0b-d30fad259a10" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -256,10 +256,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:10:58 GMT" + "Fri, 31 Jul 2015 04:05:29 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5593/providers/Microsoft.DataFactory/datafactories/onesdk2538?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8154/providers/Microsoft.DataFactory/datafactories/onesdk1488?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -271,22 +271,22 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5593/providers/Microsoft.DataFactory/datafactories/onesdk2538?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU1OTMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazI1Mzg/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8154/providers/Microsoft.DataFactory/datafactories/onesdk1488?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgxNTQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE0ODg/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "dc139a5a-1c90-414c-b33d-b9ff60e62134" + "74b2ebe8-b0a2-4d0d-af0c-784495ef78b3" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk2538\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5593/providers/Microsoft.DataFactory/datafactories/onesdk2538\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"34e22d88-da0a-4271-9fdb-e29cc1b3080f\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk1488\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8154/providers/Microsoft.DataFactory/datafactories/onesdk1488\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"609f1ce5-eed9-41fa-a128-46390497f9bf\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "449" @@ -301,16 +301,16 @@ "no-cache" ], "x-ms-request-id": [ - "bbad3fd1-def9-47ea-88a0-b9af6322caa4" + "780bad0c-aa1d-445e-9dd9-cca2b4d52ea6" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14978" + "14991" ], "x-ms-correlation-request-id": [ - "5c237fe0-50e4-4855-b242-66a02a705d02" + "d5e24e96-9457-4df8-a55d-7b942bda19d3" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211058Z:5c237fe0-50e4-4855-b242-66a02a705d02" + "NORTHEUROPE:20150731T040530Z:d5e24e96-9457-4df8-a55d-7b942bda19d3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -319,7 +319,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:10:58 GMT" + "Fri, 31 Jul 2015 04:05:29 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -331,22 +331,22 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5593/providers/Microsoft.DataFactory/datafactories/onesdk2538?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU1OTMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazI1Mzg/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8154/providers/Microsoft.DataFactory/datafactories/onesdk1488?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgxNTQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE0ODg/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "4721ec92-c3f0-4a0e-bbcd-545710b7821e" + "e5868b04-c385-4fae-8872-00e5b712c14f" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk2538\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5593/providers/Microsoft.DataFactory/datafactories/onesdk2538\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"34e22d88-da0a-4271-9fdb-e29cc1b3080f\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk1488\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8154/providers/Microsoft.DataFactory/datafactories/onesdk1488\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"609f1ce5-eed9-41fa-a128-46390497f9bf\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "443" @@ -361,16 +361,16 @@ "no-cache" ], "x-ms-request-id": [ - "e74ff9ff-d830-4c1b-b6be-3fd8b0a1799c" + "4491c365-e250-436b-b95a-375c2bfba9d7" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14977" + "14990" ], "x-ms-correlation-request-id": [ - "57edab39-9e44-439e-a4b7-a1ef854f1dbd" + "a09b4e10-8554-43b3-98eb-7ec7231999d7" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211104Z:57edab39-9e44-439e-a4b7-a1ef854f1dbd" + "NORTHEUROPE:20150731T040535Z:a09b4e10-8554-43b3-98eb-7ec7231999d7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,7 +379,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:11:03 GMT" + "Fri, 31 Jul 2015 04:05:34 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -391,16 +391,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5593/providers/Microsoft.DataFactory/datafactories/onesdk2538/gateways/foo?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU1OTMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazI1MzgvZ2F0ZXdheXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8154/providers/Microsoft.DataFactory/datafactories/onesdk1488/gateways/foo?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgxNTQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE0ODgvZ2F0ZXdheXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDgtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "438051d1-df23-4ab2-9144-dadf36c6212d" + "be38384f-3853-49ce-9024-373e8936fdf3" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "{\r\n \"message\": \"Gateway foo does not exist.\",\r\n \"code\": \"GatewayNotFound\"\r\n}", @@ -418,16 +418,16 @@ "no-cache" ], "x-ms-request-id": [ - "2d0deb95-b135-48ad-ae36-9d0a0aed1be1" + "6bff4823-4c44-4fa9-b470-b64d1a909421" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14976" + "14989" ], "x-ms-correlation-request-id": [ - "5e939436-0db5-40a3-850d-1d0b01d5cb25" + "9da79ac0-1959-4390-af72-92c0f1a461b0" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211104Z:5e939436-0db5-40a3-850d-1d0b01d5cb25" + "NORTHEUROPE:20150731T040535Z:9da79ac0-1959-4390-af72-92c0f1a461b0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -436,7 +436,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:11:03 GMT" + "Fri, 31 Jul 2015 04:05:35 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -448,22 +448,22 @@ "StatusCode": 404 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5593/providers/Microsoft.DataFactory/datafactories/onesdk2538/gateways/foo?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU1OTMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazI1MzgvZ2F0ZXdheXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8154/providers/Microsoft.DataFactory/datafactories/onesdk1488/gateways/foo?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgxNTQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE0ODgvZ2F0ZXdheXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDgtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "74088161-05dd-4b80-995b-8608522b0366" + "e2b5c31f-3c07-44a2-9898-5867782b395d" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"dataFactoryName\": \"onesdk2538\",\r\n \"status\": \"NeedRegistration\",\r\n \"versionStatus\": \"None\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"createTime\": \"2015-07-11T21:11:05.0481467Z\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"dataFactoryName\": \"onesdk1488\",\r\n \"status\": \"NeedRegistration\",\r\n \"versionStatus\": \"None\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"createTime\": \"2015-07-31T04:05:36.9244958Z\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "187" @@ -478,16 +478,16 @@ "no-cache" ], "x-ms-request-id": [ - "5f4402e5-b511-4d94-b306-02b923df71f9" + "6a5e43ef-0709-4bbe-8f5b-bb8739b976d5" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14975" + "14988" ], "x-ms-correlation-request-id": [ - "1969ecb7-28a7-4dab-b181-1a19f8c181e7" + "318fd391-3fab-4514-885b-118c304bee79" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211105Z:1969ecb7-28a7-4dab-b181-1a19f8c181e7" + "NORTHEUROPE:20150731T040538Z:318fd391-3fab-4514-885b-118c304bee79" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -496,7 +496,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:11:05 GMT" + "Fri, 31 Jul 2015 04:05:37 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -508,19 +508,19 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5593/providers/Microsoft.DataFactory/datafactories/onesdk2538/gateways/foo?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU1OTMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazI1MzgvZ2F0ZXdheXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8154/providers/Microsoft.DataFactory/datafactories/onesdk1488/gateways/foo?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgxNTQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE0ODgvZ2F0ZXdheXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDgtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "1acf84c0-9bed-43b9-b92a-daf5d4a3f588" + "b39e0269-da18-4201-9c07-001790600d75" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"dataFactoryName\": \"onesdk2538\",\r\n \"status\": \"NeedRegistration\",\r\n \"versionStatus\": \"None\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"createTime\": \"2015-07-11T21:11:05.0481467Z\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"dataFactoryName\": \"onesdk1488\",\r\n \"status\": \"NeedRegistration\",\r\n \"versionStatus\": \"None\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"createTime\": \"2015-07-31T04:05:36.9244958Z\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "187" @@ -535,16 +535,16 @@ "no-cache" ], "x-ms-request-id": [ - "39a8b02d-8bb4-4204-8633-c47c1bc5a876" + "7e889585-58d3-47af-89f4-37aab46c27c0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14974" + "14987" ], "x-ms-correlation-request-id": [ - "91fa6127-0520-4c92-b30e-918d8c4361d7" + "4bcafb4f-7c52-45f9-9857-a0a8728d0f31" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211105Z:91fa6127-0520-4c92-b30e-918d8c4361d7" + "NORTHEUROPE:20150731T040538Z:4bcafb4f-7c52-45f9-9857-a0a8728d0f31" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -553,7 +553,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:11:05 GMT" + "Fri, 31 Jul 2015 04:05:38 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -565,8 +565,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5593/providers/Microsoft.DataFactory/datafactories/onesdk2538/gateways/foo?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU1OTMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazI1MzgvZ2F0ZXdheXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8154/providers/Microsoft.DataFactory/datafactories/onesdk1488/gateways/foo?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgxNTQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE0ODgvZ2F0ZXdheXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDgtMDE=", "RequestMethod": "PUT", "RequestBody": "{\r\n \"name\": \"foo\",\r\n \"properties\": {}\r\n}", "RequestHeaders": { @@ -577,13 +577,13 @@ "42" ], "x-ms-client-request-id": [ - "32362979-c90e-41b5-b98a-b1af8914c57b" + "e4307ea4-84dc-411d-a9f1-661298652439" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"key\": \"ADF#c5fd1479-3f12-4acc-bb78-fea4ad1d54e1@4431ebb2-5a07-4d85-85cf-7af34ae85ff5@bb997f91-a875-490c-b4ec-961b250daa64@wu#lKG60NP9qcM0sQJH+Mb1+hhwe9qdNK9ZRCsOFMl3Xwk=\",\r\n \"dataFactoryName\": \"onesdk2538\",\r\n \"status\": \"NeedRegistration\",\r\n \"versionStatus\": \"None\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"createTime\": \"2015-07-11T21:11:05.0481467Z\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"key\": \"ADF#c611687f-cc1c-4af1-a930-1f2145f9d8ef@4431ebb2-5a07-4d85-85cf-7af34ae85ff5@bb997f91-a875-490c-b4ec-961b250daa64@wu#7M/Z53EnzDOMhI5O+eQYU07ACE5EhPnj716ZuX976Kk=\",\r\n \"dataFactoryName\": \"onesdk1488\",\r\n \"status\": \"NeedRegistration\",\r\n \"versionStatus\": \"None\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"createTime\": \"2015-07-31T04:05:36.9244958Z\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "358" @@ -598,16 +598,16 @@ "no-cache" ], "x-ms-request-id": [ - "c22d9c5a-7da3-4b66-99c4-57a5f8b6aa56" + "25f986e1-0d01-48d6-86b9-bd22be60c2c1" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1186" + "1195" ], "x-ms-correlation-request-id": [ - "61401193-3f8f-468a-8a2c-1cdfb78a6909" + "3e0b833f-e01b-4dbc-ad2a-d07a85103756" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211105Z:61401193-3f8f-468a-8a2c-1cdfb78a6909" + "NORTHEUROPE:20150731T040537Z:3e0b833f-e01b-4dbc-ad2a-d07a85103756" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -616,7 +616,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:11:05 GMT" + "Fri, 31 Jul 2015 04:05:36 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -628,19 +628,19 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5593/providers/Microsoft.DataFactory/datafactories/onesdk2538/gateways/foo/regeneratekey?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU1OTMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazI1MzgvZ2F0ZXdheXMvZm9vL3JlZ2VuZXJhdGVrZXk/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8154/providers/Microsoft.DataFactory/datafactories/onesdk1488/gateways/foo/regeneratekey?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgxNTQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE0ODgvZ2F0ZXdheXMvZm9vL3JlZ2VuZXJhdGVrZXk/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "dc21fb3c-2b92-4ffa-9b02-fa7b0f0f5f19" + "9fa37b04-3e7d-4c98-b952-0466feea8d9a" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"key\": \"ADF#09d0bda3-ec13-499f-bed7-8ee1502d952f@4431ebb2-5a07-4d85-85cf-7af34ae85ff5@bb997f91-a875-490c-b4ec-961b250daa64@wu#Gn5QtkKHvKhrzK9jUBI3Sl54INeyAYkOvOSOg5ewWQ0=\"\r\n}", + "ResponseBody": "{\r\n \"key\": \"ADF#997b0948-1a71-42ee-b16d-754504c7d74b@4431ebb2-5a07-4d85-85cf-7af34ae85ff5@bb997f91-a875-490c-b4ec-961b250daa64@wu#flHulsKguA0jyQHSjsy+fPhM9hDLDIOWM63eJk7FLY4=\"\r\n}", "ResponseHeaders": { "Content-Length": [ "172" @@ -655,16 +655,16 @@ "no-cache" ], "x-ms-request-id": [ - "e255dd70-1d77-4043-9016-af2c66434bf5" + "2bbf9f4d-f70e-4920-abda-5776ac8fdfd1" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1185" + "1194" ], "x-ms-correlation-request-id": [ - "548f123e-7fcd-43c3-a903-fc9a640a368e" + "3933b65b-473f-4b8e-8022-74993f6e4b16" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211107Z:548f123e-7fcd-43c3-a903-fc9a640a368e" + "NORTHEUROPE:20150731T040541Z:3933b65b-473f-4b8e-8022-74993f6e4b16" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -673,7 +673,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:11:07 GMT" + "Fri, 31 Jul 2015 04:05:41 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -685,8 +685,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5593/providers/Microsoft.DataFactory/datafactories/onesdk2538/gateways/foo?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU1OTMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazI1MzgvZ2F0ZXdheXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8154/providers/Microsoft.DataFactory/datafactories/onesdk1488/gateways/foo?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgxNTQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE0ODgvZ2F0ZXdheXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDgtMDE=", "RequestMethod": "PATCH", "RequestBody": "{\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"description\": \"description\"\r\n }\r\n}", "RequestHeaders": { @@ -697,13 +697,13 @@ "80" ], "x-ms-client-request-id": [ - "7e27cfbb-0c99-48fc-9304-4280c5a8c708" + "dbf2c35c-4d85-42c4-b59f-f00b7ae042b1" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"description\": \"description\",\r\n \"dataFactoryName\": \"onesdk2538\",\r\n \"status\": \"NeedRegistration\",\r\n \"versionStatus\": \"None\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"createTime\": \"2015-07-11T21:11:05.0481467Z\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"description\": \"description\",\r\n \"dataFactoryName\": \"onesdk1488\",\r\n \"status\": \"NeedRegistration\",\r\n \"versionStatus\": \"None\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"createTime\": \"2015-07-31T04:05:36.9244958Z\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "215" @@ -718,16 +718,16 @@ "no-cache" ], "x-ms-request-id": [ - "d3bc1414-726d-4f9c-ba76-6f86fc012156" + "65378133-21e8-4d09-a72c-2946325e1d0a" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1184" + "1193" ], "x-ms-correlation-request-id": [ - "25294ebf-9e61-49bc-b665-ef691fa530ca" + "b742f1e1-0791-45e3-9959-b0676e2831dd" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211108Z:25294ebf-9e61-49bc-b665-ef691fa530ca" + "NORTHEUROPE:20150731T040542Z:b742f1e1-0791-45e3-9959-b0676e2831dd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -736,7 +736,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:11:07 GMT" + "Fri, 31 Jul 2015 04:05:42 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -748,16 +748,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5593/providers/Microsoft.DataFactory/datafactories/onesdk2538/gateways/foo?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU1OTMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazI1MzgvZ2F0ZXdheXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8154/providers/Microsoft.DataFactory/datafactories/onesdk1488/gateways/foo?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgxNTQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE0ODgvZ2F0ZXdheXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDgtMDE=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "8c969b65-0920-415d-9426-470cdf9196e3" + "0cd57fc2-faa7-46c5-a83b-39f1aaa448c1" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -775,16 +775,16 @@ "15" ], "x-ms-request-id": [ - "694a288c-3b66-4710-98e0-4123d0e3beff" + "a57db817-5b9e-4dfb-a1f9-d2a96f96783a" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1183" + "1192" ], "x-ms-correlation-request-id": [ - "154d0a36-14df-47a6-8b0c-e283fbf2e43c" + "52557ff7-4bab-4acd-8fe3-fa5c5ae4eb6b" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211108Z:154d0a36-14df-47a6-8b0c-e283fbf2e43c" + "NORTHEUROPE:20150731T040543Z:52557ff7-4bab-4acd-8fe3-fa5c5ae4eb6b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -793,10 +793,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:11:08 GMT" + "Fri, 31 Jul 2015 04:05:43 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5593/providers/Microsoft.DataFactory/datafactories/onesdk2538/gateways/foo/operationresults/Db13b1e8b-31dc-43e9-9118-2b563e864797?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8154/providers/Microsoft.DataFactory/datafactories/onesdk1488/gateways/foo/operationresults/D520e23a9-5b0c-471c-8816-037549b52a37?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -808,16 +808,16 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5593/providers/Microsoft.DataFactory/datafactories/onesdk2538/gateways/foo/operationresults/Db13b1e8b-31dc-43e9-9118-2b563e864797?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU1OTMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazI1MzgvZ2F0ZXdheXMvZm9vL29wZXJhdGlvbnJlc3VsdHMvRGIxM2IxZThiLTMxZGMtNDNlOS05MTE4LTJiNTYzZTg2NDc5Nz9hcGktdmVyc2lvbj0yMDE1LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8154/providers/Microsoft.DataFactory/datafactories/onesdk1488/gateways/foo/operationresults/D520e23a9-5b0c-471c-8816-037549b52a37?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgxNTQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE0ODgvZ2F0ZXdheXMvZm9vL29wZXJhdGlvbnJlc3VsdHMvRDUyMGUyM2E5LTViMGMtNDcxYy04ODE2LTAzNzU0OWI1MmEzNz9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -835,16 +835,16 @@ "15" ], "x-ms-request-id": [ - "365bf522-4bfc-4251-8b50-55173d549c11" + "21c5f446-5f5d-4063-9c7c-abfd1a2d0c2b" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14973" + "14986" ], "x-ms-correlation-request-id": [ - "e9a9dd9d-3570-41d0-b776-fdf125bff33f" + "b5a45828-8724-4c50-95ef-12f6d2b95e9f" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211109Z:e9a9dd9d-3570-41d0-b776-fdf125bff33f" + "NORTHEUROPE:20150731T040544Z:b5a45828-8724-4c50-95ef-12f6d2b95e9f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -853,10 +853,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:11:08 GMT" + "Fri, 31 Jul 2015 04:05:43 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5593/providers/Microsoft.DataFactory/datafactories/onesdk2538/gateways/foo/operationresults/Db13b1e8b-31dc-43e9-9118-2b563e864797?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8154/providers/Microsoft.DataFactory/datafactories/onesdk1488/gateways/foo/operationresults/D520e23a9-5b0c-471c-8816-037549b52a37?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -868,16 +868,16 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5593/providers/Microsoft.DataFactory/datafactories/onesdk2538/gateways/foo/operationresults/Db13b1e8b-31dc-43e9-9118-2b563e864797?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU1OTMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazI1MzgvZ2F0ZXdheXMvZm9vL29wZXJhdGlvbnJlc3VsdHMvRGIxM2IxZThiLTMxZGMtNDNlOS05MTE4LTJiNTYzZTg2NDc5Nz9hcGktdmVyc2lvbj0yMDE1LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8154/providers/Microsoft.DataFactory/datafactories/onesdk1488/gateways/foo/operationresults/D520e23a9-5b0c-471c-8816-037549b52a37?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgxNTQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE0ODgvZ2F0ZXdheXMvZm9vL29wZXJhdGlvbnJlc3VsdHMvRDUyMGUyM2E5LTViMGMtNDcxYy04ODE2LTAzNzU0OWI1MmEzNz9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -892,16 +892,16 @@ "no-cache" ], "x-ms-request-id": [ - "f3b08b9d-21c3-43cd-81f9-01abfc2c92d5" + "812af548-e0d2-435b-bb40-4b497da99389" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14972" + "14985" ], "x-ms-correlation-request-id": [ - "c1db8548-cca9-46b5-9b0b-c085067f8439" + "747d5a66-d052-4545-9427-0200c04786e9" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211125Z:c1db8548-cca9-46b5-9b0b-c085067f8439" + "NORTHEUROPE:20150731T040559Z:747d5a66-d052-4545-9427-0200c04786e9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -910,7 +910,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:11:24 GMT" + "Fri, 31 Jul 2015 04:05:59 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -922,16 +922,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5593/providers/Microsoft.DataFactory/datafactories/onesdk2538?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU1OTMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazI1Mzg/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8154/providers/Microsoft.DataFactory/datafactories/onesdk1488?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgxNTQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE0ODg/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "1315516d-fca1-47e5-a4a8-e530518c7179" + "50fc97a2-f600-4f84-851d-43437f9e7633" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -946,16 +946,16 @@ "no-cache" ], "x-ms-request-id": [ - "f174b2ba-6d11-4013-bf51-5cb4b8066f74" + "cb7c860e-8b40-4955-a3c2-af384f08d1e9" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1182" + "1191" ], "x-ms-correlation-request-id": [ - "e2bb2fd7-6412-48b0-955b-7406ebf3b0a6" + "3509a082-9b7d-4f3c-a276-2494be677fa5" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211126Z:e2bb2fd7-6412-48b0-955b-7406ebf3b0a6" + "NORTHEUROPE:20150731T040601Z:3509a082-9b7d-4f3c-a276-2494be677fa5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -964,7 +964,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:11:26 GMT" + "Fri, 31 Jul 2015 04:06:00 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -978,8 +978,8 @@ ], "Names": { "Test-DataFactoryGateway": [ - "onesdk2538", - "onesdk5593" + "onesdk1488", + "onesdk8154" ] }, "Variables": { diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryGatewayTests/TestCreateDataFactoryGatewayWithDataFactoryParameter.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryGatewayTests/TestCreateDataFactoryGatewayWithDataFactoryParameter.json index dc8f270290a6..a7d312aaf419 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryGatewayTests/TestCreateDataFactoryGatewayWithDataFactoryParameter.json +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryGatewayTests/TestCreateDataFactoryGatewayWithDataFactoryParameter.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk778?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc3OD9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8381?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgzODE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -13,7 +13,7 @@ "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "101" + "102" ], "Content-Type": [ "application/json; charset=utf-8" @@ -28,16 +28,16 @@ "gateway" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14982" + "14970" ], "x-ms-request-id": [ - "003d1d28-53d9-49c4-8daf-0925928a9c57" + "48967116-d27e-45d0-bd6d-cb01e7dfca88" ], "x-ms-correlation-request-id": [ - "003d1d28-53d9-49c4-8daf-0925928a9c57" + "48967116-d27e-45d0-bd6d-cb01e7dfca88" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211212Z:003d1d28-53d9-49c4-8daf-0925928a9c57" + "NORTHEUROPE:20150731T040638Z:48967116-d27e-45d0-bd6d-cb01e7dfca88" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -46,14 +46,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:12:12 GMT" + "Fri, 31 Jul 2015 04:06:38 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk778?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc3OD9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8381?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgzODE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"Brazil South\"\r\n}", "RequestHeaders": { @@ -67,10 +67,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk778\",\r\n \"name\": \"onesdk778\",\r\n \"location\": \"brazilsouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk8381\",\r\n \"name\": \"onesdk8381\",\r\n \"location\": \"brazilsouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "176" + "178" ], "Content-Type": [ "application/json; charset=utf-8" @@ -82,16 +82,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1189" + "1181" ], "x-ms-request-id": [ - "3faa12be-a076-4971-95ae-99acb8830a13" + "35dd3bdc-0a92-4617-86b9-1cb53a4e13b7" ], "x-ms-correlation-request-id": [ - "3faa12be-a076-4971-95ae-99acb8830a13" + "35dd3bdc-0a92-4617-86b9-1cb53a4e13b7" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211221Z:3faa12be-a076-4971-95ae-99acb8830a13" + "NORTHEUROPE:20150731T040639Z:35dd3bdc-0a92-4617-86b9-1cb53a4e13b7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -100,14 +100,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:12:20 GMT" + "Fri, 31 Jul 2015 04:06:39 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk778/resources?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlR3JvdXBzL29uZXNkazc3OC9yZXNvdXJjZXM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk8381/resources?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlR3JvdXBzL29uZXNkazgzODEvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -130,16 +130,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14981" + "14969" ], "x-ms-request-id": [ - "ef1ad3c7-f080-4ac7-9706-63a6204df0f0" + "ffc00ad8-7d5e-4704-9892-357223872046" ], "x-ms-correlation-request-id": [ - "ef1ad3c7-f080-4ac7-9706-63a6204df0f0" + "ffc00ad8-7d5e-4704-9892-357223872046" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211222Z:ef1ad3c7-f080-4ac7-9706-63a6204df0f0" + "NORTHEUROPE:20150731T040639Z:ffc00ad8-7d5e-4704-9892-357223872046" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -148,14 +148,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:12:22 GMT" + "Fri, 31 Jul 2015 04:06:39 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk778/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc3OC9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8381/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgzODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -181,16 +181,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "centralus:ee8c304c-7239-4295-86af-e83c8146158e" + "westeurope:ddc324ea-ffb7-4768-9636-35fdcdd5ae88" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14984" + "14983" ], "x-ms-correlation-request-id": [ - "5f47be7b-45fd-40c8-933b-a6cd1eae982e" + "77b62aa4-538b-4715-8860-49d54777c771" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211222Z:5f47be7b-45fd-40c8-933b-a6cd1eae982e" + "NORTHEUROPE:20150731T040640Z:77b62aa4-538b-4715-8860-49d54777c771" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -199,16 +199,16 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:12:22 GMT" + "Fri, 31 Jul 2015 04:06:39 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk778/providers/Microsoft.DataFactory/datafactories/onesdk8413?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc3OC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrODQxMz9hcGktdmVyc2lvbj0yMDE1LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8381/providers/Microsoft.DataFactory/datafactories/onesdk9563?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgzODEvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazk1NjM/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"name\": \"onesdk8413\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {}\r\n}", + "RequestBody": "{\r\n \"name\": \"onesdk9563\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {}\r\n}", "RequestHeaders": { "Content-Type": [ "application/json" @@ -217,16 +217,16 @@ "74" ], "x-ms-client-request-id": [ - "362d75ea-8686-4020-a5b3-9c8ae1570433" + "1fd97d35-d5a6-4cfd-b5a8-b5b33339a2e0" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk8413\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk778/providers/Microsoft.DataFactory/datafactories/onesdk8413\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"c042a025-e806-441d-a2cb-08d739000910\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk9563\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8381/providers/Microsoft.DataFactory/datafactories/onesdk9563\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"673da7d1-4781-4830-abfd-b5e9c8993c9e\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "448" + "449" ], "Content-Type": [ "application/json; charset=utf-8" @@ -238,16 +238,16 @@ "no-cache" ], "x-ms-request-id": [ - "a373bfde-02bc-45b1-8015-d49d8ea5c8bb" + "87b59718-62fe-4fe7-9eab-52d96bb5da21" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1190" + "1180" ], "x-ms-correlation-request-id": [ - "69c80583-3d3f-4610-b629-47b750da1f6f" + "6e03d594-1690-4134-8313-07969bbeaac6" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211223Z:69c80583-3d3f-4610-b629-47b750da1f6f" + "NORTHEUROPE:20150731T040643Z:6e03d594-1690-4134-8313-07969bbeaac6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -256,10 +256,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:12:23 GMT" + "Fri, 31 Jul 2015 04:06:42 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk778/providers/Microsoft.DataFactory/datafactories/onesdk8413?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8381/providers/Microsoft.DataFactory/datafactories/onesdk9563?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -271,85 +271,25 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk778/providers/Microsoft.DataFactory/datafactories/onesdk8413?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc3OC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrODQxMz9hcGktdmVyc2lvbj0yMDE1LTA3LTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "68821dfe-c9a1-4e9f-b23e-5456066196d4" - ], - "x-ms-version": [ - "2015-07-01-preview" - ], - "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"name\": \"onesdk8413\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk778/providers/Microsoft.DataFactory/datafactories/onesdk8413\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"c042a025-e806-441d-a2cb-08d739000910\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "448" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "2165bdb7-40c3-4fc5-8650-d1a3eeb95635" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14985" - ], - "x-ms-correlation-request-id": [ - "4913a19c-0e11-4137-a5e6-d6f2a0ffb87e" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211224Z:4913a19c-0e11-4137-a5e6-d6f2a0ffb87e" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Sat, 11 Jul 2015 21:12:23 GMT" - ], - "Server": [ - "Microsoft-IIS/8.5" - ], - "X-Powered-By": [ - "ASP.NET" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk778/providers/Microsoft.DataFactory/datafactories/onesdk8413?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc3OC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrODQxMz9hcGktdmVyc2lvbj0yMDE1LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8381/providers/Microsoft.DataFactory/datafactories/onesdk9563?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgzODEvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazk1NjM/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "da7d62b5-c168-40e9-8b95-cf7c581a30b6" + "9956e47b-554e-403a-9dd4-349b102cfadc" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk8413\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk778/providers/Microsoft.DataFactory/datafactories/onesdk8413\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"c042a025-e806-441d-a2cb-08d739000910\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk9563\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8381/providers/Microsoft.DataFactory/datafactories/onesdk9563\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"673da7d1-4781-4830-abfd-b5e9c8993c9e\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "448" + "449" ], "Content-Type": [ "application/json; charset=utf-8" @@ -361,16 +301,16 @@ "no-cache" ], "x-ms-request-id": [ - "9860c6b4-2c18-4fce-a51a-1de3d0677b82" + "5f2189b9-e218-4602-86bd-baeafe4883dd" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14984" + "14968" ], "x-ms-correlation-request-id": [ - "57ee9c10-46a4-4021-8338-8cd81cccf4b8" + "6e3bb219-34f4-49d6-b1b3-510e600aa68b" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211229Z:57ee9c10-46a4-4021-8338-8cd81cccf4b8" + "NORTHEUROPE:20150731T040643Z:6e3bb219-34f4-49d6-b1b3-510e600aa68b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,7 +319,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:12:29 GMT" + "Fri, 31 Jul 2015 04:06:42 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -391,25 +331,25 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk778/providers/Microsoft.DataFactory/datafactories/onesdk8413?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc3OC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrODQxMz9hcGktdmVyc2lvbj0yMDE1LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8381/providers/Microsoft.DataFactory/datafactories/onesdk9563?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgzODEvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazk1NjM/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "560e431c-5b91-4dbc-ba03-21566550eccf" + "540e87dd-b805-407e-8540-cf39d9d7b7ab" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk8413\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk778/providers/Microsoft.DataFactory/datafactories/onesdk8413\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"c042a025-e806-441d-a2cb-08d739000910\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk9563\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8381/providers/Microsoft.DataFactory/datafactories/onesdk9563\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"673da7d1-4781-4830-abfd-b5e9c8993c9e\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "442" + "443" ], "Content-Type": [ "application/json; charset=utf-8" @@ -421,16 +361,16 @@ "no-cache" ], "x-ms-request-id": [ - "db49a183-5b52-44b7-ac9c-0551249d1d6f" + "b638df60-5e04-48e0-af93-56100277784e" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14983" + "14967" ], "x-ms-correlation-request-id": [ - "f552c6e9-93d6-45bb-8766-175646e6790a" + "f8b67063-b7f3-4e22-93d4-85736f4713a7" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211234Z:f552c6e9-93d6-45bb-8766-175646e6790a" + "NORTHEUROPE:20150731T040648Z:f8b67063-b7f3-4e22-93d4-85736f4713a7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -439,7 +379,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:12:34 GMT" + "Fri, 31 Jul 2015 04:06:48 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -451,16 +391,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk778/providers/Microsoft.DataFactory/datafactories/onesdk8413/gateways/foo?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc3OC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrODQxMy9nYXRld2F5cy9mb28/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8381/providers/Microsoft.DataFactory/datafactories/onesdk9563/gateways/foo?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgzODEvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazk1NjMvZ2F0ZXdheXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDgtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "5f7b4168-b005-4d10-b192-25dc655356e2" + "0e6dc659-75d4-4e22-91a1-8f7c8ba978e9" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "{\r\n \"message\": \"Gateway foo does not exist.\",\r\n \"code\": \"GatewayNotFound\"\r\n}", @@ -478,16 +418,16 @@ "no-cache" ], "x-ms-request-id": [ - "df633582-23cb-4b8e-a674-d0ae4b7258f1" + "6ebe5628-f5b5-4986-aaed-0e9a225ae935" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14982" + "14966" ], "x-ms-correlation-request-id": [ - "bde6f6f8-1e1b-48a7-af9e-a9e30f8fbc6c" + "632db1eb-5879-4ec5-ad07-bab0daa5f575" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211234Z:bde6f6f8-1e1b-48a7-af9e-a9e30f8fbc6c" + "NORTHEUROPE:20150731T040649Z:632db1eb-5879-4ec5-ad07-bab0daa5f575" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -496,7 +436,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:12:34 GMT" + "Fri, 31 Jul 2015 04:06:49 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -508,22 +448,22 @@ "StatusCode": 404 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk778/providers/Microsoft.DataFactory/datafactories/onesdk8413/gateways/foo?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc3OC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrODQxMy9nYXRld2F5cy9mb28/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8381/providers/Microsoft.DataFactory/datafactories/onesdk9563/gateways/foo?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgzODEvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazk1NjMvZ2F0ZXdheXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDgtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "670dff52-e041-431a-85d0-0ba64dfcd48d" + "e1b8b9d3-519a-495f-97cb-f377c9fc183b" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"dataFactoryName\": \"onesdk8413\",\r\n \"status\": \"NeedRegistration\",\r\n \"versionStatus\": \"None\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"createTime\": \"2015-07-11T21:12:35.4967223Z\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"dataFactoryName\": \"onesdk9563\",\r\n \"status\": \"NeedRegistration\",\r\n \"versionStatus\": \"None\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"createTime\": \"2015-07-31T04:06:50.1515835Z\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "187" @@ -538,16 +478,16 @@ "no-cache" ], "x-ms-request-id": [ - "2da4b91f-bf4d-4bdc-86c7-e4c05909d3b6" + "f6a972f7-8802-4563-922e-d91b07b22e59" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14981" + "14965" ], "x-ms-correlation-request-id": [ - "dfa22178-8448-47e3-8173-54940851f1bf" + "e69de46d-f875-43c5-84cc-04048d401d73" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211235Z:dfa22178-8448-47e3-8173-54940851f1bf" + "NORTHEUROPE:20150731T040650Z:e69de46d-f875-43c5-84cc-04048d401d73" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -556,7 +496,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:12:35 GMT" + "Fri, 31 Jul 2015 04:06:50 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -568,19 +508,19 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk778/providers/Microsoft.DataFactory/datafactories/onesdk8413/gateways/foo?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc3OC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrODQxMy9nYXRld2F5cy9mb28/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8381/providers/Microsoft.DataFactory/datafactories/onesdk9563/gateways/foo?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgzODEvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazk1NjMvZ2F0ZXdheXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDgtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "90305ef3-93fe-482b-97af-1ba3395ce1d4" + "efe357cd-81c4-4418-8407-1257092a4e22" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"dataFactoryName\": \"onesdk8413\",\r\n \"status\": \"NeedRegistration\",\r\n \"versionStatus\": \"None\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"createTime\": \"2015-07-11T21:12:35.4967223Z\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"dataFactoryName\": \"onesdk9563\",\r\n \"status\": \"NeedRegistration\",\r\n \"versionStatus\": \"None\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"createTime\": \"2015-07-31T04:06:50.1515835Z\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "187" @@ -595,16 +535,16 @@ "no-cache" ], "x-ms-request-id": [ - "e43d2379-e90e-494e-98b2-72f59d6e9af7" + "bea928a3-0011-45ce-a2bd-7f03c4dd3188" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14980" + "14964" ], "x-ms-correlation-request-id": [ - "5f703061-4e9f-4a9b-9661-69e38275075c" + "ff381a28-9cba-4df6-b33c-d011efb90ebd" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211236Z:5f703061-4e9f-4a9b-9661-69e38275075c" + "NORTHEUROPE:20150731T040651Z:ff381a28-9cba-4df6-b33c-d011efb90ebd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -613,7 +553,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:12:35 GMT" + "Fri, 31 Jul 2015 04:06:51 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -625,8 +565,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk778/providers/Microsoft.DataFactory/datafactories/onesdk8413/gateways/foo?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc3OC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrODQxMy9nYXRld2F5cy9mb28/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8381/providers/Microsoft.DataFactory/datafactories/onesdk9563/gateways/foo?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgzODEvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazk1NjMvZ2F0ZXdheXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDgtMDE=", "RequestMethod": "PUT", "RequestBody": "{\r\n \"name\": \"foo\",\r\n \"properties\": {}\r\n}", "RequestHeaders": { @@ -637,13 +577,13 @@ "42" ], "x-ms-client-request-id": [ - "6bbc9ccc-c96d-4d54-81a8-f195a84b72bd" + "a4702988-9a48-4481-a8ea-5683f844823d" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"key\": \"ADF#072bfa86-1610-4a67-a6d8-8adac7d773f4@4431ebb2-5a07-4d85-85cf-7af34ae85ff5@bb997f91-a875-490c-b4ec-961b250daa64@wu#j+aBZa7gIDYYF6CG1t2LhxgIuaGjbdhjpeXgz+cFsOo=\",\r\n \"dataFactoryName\": \"onesdk8413\",\r\n \"status\": \"NeedRegistration\",\r\n \"versionStatus\": \"None\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"createTime\": \"2015-07-11T21:12:35.4967223Z\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"key\": \"ADF#7caa5b19-2443-4d13-bad7-0e7a5e654d89@4431ebb2-5a07-4d85-85cf-7af34ae85ff5@bb997f91-a875-490c-b4ec-961b250daa64@wu#PvZgBXvH3fp6AiXWIpxQG2XPiJbAHgXG5VQXaNispz8=\",\r\n \"dataFactoryName\": \"onesdk9563\",\r\n \"status\": \"NeedRegistration\",\r\n \"versionStatus\": \"None\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"createTime\": \"2015-07-31T04:06:50.1515835Z\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "358" @@ -658,16 +598,16 @@ "no-cache" ], "x-ms-request-id": [ - "c4f8bf75-d796-458a-886e-283383257a80" + "117ee9b5-6339-4c91-8910-5ee18121e593" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1189" + "1179" ], "x-ms-correlation-request-id": [ - "32f5dfa4-e617-4d74-b27e-418cdae83ead" + "8e38aba1-244a-433c-b21f-c01a37acb0cf" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211235Z:32f5dfa4-e617-4d74-b27e-418cdae83ead" + "NORTHEUROPE:20150731T040650Z:8e38aba1-244a-433c-b21f-c01a37acb0cf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -676,7 +616,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:12:34 GMT" + "Fri, 31 Jul 2015 04:06:50 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -688,19 +628,19 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk778/providers/Microsoft.DataFactory/datafactories/onesdk8413/gateways/foo/regeneratekey?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc3OC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrODQxMy9nYXRld2F5cy9mb28vcmVnZW5lcmF0ZWtleT9hcGktdmVyc2lvbj0yMDE1LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8381/providers/Microsoft.DataFactory/datafactories/onesdk9563/gateways/foo/regeneratekey?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgzODEvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazk1NjMvZ2F0ZXdheXMvZm9vL3JlZ2VuZXJhdGVrZXk/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "fe60a8ca-09e6-4f95-900c-185f0d191f7a" + "1e9c7eae-8bbe-49b3-9497-54b564774c74" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"key\": \"ADF#1730fbee-600a-4ecc-ab83-6ac98d166597@4431ebb2-5a07-4d85-85cf-7af34ae85ff5@bb997f91-a875-490c-b4ec-961b250daa64@wu#63qQWNL/XRIN/4PUzSIJhbkdWEwn/1iviCrJsVBw8yw=\"\r\n}", + "ResponseBody": "{\r\n \"key\": \"ADF#01ef9959-d7f1-4777-a798-36c2caa20d0f@4431ebb2-5a07-4d85-85cf-7af34ae85ff5@bb997f91-a875-490c-b4ec-961b250daa64@wu#4HuhG+ZoouzJalSubgBiPBk+bqKG9XKtP97vmRfRwcI=\"\r\n}", "ResponseHeaders": { "Content-Length": [ "172" @@ -715,16 +655,16 @@ "no-cache" ], "x-ms-request-id": [ - "9e3b4942-1f85-449b-8768-6cfa70976313" + "d656fc65-c06f-4cc7-9cda-d4de27f3467e" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1188" + "1178" ], "x-ms-correlation-request-id": [ - "8f1a0d75-a16c-45a9-a62d-8f72300a1506" + "80e0fa11-ae13-440d-917d-3cff071fb738" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211238Z:8f1a0d75-a16c-45a9-a62d-8f72300a1506" + "NORTHEUROPE:20150731T040652Z:80e0fa11-ae13-440d-917d-3cff071fb738" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -733,7 +673,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:12:38 GMT" + "Fri, 31 Jul 2015 04:06:52 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -745,8 +685,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk778/providers/Microsoft.DataFactory/datafactories/onesdk8413/gateways/foo?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc3OC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrODQxMy9nYXRld2F5cy9mb28/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8381/providers/Microsoft.DataFactory/datafactories/onesdk9563/gateways/foo?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgzODEvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazk1NjMvZ2F0ZXdheXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDgtMDE=", "RequestMethod": "PATCH", "RequestBody": "{\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"description\": \"description\"\r\n }\r\n}", "RequestHeaders": { @@ -757,13 +697,13 @@ "80" ], "x-ms-client-request-id": [ - "122cf97e-4c36-4fc5-8e07-5881350a0eb2" + "dcf230b6-6007-4b3f-a042-fc9a9f86e9eb" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"description\": \"description\",\r\n \"dataFactoryName\": \"onesdk8413\",\r\n \"status\": \"NeedRegistration\",\r\n \"versionStatus\": \"None\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"createTime\": \"2015-07-11T21:12:35.4967223Z\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"description\": \"description\",\r\n \"dataFactoryName\": \"onesdk9563\",\r\n \"status\": \"NeedRegistration\",\r\n \"versionStatus\": \"None\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"createTime\": \"2015-07-31T04:06:50.1515835Z\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "215" @@ -778,16 +718,16 @@ "no-cache" ], "x-ms-request-id": [ - "02cf8e1c-8a8a-4312-a9c8-bfa4df96d5d7" + "98b8dad1-bd29-4dac-b85e-0cbf7bb9a41d" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1187" + "1177" ], "x-ms-correlation-request-id": [ - "fd64275e-cb56-4aa5-8430-3493f00bc31d" + "b3f397a7-b8e7-4eb6-9481-f5fac3304e6c" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211238Z:fd64275e-cb56-4aa5-8430-3493f00bc31d" + "NORTHEUROPE:20150731T040653Z:b3f397a7-b8e7-4eb6-9481-f5fac3304e6c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -796,7 +736,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:12:38 GMT" + "Fri, 31 Jul 2015 04:06:53 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -808,16 +748,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk778/providers/Microsoft.DataFactory/datafactories/onesdk8413/gateways/foo?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc3OC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrODQxMy9nYXRld2F5cy9mb28/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8381/providers/Microsoft.DataFactory/datafactories/onesdk9563/gateways/foo?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgzODEvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazk1NjMvZ2F0ZXdheXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDgtMDE=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "c21ccc11-b0dc-4e8c-844e-a6b50f9c34c1" + "c1a2b171-8095-4930-80de-1b493f1657c4" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -835,16 +775,16 @@ "15" ], "x-ms-request-id": [ - "c71397ce-ecfb-4380-a2fe-5c942aa28b79" + "31b21aca-46d4-449f-88e2-b04ca0e12d64" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1186" + "1176" ], "x-ms-correlation-request-id": [ - "be631826-a8e7-44ee-aea1-bf79e71c8a5e" + "8a372047-d0cb-4e3f-ba13-d0d74bdbae6b" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211239Z:be631826-a8e7-44ee-aea1-bf79e71c8a5e" + "NORTHEUROPE:20150731T040654Z:8a372047-d0cb-4e3f-ba13-d0d74bdbae6b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -853,10 +793,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:12:38 GMT" + "Fri, 31 Jul 2015 04:06:54 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk778/providers/Microsoft.DataFactory/datafactories/onesdk8413/gateways/foo/operationresults/Db8cf71de-2955-451a-bffd-fd19ae3e79b6?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8381/providers/Microsoft.DataFactory/datafactories/onesdk9563/gateways/foo/operationresults/D345e4ec6-e51c-49d0-aa84-cc2add8a66e6?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -868,16 +808,16 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk778/providers/Microsoft.DataFactory/datafactories/onesdk8413/gateways/foo/operationresults/Db8cf71de-2955-451a-bffd-fd19ae3e79b6?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc3OC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrODQxMy9nYXRld2F5cy9mb28vb3BlcmF0aW9ucmVzdWx0cy9EYjhjZjcxZGUtMjk1NS00NTFhLWJmZmQtZmQxOWFlM2U3OWI2P2FwaS12ZXJzaW9uPTIwMTUtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8381/providers/Microsoft.DataFactory/datafactories/onesdk9563/gateways/foo/operationresults/D345e4ec6-e51c-49d0-aa84-cc2add8a66e6?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgzODEvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazk1NjMvZ2F0ZXdheXMvZm9vL29wZXJhdGlvbnJlc3VsdHMvRDM0NWU0ZWM2LWU1MWMtNDlkMC1hYTg0LWNjMmFkZDhhNjZlNj9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -895,16 +835,16 @@ "15" ], "x-ms-request-id": [ - "064ea090-d935-4856-ba90-3c2a8da5a128" + "2e21592b-28bb-493e-a4ed-a0242c7cc5ac" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14979" + "14963" ], "x-ms-correlation-request-id": [ - "0f06f397-7683-4aea-a7e5-ba650a08c2bd" + "e4bb1ce8-5c62-470b-8e18-7d85e50c70fd" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211239Z:0f06f397-7683-4aea-a7e5-ba650a08c2bd" + "NORTHEUROPE:20150731T040654Z:e4bb1ce8-5c62-470b-8e18-7d85e50c70fd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -913,10 +853,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:12:39 GMT" + "Fri, 31 Jul 2015 04:06:54 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk778/providers/Microsoft.DataFactory/datafactories/onesdk8413/gateways/foo/operationresults/Db8cf71de-2955-451a-bffd-fd19ae3e79b6?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8381/providers/Microsoft.DataFactory/datafactories/onesdk9563/gateways/foo/operationresults/D345e4ec6-e51c-49d0-aa84-cc2add8a66e6?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -928,16 +868,16 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk778/providers/Microsoft.DataFactory/datafactories/onesdk8413/gateways/foo/operationresults/Db8cf71de-2955-451a-bffd-fd19ae3e79b6?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc3OC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrODQxMy9nYXRld2F5cy9mb28vb3BlcmF0aW9ucmVzdWx0cy9EYjhjZjcxZGUtMjk1NS00NTFhLWJmZmQtZmQxOWFlM2U3OWI2P2FwaS12ZXJzaW9uPTIwMTUtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8381/providers/Microsoft.DataFactory/datafactories/onesdk9563/gateways/foo/operationresults/D345e4ec6-e51c-49d0-aa84-cc2add8a66e6?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgzODEvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazk1NjMvZ2F0ZXdheXMvZm9vL29wZXJhdGlvbnJlc3VsdHMvRDM0NWU0ZWM2LWU1MWMtNDlkMC1hYTg0LWNjMmFkZDhhNjZlNj9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -952,16 +892,16 @@ "no-cache" ], "x-ms-request-id": [ - "b45fc585-daaa-4273-86c6-9dca4e506631" + "a3618d28-b7cf-4172-8c25-7267e6781116" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14978" + "14962" ], "x-ms-correlation-request-id": [ - "e15ce5c7-08da-4d6a-89eb-425f3d29fdf2" + "f5addddc-d9cf-4264-9f31-c708427d1de5" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211254Z:e15ce5c7-08da-4d6a-89eb-425f3d29fdf2" + "NORTHEUROPE:20150731T040710Z:f5addddc-d9cf-4264-9f31-c708427d1de5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -970,7 +910,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:12:54 GMT" + "Fri, 31 Jul 2015 04:07:09 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -982,16 +922,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk778/providers/Microsoft.DataFactory/datafactories/onesdk8413?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc3OC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrODQxMz9hcGktdmVyc2lvbj0yMDE1LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8381/providers/Microsoft.DataFactory/datafactories/onesdk9563?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgzODEvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazk1NjM/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "3373f9df-4c80-45d6-aeee-ef407496306f" + "591c78bd-bcad-4950-ba29-de93c6ebad24" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -1006,16 +946,16 @@ "no-cache" ], "x-ms-request-id": [ - "db82026c-a8de-4229-bc80-6340cb7e5e2e" + "35a7a5de-b371-4946-911c-cfbe7a220eca" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1185" + "1175" ], "x-ms-correlation-request-id": [ - "a03217d5-13ae-4855-8050-1a37c6ea5b93" + "e5be4bf5-24a2-4683-ad64-b74d1d8d0172" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211255Z:a03217d5-13ae-4855-8050-1a37c6ea5b93" + "NORTHEUROPE:20150731T040712Z:e5be4bf5-24a2-4683-ad64-b74d1d8d0172" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1024,7 +964,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:12:54 GMT" + "Fri, 31 Jul 2015 04:07:12 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -1038,8 +978,8 @@ ], "Names": { "Test-DataFactoryGatewayWithDataFactoryParameter": [ - "onesdk8413", - "onesdk778" + "onesdk9563", + "onesdk8381" ] }, "Variables": { diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryGatewayTests/TestGetNonExistingDataFactoryGateway.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryGatewayTests/TestGetNonExistingDataFactoryGateway.json index a7623cd11a31..f2f468ee2134 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryGatewayTests/TestGetNonExistingDataFactoryGateway.json +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryGatewayTests/TestGetNonExistingDataFactoryGateway.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1955?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE5NTU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3160?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazMxNjA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -28,16 +28,16 @@ "gateway" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14983" + "14982" ], "x-ms-request-id": [ - "761e2e2c-11d9-4eff-ad65-f4f4f5b5e72b" + "f3b12cf2-31df-4a84-a171-32ff20343327" ], "x-ms-correlation-request-id": [ - "761e2e2c-11d9-4eff-ad65-f4f4f5b5e72b" + "f3b12cf2-31df-4a84-a171-32ff20343327" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211330Z:761e2e2c-11d9-4eff-ad65-f4f4f5b5e72b" + "NORTHEUROPE:20150731T040749Z:f3b12cf2-31df-4a84-a171-32ff20343327" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -46,14 +46,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:13:29 GMT" + "Fri, 31 Jul 2015 04:07:49 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1955?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE5NTU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3160?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazMxNjA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"Brazil South\"\r\n}", "RequestHeaders": { @@ -67,7 +67,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk1955\",\r\n \"name\": \"onesdk1955\",\r\n \"location\": \"brazilsouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk3160\",\r\n \"name\": \"onesdk3160\",\r\n \"location\": \"brazilsouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "178" @@ -82,16 +82,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1188" + "1189" ], "x-ms-request-id": [ - "a050bf54-d98a-4c06-88e4-bc1d803ec9b7" + "5dd8505a-ea0c-4b19-a763-0b3ba34988c2" ], "x-ms-correlation-request-id": [ - "a050bf54-d98a-4c06-88e4-bc1d803ec9b7" + "5dd8505a-ea0c-4b19-a763-0b3ba34988c2" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211330Z:a050bf54-d98a-4c06-88e4-bc1d803ec9b7" + "NORTHEUROPE:20150731T040750Z:5dd8505a-ea0c-4b19-a763-0b3ba34988c2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -100,14 +100,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:13:30 GMT" + "Fri, 31 Jul 2015 04:07:49 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk1955/resources?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlR3JvdXBzL29uZXNkazE5NTUvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk3160/resources?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlR3JvdXBzL29uZXNkazMxNjAvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -130,16 +130,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14982" + "14981" ], "x-ms-request-id": [ - "3863d5c7-ada3-4d98-ba04-85211be1877c" + "ec3ac764-6bd9-404a-adb5-1f3ddcda4ca9" ], "x-ms-correlation-request-id": [ - "3863d5c7-ada3-4d98-ba04-85211be1877c" + "ec3ac764-6bd9-404a-adb5-1f3ddcda4ca9" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211330Z:3863d5c7-ada3-4d98-ba04-85211be1877c" + "NORTHEUROPE:20150731T040751Z:ec3ac764-6bd9-404a-adb5-1f3ddcda4ca9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -148,14 +148,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:13:30 GMT" + "Fri, 31 Jul 2015 04:07:50 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1955/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE5NTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3160/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazMxNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -181,16 +181,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "centralus:274b3c9e-0288-48b3-b4f7-85c5dca4f19a" + "westeurope:0a5add1e-8922-4282-9f4a-35134467a23a" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14977" + "14980" ], "x-ms-correlation-request-id": [ - "805992a0-cdd8-4d42-8fa1-e86b6a9bd66c" + "99152214-43d5-4479-b555-1603cb3bf508" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211333Z:805992a0-cdd8-4d42-8fa1-e86b6a9bd66c" + "NORTHEUROPE:20150731T040751Z:99152214-43d5-4479-b555-1603cb3bf508" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -199,16 +199,16 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:13:33 GMT" + "Fri, 31 Jul 2015 04:07:50 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1955/providers/Microsoft.DataFactory/datafactories/onesdk6910?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE5NTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY5MTA/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3160/providers/Microsoft.DataFactory/datafactories/onesdk1708?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazMxNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE3MDg/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"name\": \"onesdk6910\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {}\r\n}", + "RequestBody": "{\r\n \"name\": \"onesdk1708\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {}\r\n}", "RequestHeaders": { "Content-Type": [ "application/json" @@ -217,13 +217,13 @@ "74" ], "x-ms-client-request-id": [ - "89ec7b58-e546-499f-b387-37525fd2068c" + "0d62454e-4de1-4b9a-9c1b-ace6cea6304b" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk6910\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1955/providers/Microsoft.DataFactory/datafactories/onesdk6910\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"fd16dc79-d013-4d67-9a85-236a843b25c7\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk1708\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3160/providers/Microsoft.DataFactory/datafactories/onesdk1708\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"1032b0c9-8497-48f5-b3b4-1976fd670bd1\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "449" @@ -238,16 +238,16 @@ "no-cache" ], "x-ms-request-id": [ - "692b01bc-fd90-4089-97a5-dd5722cb6ba7" + "66eff8f9-3aec-4121-a736-9162e71ec683" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" + "1173" ], "x-ms-correlation-request-id": [ - "1b268231-a3e8-4823-9f8f-1b2d26d2c703" + "f452f354-6583-444a-9030-16373e1039e2" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211334Z:1b268231-a3e8-4823-9f8f-1b2d26d2c703" + "NORTHEUROPE:20150731T040754Z:f452f354-6583-444a-9030-16373e1039e2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -256,10 +256,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:13:34 GMT" + "Fri, 31 Jul 2015 04:07:53 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1955/providers/Microsoft.DataFactory/datafactories/onesdk6910?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3160/providers/Microsoft.DataFactory/datafactories/onesdk1708?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -271,82 +271,22 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1955/providers/Microsoft.DataFactory/datafactories/onesdk6910?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE5NTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY5MTA/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "c6ccec24-b9c2-4c89-9c1e-c07a42d0ff66" - ], - "x-ms-version": [ - "2015-07-01-preview" - ], - "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"name\": \"onesdk6910\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1955/providers/Microsoft.DataFactory/datafactories/onesdk6910\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"fd16dc79-d013-4d67-9a85-236a843b25c7\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "449" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "8b2745ef-456d-4c02-b628-60cd31fe6a74" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14987" - ], - "x-ms-correlation-request-id": [ - "c47118b5-ab25-4452-a595-56e07a5f466e" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211334Z:c47118b5-ab25-4452-a595-56e07a5f466e" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Sat, 11 Jul 2015 21:13:34 GMT" - ], - "Server": [ - "Microsoft-IIS/8.5" - ], - "X-Powered-By": [ - "ASP.NET" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1955/providers/Microsoft.DataFactory/datafactories/onesdk6910?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE5NTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY5MTA/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3160/providers/Microsoft.DataFactory/datafactories/onesdk1708?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazMxNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE3MDg/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "3dc97c22-e8c1-4100-8f22-be4e3c2e132f" + "55912a47-2212-4ae4-8d03-a6c044c4adb4" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk6910\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1955/providers/Microsoft.DataFactory/datafactories/onesdk6910\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"fd16dc79-d013-4d67-9a85-236a843b25c7\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk1708\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3160/providers/Microsoft.DataFactory/datafactories/onesdk1708\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"1032b0c9-8497-48f5-b3b4-1976fd670bd1\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "449" @@ -361,16 +301,16 @@ "no-cache" ], "x-ms-request-id": [ - "2b7315d5-8e76-4407-a40b-ec896222af8a" + "4d4ff88d-906f-49da-98d4-c8a42b6753e5" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14986" + "14960" ], "x-ms-correlation-request-id": [ - "81d37a43-fc7b-459f-bd7f-061cd3aee155" + "3abcda42-2d07-40e7-8e89-fc88d083ed54" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211340Z:81d37a43-fc7b-459f-bd7f-061cd3aee155" + "NORTHEUROPE:20150731T040754Z:3abcda42-2d07-40e7-8e89-fc88d083ed54" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,7 +319,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:13:40 GMT" + "Fri, 31 Jul 2015 04:07:54 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -391,22 +331,22 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1955/providers/Microsoft.DataFactory/datafactories/onesdk6910?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE5NTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY5MTA/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3160/providers/Microsoft.DataFactory/datafactories/onesdk1708?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazMxNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE3MDg/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "d044c61d-af80-4292-bcdf-108573de07ff" + "edb1ee78-e46a-43ba-a5c9-c1fc574d7efb" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk6910\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1955/providers/Microsoft.DataFactory/datafactories/onesdk6910\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"fd16dc79-d013-4d67-9a85-236a843b25c7\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk1708\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3160/providers/Microsoft.DataFactory/datafactories/onesdk1708\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"1032b0c9-8497-48f5-b3b4-1976fd670bd1\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "443" @@ -421,16 +361,16 @@ "no-cache" ], "x-ms-request-id": [ - "2dc97087-3460-43a7-bbaa-e60871a4c2b1" + "f47225e2-497f-40b3-a2ce-e91cb14290af" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14985" + "14959" ], "x-ms-correlation-request-id": [ - "4220a0d8-21c5-4d3d-9a0e-7375ec679454" + "6e7cfe7d-4bd4-4a94-9d27-93d8cd3db127" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211345Z:4220a0d8-21c5-4d3d-9a0e-7375ec679454" + "NORTHEUROPE:20150731T040759Z:6e7cfe7d-4bd4-4a94-9d27-93d8cd3db127" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -439,7 +379,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:13:45 GMT" + "Fri, 31 Jul 2015 04:07:59 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -451,16 +391,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1955/providers/Microsoft.DataFactory/datafactories/onesdk6910/gateways/gwname?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE5NTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY5MTAvZ2F0ZXdheXMvZ3duYW1lP2FwaS12ZXJzaW9uPTIwMTUtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3160/providers/Microsoft.DataFactory/datafactories/onesdk1708/gateways/gwname?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazMxNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE3MDgvZ2F0ZXdheXMvZ3duYW1lP2FwaS12ZXJzaW9uPTIwMTUtMDgtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "c3458dfe-0413-411e-964e-83d9fefb4e8f" + "3b5dbf14-61d1-45bf-95c4-79ea52e5979c" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "{\r\n \"message\": \"Gateway gwname does not exist.\",\r\n \"code\": \"GatewayNotFound\"\r\n}", @@ -478,16 +418,16 @@ "no-cache" ], "x-ms-request-id": [ - "c6749557-8594-4c7d-977b-bd37d0333447" + "3277e55c-dfac-41c6-a4bc-0ba8e2f3ef96" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14984" + "14958" ], "x-ms-correlation-request-id": [ - "6e82abdb-483d-4841-805d-3427ef39f212" + "007fdce5-303c-47a8-a387-cf9b47416690" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211345Z:6e82abdb-483d-4841-805d-3427ef39f212" + "NORTHEUROPE:20150731T040800Z:007fdce5-303c-47a8-a387-cf9b47416690" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -496,7 +436,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:13:45 GMT" + "Fri, 31 Jul 2015 04:07:59 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -510,8 +450,8 @@ ], "Names": { "Test-GetNonExistingDataFactoryGateway": [ - "onesdk6910", - "onesdk1955" + "onesdk1708", + "onesdk3160" ] }, "Variables": { diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryTests/TestCreateDataFactory.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryTests/TestCreateDataFactory.json index 8031f083e07e..a873b8f89333 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryTests/TestCreateDataFactory.json +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryTests/TestCreateDataFactory.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6201?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMDE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1506?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE1MDY/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -28,16 +28,16 @@ "gateway" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14972" + "14945" ], "x-ms-request-id": [ - "adbe80c5-b190-4497-b785-3760f4751646" + "cc0d9b9c-53bf-4078-bd05-4fde38c62830" ], "x-ms-correlation-request-id": [ - "adbe80c5-b190-4497-b785-3760f4751646" + "cc0d9b9c-53bf-4078-bd05-4fde38c62830" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211659Z:adbe80c5-b190-4497-b785-3760f4751646" + "NORTHEUROPE:20150731T041715Z:cc0d9b9c-53bf-4078-bd05-4fde38c62830" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -46,14 +46,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:16:59 GMT" + "Fri, 31 Jul 2015 04:17:14 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6201?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMDE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1506?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE1MDY/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"Brazil South\"\r\n}", "RequestHeaders": { @@ -67,7 +67,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk6201\",\r\n \"name\": \"onesdk6201\",\r\n \"location\": \"brazilsouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk1506\",\r\n \"name\": \"onesdk1506\",\r\n \"location\": \"brazilsouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "178" @@ -82,16 +82,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1181" + "1167" ], "x-ms-request-id": [ - "2ea066f7-85db-4274-9c1b-6bf5fcee356e" + "a9b87ad8-79ff-4dea-a904-6d0ed8393f0c" ], "x-ms-correlation-request-id": [ - "2ea066f7-85db-4274-9c1b-6bf5fcee356e" + "a9b87ad8-79ff-4dea-a904-6d0ed8393f0c" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211700Z:2ea066f7-85db-4274-9c1b-6bf5fcee356e" + "NORTHEUROPE:20150731T041716Z:a9b87ad8-79ff-4dea-a904-6d0ed8393f0c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -100,14 +100,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:16:59 GMT" + "Fri, 31 Jul 2015 04:17:15 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk6201/resources?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlR3JvdXBzL29uZXNkazYyMDEvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk1506/resources?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlR3JvdXBzL29uZXNkazE1MDYvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -130,16 +130,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14971" + "14944" ], "x-ms-request-id": [ - "028b4e96-4837-445f-8f3f-4810b841a0dd" + "ef732239-4db5-4a02-a528-be8913ac5035" ], "x-ms-correlation-request-id": [ - "028b4e96-4837-445f-8f3f-4810b841a0dd" + "ef732239-4db5-4a02-a528-be8913ac5035" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211700Z:028b4e96-4837-445f-8f3f-4810b841a0dd" + "NORTHEUROPE:20150731T041716Z:ef732239-4db5-4a02-a528-be8913ac5035" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -148,14 +148,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:16:59 GMT" + "Fri, 31 Jul 2015 04:17:16 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6201/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1506/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE1MDYvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -181,16 +181,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "centralus:20bbd445-d0e3-4909-90f5-665f89eb2182" + "westeurope:80503d3e-b4ed-4a2a-b1e8-155270b6ea89" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14971" + "14943" ], "x-ms-correlation-request-id": [ - "07619711-0abd-4ca9-b059-fd0d5b4f5487" + "59e9199d-7f71-4231-9c87-2da51ab872b0" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211700Z:07619711-0abd-4ca9-b059-fd0d5b4f5487" + "NORTHEUROPE:20150731T041717Z:59e9199d-7f71-4231-9c87-2da51ab872b0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -199,16 +199,16 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:16:59 GMT" + "Fri, 31 Jul 2015 04:17:16 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6201/providers/Microsoft.DataFactory/datafactories/onesdk1930?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMDEvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE5MzA/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1506/providers/Microsoft.DataFactory/datafactories/onesdk5468?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE1MDYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazU0Njg/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"name\": \"onesdk1930\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {}\r\n}", + "RequestBody": "{\r\n \"name\": \"onesdk5468\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {}\r\n}", "RequestHeaders": { "Content-Type": [ "application/json" @@ -217,13 +217,13 @@ "74" ], "x-ms-client-request-id": [ - "01717f77-0ad1-48f3-bdfb-f708dde6cc98" + "96f36ef2-7e64-49ac-a1c3-7d370d0340b6" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk1930\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6201/providers/Microsoft.DataFactory/datafactories/onesdk1930\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"c9a9cf2c-b8c9-481a-906e-10c0c747eaf6\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk5468\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1506/providers/Microsoft.DataFactory/datafactories/onesdk5468\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"0aa4cccf-cd17-4215-913f-24d2c42d5594\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "449" @@ -238,16 +238,16 @@ "no-cache" ], "x-ms-request-id": [ - "37990735-2a34-4205-8128-12b6168ce3c8" + "0a914a7d-4f41-439f-a0da-b5fbea523172" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1186" + "1145" ], "x-ms-correlation-request-id": [ - "b8b94444-5bbd-48bf-a92a-4608c46ffd90" + "c8245549-a6a5-43e8-862d-9591790aedc3" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211702Z:b8b94444-5bbd-48bf-a92a-4608c46ffd90" + "NORTHEUROPE:20150731T041720Z:c8245549-a6a5-43e8-862d-9591790aedc3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -256,10 +256,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:17:02 GMT" + "Fri, 31 Jul 2015 04:17:19 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6201/providers/Microsoft.DataFactory/datafactories/onesdk1930?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1506/providers/Microsoft.DataFactory/datafactories/onesdk5468?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -271,22 +271,22 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6201/providers/Microsoft.DataFactory/datafactories/onesdk1930?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMDEvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE5MzA/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1506/providers/Microsoft.DataFactory/datafactories/onesdk5468?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE1MDYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazU0Njg/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "e80aaee7-3465-4d38-ba54-c318c314d88a" + "e199de48-1e0b-4675-8e8e-0d305dd100c0" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk1930\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6201/providers/Microsoft.DataFactory/datafactories/onesdk1930\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"c9a9cf2c-b8c9-481a-906e-10c0c747eaf6\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk5468\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1506/providers/Microsoft.DataFactory/datafactories/onesdk5468\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"0aa4cccf-cd17-4215-913f-24d2c42d5594\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "449" @@ -301,16 +301,16 @@ "no-cache" ], "x-ms-request-id": [ - "60409948-1e9e-45f8-bee3-81cd72812ad8" + "8683f132-7ae2-46ae-989b-698bd3fa4dab" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14979" + "14905" ], "x-ms-correlation-request-id": [ - "b86e5ed5-7839-4f8a-9c9b-d967b577a8cf" + "7e037f6a-2b32-4005-91a9-5e0f0f3609b9" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211702Z:b86e5ed5-7839-4f8a-9c9b-d967b577a8cf" + "NORTHEUROPE:20150731T041720Z:7e037f6a-2b32-4005-91a9-5e0f0f3609b9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -319,7 +319,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:17:02 GMT" + "Fri, 31 Jul 2015 04:17:19 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -331,22 +331,22 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6201/providers/Microsoft.DataFactory/datafactories/onesdk1930?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMDEvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE5MzA/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1506/providers/Microsoft.DataFactory/datafactories/onesdk5468?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE1MDYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazU0Njg/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "33ad23c9-7a57-43ab-b43b-595ca199674b" + "8b134334-1907-45ee-8b5c-74bcc993d0bf" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk1930\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6201/providers/Microsoft.DataFactory/datafactories/onesdk1930\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"c9a9cf2c-b8c9-481a-906e-10c0c747eaf6\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk5468\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1506/providers/Microsoft.DataFactory/datafactories/onesdk5468\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"0aa4cccf-cd17-4215-913f-24d2c42d5594\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "449" @@ -361,16 +361,16 @@ "no-cache" ], "x-ms-request-id": [ - "2a775028-dc05-402d-8026-def60cf53466" + "1bb1b59f-d9c0-4fb7-ae72-231ba21c8f25" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14978" + "14904" ], "x-ms-correlation-request-id": [ - "f2b69426-369d-4f4a-af69-1052acaaf28a" + "15e47421-67fe-42ab-9b4f-95484a4053ef" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211707Z:f2b69426-369d-4f4a-af69-1052acaaf28a" + "NORTHEUROPE:20150731T041725Z:15e47421-67fe-42ab-9b4f-95484a4053ef" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,7 +379,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:17:06 GMT" + "Fri, 31 Jul 2015 04:17:24 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -391,22 +391,22 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6201/providers/Microsoft.DataFactory/datafactories/onesdk1930?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMDEvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE5MzA/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1506/providers/Microsoft.DataFactory/datafactories/onesdk5468?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE1MDYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazU0Njg/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "d5abab2f-efdb-467f-971e-38f346efe355" + "229b2f1e-5f06-4fa9-9d45-23251b8a3d39" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk1930\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6201/providers/Microsoft.DataFactory/datafactories/onesdk1930\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"c9a9cf2c-b8c9-481a-906e-10c0c747eaf6\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk5468\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1506/providers/Microsoft.DataFactory/datafactories/onesdk5468\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"0aa4cccf-cd17-4215-913f-24d2c42d5594\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "443" @@ -421,16 +421,16 @@ "no-cache" ], "x-ms-request-id": [ - "a89fc793-6c9c-42ee-b0fd-1a8ccd623ac7" + "bfdcb32a-c04d-44d4-947a-4164b6e2635d" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14977" + "14903" ], "x-ms-correlation-request-id": [ - "d4f03854-22f4-4184-ab33-e2aadc09aa3b" + "625edbd0-1101-4e0d-8635-2aff6158a6fe" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211712Z:d4f03854-22f4-4184-ab33-e2aadc09aa3b" + "NORTHEUROPE:20150731T041730Z:625edbd0-1101-4e0d-8635-2aff6158a6fe" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -439,7 +439,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:17:12 GMT" + "Fri, 31 Jul 2015 04:17:30 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -451,19 +451,19 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6201/providers/Microsoft.DataFactory/datafactories/onesdk1930?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMDEvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE5MzA/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1506/providers/Microsoft.DataFactory/datafactories/onesdk5468?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE1MDYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazU0Njg/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "76d466ec-fe38-4e2f-ac15-54ee045579e3" + "faddfa25-6376-46dc-a7f9-02ebe0f0b072" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk1930\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6201/providers/Microsoft.DataFactory/datafactories/onesdk1930\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"c9a9cf2c-b8c9-481a-906e-10c0c747eaf6\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk5468\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1506/providers/Microsoft.DataFactory/datafactories/onesdk5468\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"0aa4cccf-cd17-4215-913f-24d2c42d5594\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "443" @@ -478,16 +478,16 @@ "no-cache" ], "x-ms-request-id": [ - "0d03c966-1044-41a9-a0f7-1587c932188b" + "f33cb807-4b96-47a7-8ccd-1057661871f9" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14976" + "14902" ], "x-ms-correlation-request-id": [ - "be2591c1-b85f-4243-afd9-e64b717d78ba" + "45251742-6596-4255-93e9-7799b8a8296b" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211712Z:be2591c1-b85f-4243-afd9-e64b717d78ba" + "NORTHEUROPE:20150731T041731Z:45251742-6596-4255-93e9-7799b8a8296b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -496,7 +496,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:17:12 GMT" + "Fri, 31 Jul 2015 04:17:30 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -508,16 +508,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6201/providers/Microsoft.DataFactory/datafactories/onesdk1930?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMDEvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE5MzA/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1506/providers/Microsoft.DataFactory/datafactories/onesdk5468?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE1MDYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazU0Njg/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "82b78206-0f9f-43bf-8a4b-bb6cd12248f6" + "7389c84d-1eea-436e-9f27-e4d0eb9cf1b7" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -532,16 +532,16 @@ "no-cache" ], "x-ms-request-id": [ - "1c55b5aa-2753-43a3-93ee-ec582a1a6e6d" + "988eade4-1e41-478f-8072-41fd557377fe" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1185" + "1144" ], "x-ms-correlation-request-id": [ - "1f59029a-82f2-494a-8b7d-e325ab616dea" + "7fceaed2-0abb-4e64-ae92-6d3aa4a6d039" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211713Z:1f59029a-82f2-494a-8b7d-e325ab616dea" + "NORTHEUROPE:20150731T041732Z:7fceaed2-0abb-4e64-ae92-6d3aa4a6d039" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -550,7 +550,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:17:13 GMT" + "Fri, 31 Jul 2015 04:17:31 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -564,8 +564,8 @@ ], "Names": { "Test-CreateDataFactory": [ - "onesdk1930", - "onesdk6201" + "onesdk5468", + "onesdk1506" ] }, "Variables": { diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryTests/TestDataFactoryPiping.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryTests/TestDataFactoryPiping.json index 9cdeff15f847..0bceaf0a8ffe 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryTests/TestDataFactoryPiping.json +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryTests/TestDataFactoryPiping.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5688?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU2ODg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5249?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazUyNDk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -28,16 +28,16 @@ "gateway" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14970" + "14915" ], "x-ms-request-id": [ - "4eb3867c-0142-42a8-995d-dda227d26f3f" + "9a6eb3f8-1779-44da-9141-d9382fe60fab" ], "x-ms-correlation-request-id": [ - "4eb3867c-0142-42a8-995d-dda227d26f3f" + "9a6eb3f8-1779-44da-9141-d9382fe60fab" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211747Z:4eb3867c-0142-42a8-995d-dda227d26f3f" + "NORTHEUROPE:20150731T041601Z:9a6eb3f8-1779-44da-9141-d9382fe60fab" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -46,14 +46,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:17:47 GMT" + "Fri, 31 Jul 2015 04:16:00 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5688?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU2ODg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5249?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazUyNDk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"Brazil South\"\r\n}", "RequestHeaders": { @@ -67,7 +67,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk5688\",\r\n \"name\": \"onesdk5688\",\r\n \"location\": \"brazilsouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk5249\",\r\n \"name\": \"onesdk5249\",\r\n \"location\": \"brazilsouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "178" @@ -82,16 +82,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1181" + "1148" ], "x-ms-request-id": [ - "94d6464f-9ef3-457a-b012-a87d6bd13152" + "788a1003-6fb0-4ff4-8242-976807519989" ], "x-ms-correlation-request-id": [ - "94d6464f-9ef3-457a-b012-a87d6bd13152" + "788a1003-6fb0-4ff4-8242-976807519989" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211748Z:94d6464f-9ef3-457a-b012-a87d6bd13152" + "NORTHEUROPE:20150731T041602Z:788a1003-6fb0-4ff4-8242-976807519989" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -100,14 +100,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:17:47 GMT" + "Fri, 31 Jul 2015 04:16:01 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk5688/resources?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlR3JvdXBzL29uZXNkazU2ODgvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk5249/resources?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlR3JvdXBzL29uZXNkazUyNDkvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -130,16 +130,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14969" + "14914" ], "x-ms-request-id": [ - "b3d4ecef-b9b6-4ea7-a70c-5abd5264a743" + "e20e5892-a345-457b-9cfe-09d0584e787e" ], "x-ms-correlation-request-id": [ - "b3d4ecef-b9b6-4ea7-a70c-5abd5264a743" + "e20e5892-a345-457b-9cfe-09d0584e787e" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211748Z:b3d4ecef-b9b6-4ea7-a70c-5abd5264a743" + "NORTHEUROPE:20150731T041602Z:e20e5892-a345-457b-9cfe-09d0584e787e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -148,14 +148,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:17:47 GMT" + "Fri, 31 Jul 2015 04:16:01 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5688/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU2ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5249/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazUyNDkvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -181,16 +181,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "centralus:390e9b8e-face-40ee-9217-8569d42b4b29" + "westeurope:564376c3-b779-4546-bffd-57be68604ad6" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14975" + "14947" ], "x-ms-correlation-request-id": [ - "5414ab19-ba40-4154-b660-970e9e42e80f" + "95b7f28c-3807-4d54-b8d6-fa095dd48fa7" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211748Z:5414ab19-ba40-4154-b660-970e9e42e80f" + "NORTHEUROPE:20150731T041603Z:95b7f28c-3807-4d54-b8d6-fa095dd48fa7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -199,16 +199,16 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:17:48 GMT" + "Fri, 31 Jul 2015 04:16:02 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5688/providers/Microsoft.DataFactory/datafactories/onesdk6734?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU2ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY3MzQ/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5249/providers/Microsoft.DataFactory/datafactories/onesdk1787?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazUyNDkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE3ODc/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"name\": \"onesdk6734\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {}\r\n}", + "RequestBody": "{\r\n \"name\": \"onesdk1787\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {}\r\n}", "RequestHeaders": { "Content-Type": [ "application/json" @@ -217,13 +217,13 @@ "74" ], "x-ms-client-request-id": [ - "61fb44ed-dbce-4fce-9604-c452c1cc7e0d" + "69f5002a-5eab-4a75-96bf-6718c2b518f8" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk6734\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5688/providers/Microsoft.DataFactory/datafactories/onesdk6734\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"f5480008-8428-40e6-b1b6-7e1892494661\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk1787\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5249/providers/Microsoft.DataFactory/datafactories/onesdk1787\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"a557b25a-1013-4352-b41d-818db38930bb\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "449" @@ -238,16 +238,16 @@ "no-cache" ], "x-ms-request-id": [ - "aed9f78d-324a-4837-86de-01ac9f69fb16" + "5b84668c-8b5d-46df-af6b-74e50ca36505" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1182" + "1147" ], "x-ms-correlation-request-id": [ - "d68082f5-08da-4797-ac8f-346a17d9bd8d" + "6e39e284-39ca-4c95-bc7b-e16d74a1dc43" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211749Z:d68082f5-08da-4797-ac8f-346a17d9bd8d" + "NORTHEUROPE:20150731T041606Z:6e39e284-39ca-4c95-bc7b-e16d74a1dc43" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -256,10 +256,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:17:49 GMT" + "Fri, 31 Jul 2015 04:16:06 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5688/providers/Microsoft.DataFactory/datafactories/onesdk6734?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5249/providers/Microsoft.DataFactory/datafactories/onesdk1787?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -271,22 +271,22 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5688/providers/Microsoft.DataFactory/datafactories/onesdk6734?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU2ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY3MzQ/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5249/providers/Microsoft.DataFactory/datafactories/onesdk1787?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazUyNDkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE3ODc/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "4db2bce1-f683-4a83-8e41-1dbb2a8a7844" + "e3583eaf-673b-47dc-99ea-2c2329900858" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk6734\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5688/providers/Microsoft.DataFactory/datafactories/onesdk6734\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"f5480008-8428-40e6-b1b6-7e1892494661\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk1787\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5249/providers/Microsoft.DataFactory/datafactories/onesdk1787\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"a557b25a-1013-4352-b41d-818db38930bb\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "449" @@ -301,16 +301,16 @@ "no-cache" ], "x-ms-request-id": [ - "5b3ec005-3523-4021-b62f-f5877e1eadfa" + "f54945b3-5979-487a-9211-860e9789ebec" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14972" + "14913" ], "x-ms-correlation-request-id": [ - "2e94f7c8-2d61-4bb7-8dad-d940a2dd3e74" + "4c12b225-03f3-4c01-9832-2a890d0e85c4" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211750Z:2e94f7c8-2d61-4bb7-8dad-d940a2dd3e74" + "NORTHEUROPE:20150731T041606Z:4c12b225-03f3-4c01-9832-2a890d0e85c4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -319,7 +319,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:17:50 GMT" + "Fri, 31 Jul 2015 04:16:06 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -331,22 +331,22 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5688/providers/Microsoft.DataFactory/datafactories/onesdk6734?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU2ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY3MzQ/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5249/providers/Microsoft.DataFactory/datafactories/onesdk1787?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazUyNDkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE3ODc/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "64cf8015-1108-4034-a4f3-ffc0895fb6a7" + "b26e2de9-f20d-469c-93cc-7d5eb0097db3" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk6734\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5688/providers/Microsoft.DataFactory/datafactories/onesdk6734\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"f5480008-8428-40e6-b1b6-7e1892494661\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk1787\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5249/providers/Microsoft.DataFactory/datafactories/onesdk1787\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"a557b25a-1013-4352-b41d-818db38930bb\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "449" @@ -361,16 +361,16 @@ "no-cache" ], "x-ms-request-id": [ - "07025b7e-ecf6-491a-86a8-c9b2424b6a85" + "08d65288-3c2f-4980-83fe-952ddc594e98" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14971" + "14912" ], "x-ms-correlation-request-id": [ - "37b0316e-9c48-4792-bb56-ac078cf49005" + "6e480530-cf7f-466d-9984-956976bff0ce" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211755Z:37b0316e-9c48-4792-bb56-ac078cf49005" + "NORTHEUROPE:20150731T041611Z:6e480530-cf7f-466d-9984-956976bff0ce" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,7 +379,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:17:55 GMT" + "Fri, 31 Jul 2015 04:16:11 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -391,22 +391,202 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5688/providers/Microsoft.DataFactory/datafactories/onesdk6734?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU2ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY3MzQ/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5249/providers/Microsoft.DataFactory/datafactories/onesdk1787?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazUyNDkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE3ODc/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "e5633eff-3477-4c0a-ae65-0ec23215b0ae" + "7828647e-c17b-40d3-89cd-da001c85b63f" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk6734\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5688/providers/Microsoft.DataFactory/datafactories/onesdk6734\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"f5480008-8428-40e6-b1b6-7e1892494661\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk1787\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5249/providers/Microsoft.DataFactory/datafactories/onesdk1787\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"a557b25a-1013-4352-b41d-818db38930bb\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "449" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "0f43744e-3ff3-483b-a549-0dc25fc6328b" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14911" + ], + "x-ms-correlation-request-id": [ + "209cd572-6eca-4eaf-bf3a-a2aa52017451" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20150731T041617Z:209cd572-6eca-4eaf-bf3a-a2aa52017451" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 31 Jul 2015 04:16:16 GMT" + ], + "Server": [ + "Microsoft-IIS/8.5" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5249/providers/Microsoft.DataFactory/datafactories/onesdk1787?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazUyNDkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE3ODc/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e97bfb44-de59-417f-ac66-9edcc6f7dcf9" + ], + "x-ms-version": [ + "2015-08-01" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk1787\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5249/providers/Microsoft.DataFactory/datafactories/onesdk1787\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"a557b25a-1013-4352-b41d-818db38930bb\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "449" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "a0909872-5d35-4455-8700-107c8dc5928f" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14910" + ], + "x-ms-correlation-request-id": [ + "c17c5160-8a57-4420-b1f3-8d36426054c1" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20150731T041622Z:c17c5160-8a57-4420-b1f3-8d36426054c1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 31 Jul 2015 04:16:22 GMT" + ], + "Server": [ + "Microsoft-IIS/8.5" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5249/providers/Microsoft.DataFactory/datafactories/onesdk1787?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazUyNDkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE3ODc/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1b3ae9f7-977b-4a80-91d6-fc431fdd3787" + ], + "x-ms-version": [ + "2015-08-01" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk1787\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5249/providers/Microsoft.DataFactory/datafactories/onesdk1787\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"a557b25a-1013-4352-b41d-818db38930bb\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "449" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "adbbad53-c41d-4ffc-aefd-eeb8569c3eb6" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14909" + ], + "x-ms-correlation-request-id": [ + "d28c8f64-6440-4594-be48-23ed0dffab2e" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20150731T041628Z:d28c8f64-6440-4594-be48-23ed0dffab2e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 31 Jul 2015 04:16:28 GMT" + ], + "Server": [ + "Microsoft-IIS/8.5" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5249/providers/Microsoft.DataFactory/datafactories/onesdk1787?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazUyNDkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE3ODc/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "45a324ca-731d-4d5c-8780-e09dc3840838" + ], + "x-ms-version": [ + "2015-08-01" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk1787\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5249/providers/Microsoft.DataFactory/datafactories/onesdk1787\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"a557b25a-1013-4352-b41d-818db38930bb\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "443" @@ -421,16 +601,16 @@ "no-cache" ], "x-ms-request-id": [ - "28bf4390-c0a9-43f3-8726-284642c32a9e" + "06fd5c8a-231e-4dec-86cf-692d72d51cac" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14970" + "14908" ], "x-ms-correlation-request-id": [ - "44fc4e4d-d968-4129-90c5-1f14ead44896" + "e2aa2865-1269-415b-a226-458eddd930a9" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211800Z:44fc4e4d-d968-4129-90c5-1f14ead44896" + "NORTHEUROPE:20150731T041634Z:e2aa2865-1269-415b-a226-458eddd930a9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -439,7 +619,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:18:00 GMT" + "Fri, 31 Jul 2015 04:16:34 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -451,19 +631,19 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5688/providers/Microsoft.DataFactory/datafactories/onesdk6734?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU2ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY3MzQ/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5249/providers/Microsoft.DataFactory/datafactories/onesdk1787?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazUyNDkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE3ODc/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "88a8c82d-5ce8-48d8-b8fc-bcdd658d697f" + "b2ed1644-9d52-46b3-941a-07b3a2d231d2" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.DataFactory/dataFactories/onesdk6734' under resource group 'onesdk5688' was not found.\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.DataFactory/dataFactories/onesdk1787' under resource group 'onesdk5249' was not found.\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "160" @@ -481,13 +661,13 @@ "gateway" ], "x-ms-request-id": [ - "51e802c8-6712-4818-8512-0b4a5ee9f820" + "2131e869-a387-4379-b5c6-f7b1e24eb18c" ], "x-ms-correlation-request-id": [ - "51e802c8-6712-4818-8512-0b4a5ee9f820" + "2131e869-a387-4379-b5c6-f7b1e24eb18c" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211801Z:51e802c8-6712-4818-8512-0b4a5ee9f820" + "NORTHEUROPE:20150731T041638Z:2131e869-a387-4379-b5c6-f7b1e24eb18c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -496,25 +676,25 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:18:01 GMT" + "Fri, 31 Jul 2015 04:16:37 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5688/providers/Microsoft.DataFactory/datafactories?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU2ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzP2FwaS12ZXJzaW9uPTIwMTUtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5249/providers/Microsoft.DataFactory/datafactories?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazUyNDkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzP2FwaS12ZXJzaW9uPTIwMTUtMDgtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "3b608aaf-a67e-439e-be1c-dbf8de8444d2" + "3b3ca8ec-5243-445a-ae2e-a6fd5be8f29c" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"onesdk6734\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5688/providers/Microsoft.DataFactory/datafactories/onesdk6734\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"f5480008-8428-40e6-b1b6-7e1892494661\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"onesdk1787\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5249/providers/Microsoft.DataFactory/datafactories/onesdk1787\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"a557b25a-1013-4352-b41d-818db38930bb\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ "520" @@ -529,16 +709,16 @@ "no-cache" ], "x-ms-request-id": [ - "6091d728-19f8-4e1e-a39d-adbaa8d5f390" + "dd5eab18-c19f-4765-a2c7-b44e25ecde9d" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14969" + "14907" ], "x-ms-correlation-request-id": [ - "ccf81170-374d-4a6f-bb1b-a0bf025bef7c" + "329d4023-7f5b-4623-afe0-9815bbe6beed" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211800Z:ccf81170-374d-4a6f-bb1b-a0bf025bef7c" + "NORTHEUROPE:20150731T041635Z:329d4023-7f5b-4623-afe0-9815bbe6beed" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -547,7 +727,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:18:00 GMT" + "Fri, 31 Jul 2015 04:16:35 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -559,16 +739,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5688/providers/Microsoft.DataFactory/datafactories/onesdk6734?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU2ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY3MzQ/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5249/providers/Microsoft.DataFactory/datafactories/onesdk1787?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazUyNDkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE3ODc/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "93b2e304-e7a7-47f9-a0f1-ff8d0eae3a90" + "2b83d4fe-e5f5-4b34-931c-2e067b3c1a9c" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -583,16 +763,16 @@ "no-cache" ], "x-ms-request-id": [ - "84d35a30-1277-4be5-a414-34dc2a9ca173" + "1b2f4e39-9554-4602-aa54-1a9ab028a665" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1181" + "1146" ], "x-ms-correlation-request-id": [ - "aacc1c30-23a3-445e-a515-444053c7d26e" + "dd7c69e6-6fea-4c08-8dbe-d2450236fec3" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211801Z:aacc1c30-23a3-445e-a515-444053c7d26e" + "NORTHEUROPE:20150731T041637Z:dd7c69e6-6fea-4c08-8dbe-d2450236fec3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -601,7 +781,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:18:01 GMT" + "Fri, 31 Jul 2015 04:16:37 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -615,8 +795,8 @@ ], "Names": { "Test-DataFactoryPiping": [ - "onesdk6734", - "onesdk5688" + "onesdk1787", + "onesdk5249" ] }, "Variables": { diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryTests/TestDeleteDataFactoryWithDataFactoryParameter.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryTests/TestDeleteDataFactoryWithDataFactoryParameter.json index a60783adc3c9..075035e9ce05 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryTests/TestDeleteDataFactoryWithDataFactoryParameter.json +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryTests/TestDeleteDataFactoryWithDataFactoryParameter.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1294?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyOTQ/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk198?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE5OD9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -13,7 +13,7 @@ "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "102" + "101" ], "Content-Type": [ "application/json; charset=utf-8" @@ -28,16 +28,16 @@ "gateway" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14974" + "14952" ], "x-ms-request-id": [ - "e1f01986-76dc-446c-ad16-1f6ddcf76816" + "ec92e525-fded-4011-99c7-763c1b2acd3e" ], "x-ms-correlation-request-id": [ - "e1f01986-76dc-446c-ad16-1f6ddcf76816" + "ec92e525-fded-4011-99c7-763c1b2acd3e" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211837Z:e1f01986-76dc-446c-ad16-1f6ddcf76816" + "NORTHEUROPE:20150731T041510Z:ec92e525-fded-4011-99c7-763c1b2acd3e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -46,14 +46,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:18:37 GMT" + "Fri, 31 Jul 2015 04:15:10 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1294?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyOTQ/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk198?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE5OD9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"Brazil South\"\r\n}", "RequestHeaders": { @@ -67,10 +67,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk1294\",\r\n \"name\": \"onesdk1294\",\r\n \"location\": \"brazilsouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk198\",\r\n \"name\": \"onesdk198\",\r\n \"location\": \"brazilsouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "178" + "176" ], "Content-Type": [ "application/json; charset=utf-8" @@ -82,16 +82,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1184" + "1171" ], "x-ms-request-id": [ - "b154500f-9f90-4c38-8baa-125e0f56370d" + "031f4ac5-007f-4e04-8f0c-93dc2b4aaaf7" ], "x-ms-correlation-request-id": [ - "b154500f-9f90-4c38-8baa-125e0f56370d" + "031f4ac5-007f-4e04-8f0c-93dc2b4aaaf7" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211837Z:b154500f-9f90-4c38-8baa-125e0f56370d" + "NORTHEUROPE:20150731T041511Z:031f4ac5-007f-4e04-8f0c-93dc2b4aaaf7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -100,14 +100,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:18:37 GMT" + "Fri, 31 Jul 2015 04:15:11 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk1294/resources?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlR3JvdXBzL29uZXNkazEyOTQvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk198/resources?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlR3JvdXBzL29uZXNkazE5OC9yZXNvdXJjZXM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -130,16 +130,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14973" + "14951" ], "x-ms-request-id": [ - "1bce5896-a470-4ade-8e7a-8a602dc9d4f4" + "cafac74f-f89b-4102-a275-adef7721cc20" ], "x-ms-correlation-request-id": [ - "1bce5896-a470-4ade-8e7a-8a602dc9d4f4" + "cafac74f-f89b-4102-a275-adef7721cc20" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211837Z:1bce5896-a470-4ade-8e7a-8a602dc9d4f4" + "NORTHEUROPE:20150731T041511Z:cafac74f-f89b-4102-a275-adef7721cc20" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -148,14 +148,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:18:37 GMT" + "Fri, 31 Jul 2015 04:15:11 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1294/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyOTQvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk198/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE5OC9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -181,16 +181,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "centralus:637fbd89-1583-443c-925e-e03e5a72077e" + "westeurope:ae0064d4-3385-464d-923d-713534c72630" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14967" + "14950" ], "x-ms-correlation-request-id": [ - "72b409cd-4948-43f3-923a-bd53b4e85696" + "e8bae257-bb25-427e-9925-e2d4096b68c8" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211838Z:72b409cd-4948-43f3-923a-bd53b4e85696" + "NORTHEUROPE:20150731T041512Z:e8bae257-bb25-427e-9925-e2d4096b68c8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -199,16 +199,16 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:18:38 GMT" + "Fri, 31 Jul 2015 04:15:11 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1294/providers/Microsoft.DataFactory/datafactories/onesdk5176?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyOTQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazUxNzY/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk198/providers/Microsoft.DataFactory/datafactories/onesdk2383?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE5OC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrMjM4Mz9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"name\": \"onesdk5176\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {}\r\n}", + "RequestBody": "{\r\n \"name\": \"onesdk2383\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {}\r\n}", "RequestHeaders": { "Content-Type": [ "application/json" @@ -217,16 +217,16 @@ "74" ], "x-ms-client-request-id": [ - "c84fa043-1a14-47c5-98fa-17b44f76e8a2" + "7c963ce6-ef69-4f7c-9b28-0b4141e37b51" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk5176\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1294/providers/Microsoft.DataFactory/datafactories/onesdk5176\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"bebb7241-b339-41fc-9755-b250a57d3d0d\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk2383\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk198/providers/Microsoft.DataFactory/datafactories/onesdk2383\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"e042a244-9491-4455-bff8-4335ee4c8969\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "449" + "448" ], "Content-Type": [ "application/json; charset=utf-8" @@ -238,16 +238,16 @@ "no-cache" ], "x-ms-request-id": [ - "bebe684c-97d7-4de2-a659-bd002476bba6" + "89aea817-2728-449e-9cf1-a18721dd8ff0" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1188" + "1170" ], "x-ms-correlation-request-id": [ - "d2c4477f-2b4c-4f1c-9b92-b4835b44393a" + "9344bbd4-67e2-4905-b40a-2a9b86350787" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211839Z:d2c4477f-2b4c-4f1c-9b92-b4835b44393a" + "NORTHEUROPE:20150731T041515Z:9344bbd4-67e2-4905-b40a-2a9b86350787" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -256,10 +256,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:18:38 GMT" + "Fri, 31 Jul 2015 04:15:14 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1294/providers/Microsoft.DataFactory/datafactories/onesdk5176?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk198/providers/Microsoft.DataFactory/datafactories/onesdk2383?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -271,25 +271,25 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1294/providers/Microsoft.DataFactory/datafactories/onesdk5176?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyOTQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazUxNzY/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk198/providers/Microsoft.DataFactory/datafactories/onesdk2383?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE5OC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrMjM4Mz9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "aa972da0-a6b2-487c-a940-fdd5628354af" + "9eadc84f-dd41-4482-8788-14452401d1a0" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk5176\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1294/providers/Microsoft.DataFactory/datafactories/onesdk5176\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"bebb7241-b339-41fc-9755-b250a57d3d0d\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk2383\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk198/providers/Microsoft.DataFactory/datafactories/onesdk2383\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"e042a244-9491-4455-bff8-4335ee4c8969\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "449" + "448" ], "Content-Type": [ "application/json; charset=utf-8" @@ -301,16 +301,16 @@ "no-cache" ], "x-ms-request-id": [ - "700c4d7e-955d-4e3c-87a2-79560f6d24a7" + "5de159ed-b451-4dd8-b4f0-b7d599b1b5f9" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14972" + "14949" ], "x-ms-correlation-request-id": [ - "89c7138c-de6c-4b64-becf-88fc0ffbb441" + "d59b1b2e-1dc7-445c-9ec2-be2a312ce023" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211839Z:89c7138c-de6c-4b64-becf-88fc0ffbb441" + "NORTHEUROPE:20150731T041516Z:d59b1b2e-1dc7-445c-9ec2-be2a312ce023" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -319,7 +319,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:18:38 GMT" + "Fri, 31 Jul 2015 04:15:16 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -331,25 +331,25 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1294/providers/Microsoft.DataFactory/datafactories/onesdk5176?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyOTQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazUxNzY/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk198/providers/Microsoft.DataFactory/datafactories/onesdk2383?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE5OC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrMjM4Mz9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "577d62bd-1d1f-41e5-8012-504498beccf8" + "93b3f3c0-f64a-45fb-b0c3-91a7b419d16f" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk5176\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1294/providers/Microsoft.DataFactory/datafactories/onesdk5176\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"bebb7241-b339-41fc-9755-b250a57d3d0d\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk2383\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk198/providers/Microsoft.DataFactory/datafactories/onesdk2383\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"e042a244-9491-4455-bff8-4335ee4c8969\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "449" + "442" ], "Content-Type": [ "application/json; charset=utf-8" @@ -361,16 +361,16 @@ "no-cache" ], "x-ms-request-id": [ - "22f1e1b5-a236-4b14-9186-f22078160dd2" + "a334ae9c-fb14-493c-a18d-0431c6b8c1f1" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14971" + "14948" ], "x-ms-correlation-request-id": [ - "ac8c0569-1782-4081-84f2-1ae748453690" + "c49d8fe5-0f1a-4b5e-8793-e8789f150cee" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211844Z:ac8c0569-1782-4081-84f2-1ae748453690" + "NORTHEUROPE:20150731T041521Z:c49d8fe5-0f1a-4b5e-8793-e8789f150cee" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,7 +379,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:18:44 GMT" + "Fri, 31 Jul 2015 04:15:21 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -391,76 +391,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1294/providers/Microsoft.DataFactory/datafactories/onesdk5176?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyOTQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazUxNzY/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "c79ff38d-70c8-4cd1-9fc3-0a8538138638" - ], - "x-ms-version": [ - "2015-07-01-preview" - ], - "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"name\": \"onesdk5176\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1294/providers/Microsoft.DataFactory/datafactories/onesdk5176\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"bebb7241-b339-41fc-9755-b250a57d3d0d\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "443" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "80b35002-915c-4ff2-8d73-028bf230df33" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14970" - ], - "x-ms-correlation-request-id": [ - "12f3497e-cc57-4ae0-a6fa-3edb4974b890" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211850Z:12f3497e-cc57-4ae0-a6fa-3edb4974b890" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Sat, 11 Jul 2015 21:18:50 GMT" - ], - "Server": [ - "Microsoft-IIS/8.5" - ], - "X-Powered-By": [ - "ASP.NET" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1294/providers/Microsoft.DataFactory/datafactories/onesdk5176?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyOTQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazUxNzY/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk198/providers/Microsoft.DataFactory/datafactories/onesdk2383?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE5OC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrMjM4Mz9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "0eda80ef-d2f8-4d6f-abad-719ec6119b9b" + "237eea4c-d136-4c61-903b-7493c7fc0bcc" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -475,16 +415,16 @@ "no-cache" ], "x-ms-request-id": [ - "7ca8a921-4c79-4241-a24a-548930881784" + "c40621ef-bd3c-41c6-bef4-948b884512d4" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1187" + "1169" ], "x-ms-correlation-request-id": [ - "f97862a4-0d96-4af5-a9bd-d8b2b95188b6" + "fd467878-190a-42e2-8b8a-3e1599cac8c6" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211850Z:f97862a4-0d96-4af5-a9bd-d8b2b95188b6" + "NORTHEUROPE:20150731T041523Z:fd467878-190a-42e2-8b8a-3e1599cac8c6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -493,7 +433,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:18:50 GMT" + "Fri, 31 Jul 2015 04:15:22 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -507,8 +447,8 @@ ], "Names": { "Test-DeleteDataFactoryWithDataFactoryParameter": [ - "onesdk5176", - "onesdk1294" + "onesdk2383", + "onesdk198" ] }, "Variables": { diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryTests/TestGetNonExistingDataFactory.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryTests/TestGetNonExistingDataFactory.json index 9a934c4fc3f2..1f7b02a8806e 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryTests/TestGetNonExistingDataFactory.json +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryTests/TestGetNonExistingDataFactory.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk796?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc5Nj9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5303?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazUzMDM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -13,7 +13,7 @@ "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "101" + "102" ], "Content-Type": [ "application/json; charset=utf-8" @@ -28,16 +28,16 @@ "gateway" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14969" + "14999" ], "x-ms-request-id": [ - "d3cacc54-338b-410b-82ae-97dfcf69c5c1" + "328d53c9-c525-4943-b6f7-768f9a0f83cb" ], "x-ms-correlation-request-id": [ - "d3cacc54-338b-410b-82ae-97dfcf69c5c1" + "328d53c9-c525-4943-b6f7-768f9a0f83cb" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211926Z:d3cacc54-338b-410b-82ae-97dfcf69c5c1" + "NORTHEUROPE:20150731T040117Z:328d53c9-c525-4943-b6f7-768f9a0f83cb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -46,14 +46,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:19:26 GMT" + "Fri, 31 Jul 2015 04:01:17 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk796?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc5Nj9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5303?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazUzMDM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"Brazil South\"\r\n}", "RequestHeaders": { @@ -67,10 +67,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk796\",\r\n \"name\": \"onesdk796\",\r\n \"location\": \"brazilsouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk5303\",\r\n \"name\": \"onesdk5303\",\r\n \"location\": \"brazilsouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "176" + "178" ], "Content-Type": [ "application/json; charset=utf-8" @@ -82,16 +82,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1186" + "1199" ], "x-ms-request-id": [ - "47a86f33-3362-43d9-b303-4a6aa455f2a2" + "4c9f1bac-7227-4fb2-8143-c15cc478af56" ], "x-ms-correlation-request-id": [ - "47a86f33-3362-43d9-b303-4a6aa455f2a2" + "4c9f1bac-7227-4fb2-8143-c15cc478af56" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211926Z:47a86f33-3362-43d9-b303-4a6aa455f2a2" + "NORTHEUROPE:20150731T040118Z:4c9f1bac-7227-4fb2-8143-c15cc478af56" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -100,14 +100,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:19:26 GMT" + "Fri, 31 Jul 2015 04:01:18 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk796/resources?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlR3JvdXBzL29uZXNkazc5Ni9yZXNvdXJjZXM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk5303/resources?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlR3JvdXBzL29uZXNkazUzMDMvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -130,16 +130,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14968" + "14998" ], "x-ms-request-id": [ - "956838ef-8f10-480c-83b6-08de18ee65bb" + "a24efbee-dc13-475a-9865-e000815820c6" ], "x-ms-correlation-request-id": [ - "956838ef-8f10-480c-83b6-08de18ee65bb" + "a24efbee-dc13-475a-9865-e000815820c6" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211927Z:956838ef-8f10-480c-83b6-08de18ee65bb" + "NORTHEUROPE:20150731T040119Z:a24efbee-dc13-475a-9865-e000815820c6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -148,14 +148,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:19:27 GMT" + "Fri, 31 Jul 2015 04:01:18 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk796/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc5Ni9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5303/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazUzMDMvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -181,16 +181,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "centralus:0ec063a1-b162-4de9-83e2-fec62ee0171d" + "westeurope:4f228c6e-c1ca-46e7-b5aa-f914c4db873a" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14934" + "14999" ], "x-ms-correlation-request-id": [ - "e8dfd04e-3181-490c-a0cd-ddc141903e6d" + "5903ae53-85f8-49b2-8c1c-ba2b18b97216" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211927Z:e8dfd04e-3181-490c-a0cd-ddc141903e6d" + "NORTHEUROPE:20150731T040119Z:5903ae53-85f8-49b2-8c1c-ba2b18b97216" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -199,28 +199,28 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:19:27 GMT" + "Fri, 31 Jul 2015 04:01:18 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk796/providers/Microsoft.DataFactory/datafactories/onesdk3755?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc5Ni9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrMzc1NT9hcGktdmVyc2lvbj0yMDE1LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5303/providers/Microsoft.DataFactory/datafactories/onesdk6630?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazUzMDMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY2MzA/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "2795717c-d2e7-4504-ad79-a45bda44af97" + "74e9df1d-744f-46cf-88fb-6cd86614ee92" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.DataFactory/dataFactories/onesdk3755' under resource group 'onesdk796' was not found.\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.DataFactory/dataFactories/onesdk6630' under resource group 'onesdk5303' was not found.\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "159" + "160" ], "Content-Type": [ "application/json; charset=utf-8" @@ -235,13 +235,13 @@ "gateway" ], "x-ms-request-id": [ - "6d258907-4071-4533-8f94-f66a3799c880" + "e71629e7-67ac-4360-9c83-cd66ad267188" ], "x-ms-correlation-request-id": [ - "6d258907-4071-4533-8f94-f66a3799c880" + "e71629e7-67ac-4360-9c83-cd66ad267188" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211929Z:6d258907-4071-4533-8f94-f66a3799c880" + "NORTHEUROPE:20150731T040120Z:e71629e7-67ac-4360-9c83-cd66ad267188" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -250,7 +250,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:19:28 GMT" + "Fri, 31 Jul 2015 04:01:20 GMT" ] }, "StatusCode": 404 @@ -258,8 +258,8 @@ ], "Names": { "Test-GetNonExistingDataFactory": [ - "onesdk3755", - "onesdk796" + "onesdk6630", + "onesdk5303" ] }, "Variables": { diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.HubTests/TestHub.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.HubTests/TestHub.json index fb1e0e8ee3fe..d064d33cccdf 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.HubTests/TestHub.json +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.HubTests/TestHub.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7928?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc5Mjg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9352?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazkzNTI/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -28,16 +28,16 @@ "gateway" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14981" + "14980" ], "x-ms-request-id": [ - "bd432a21-8fbb-4efc-9045-9b95a835a169" + "f1875a55-69f6-4a61-b6d3-f8eb19f2980a" ], "x-ms-correlation-request-id": [ - "bd432a21-8fbb-4efc-9045-9b95a835a169" + "f1875a55-69f6-4a61-b6d3-f8eb19f2980a" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211005Z:bd432a21-8fbb-4efc-9045-9b95a835a169" + "NORTHEUROPE:20150731T040428Z:f1875a55-69f6-4a61-b6d3-f8eb19f2980a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -46,14 +46,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:10:05 GMT" + "Fri, 31 Jul 2015 04:04:27 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7928?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc5Mjg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9352?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazkzNTI/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"Brazil South\"\r\n}", "RequestHeaders": { @@ -67,7 +67,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk7928\",\r\n \"name\": \"onesdk7928\",\r\n \"location\": \"brazilsouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk9352\",\r\n \"name\": \"onesdk9352\",\r\n \"location\": \"brazilsouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "178" @@ -82,16 +82,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1189" + "1187" ], "x-ms-request-id": [ - "322388df-1e9a-4f92-907f-39efc5ddfaf0" + "50962cc7-9995-4857-8d51-99e43349c9f6" ], "x-ms-correlation-request-id": [ - "322388df-1e9a-4f92-907f-39efc5ddfaf0" + "50962cc7-9995-4857-8d51-99e43349c9f6" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211005Z:322388df-1e9a-4f92-907f-39efc5ddfaf0" + "NORTHEUROPE:20150731T040428Z:50962cc7-9995-4857-8d51-99e43349c9f6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -100,14 +100,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:10:05 GMT" + "Fri, 31 Jul 2015 04:04:27 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk7928/resources?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlR3JvdXBzL29uZXNkazc5MjgvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk9352/resources?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlR3JvdXBzL29uZXNkazkzNTIvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -130,16 +130,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14980" + "14979" ], "x-ms-request-id": [ - "1e489155-5892-46dd-9192-644939911201" + "133123d1-9e0d-4a87-a096-2f0ed935b505" ], "x-ms-correlation-request-id": [ - "1e489155-5892-46dd-9192-644939911201" + "133123d1-9e0d-4a87-a096-2f0ed935b505" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211006Z:1e489155-5892-46dd-9192-644939911201" + "NORTHEUROPE:20150731T040429Z:133123d1-9e0d-4a87-a096-2f0ed935b505" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -148,14 +148,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:10:05 GMT" + "Fri, 31 Jul 2015 04:04:29 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7928/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc5MjgvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9352/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazkzNTIvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -181,16 +181,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "centralus:45024c20-9201-4443-ab20-502daf9d52a4" + "westeurope:345c9222-4805-4774-b5c8-faa6484a1110" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14988" + "14993" ], "x-ms-correlation-request-id": [ - "8dd43008-7c34-466e-b3a7-fbaa224adf65" + "dfd5ad6c-4b82-42f3-abab-078015f1bba0" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211006Z:8dd43008-7c34-466e-b3a7-fbaa224adf65" + "NORTHEUROPE:20150731T040429Z:dfd5ad6c-4b82-42f3-abab-078015f1bba0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -199,16 +199,16 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:10:06 GMT" + "Fri, 31 Jul 2015 04:04:29 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7928/providers/Microsoft.DataFactory/datafactories/onesdk7609?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc5MjgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazc2MDk/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9352/providers/Microsoft.DataFactory/datafactories/onesdk5752?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazkzNTIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazU3NTI/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"name\": \"onesdk7609\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {}\r\n}", + "RequestBody": "{\r\n \"name\": \"onesdk5752\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {}\r\n}", "RequestHeaders": { "Content-Type": [ "application/json" @@ -217,13 +217,13 @@ "74" ], "x-ms-client-request-id": [ - "8a94e6fe-4c9f-4a51-93e1-c414c288b758" + "c3bdf8b8-e66b-41ff-8a69-5415b47919f3" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk7609\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7928/providers/Microsoft.DataFactory/datafactories/onesdk7609\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"93214385-8a3b-47c8-8d89-735616531799\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk5752\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9352/providers/Microsoft.DataFactory/datafactories/onesdk5752\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"2e202619-e2cd-4aef-a7d5-4779419986b1\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "449" @@ -238,16 +238,16 @@ "no-cache" ], "x-ms-request-id": [ - "d5295cce-0b3c-45a5-8d43-ebff91d5c8f4" + "17603778-cb68-428a-98b5-e83753a95a83" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" + "1186" ], "x-ms-correlation-request-id": [ - "55a27017-008c-4bdf-a1c5-60093780ec66" + "e63bf8a0-5508-472a-bc45-952fd081ff5a" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211007Z:55a27017-008c-4bdf-a1c5-60093780ec66" + "NORTHEUROPE:20150731T040433Z:e63bf8a0-5508-472a-bc45-952fd081ff5a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -256,10 +256,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:10:07 GMT" + "Fri, 31 Jul 2015 04:04:32 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7928/providers/Microsoft.DataFactory/datafactories/onesdk7609?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9352/providers/Microsoft.DataFactory/datafactories/onesdk5752?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -271,22 +271,22 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7928/providers/Microsoft.DataFactory/datafactories/onesdk7609?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc5MjgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazc2MDk/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9352/providers/Microsoft.DataFactory/datafactories/onesdk5752?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazkzNTIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazU3NTI/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "acf8be12-b1b2-4e73-b133-bc256397fb39" + "2d8fe19f-b0a7-4ba8-b894-3b79b68ba0da" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk7609\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7928/providers/Microsoft.DataFactory/datafactories/onesdk7609\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"93214385-8a3b-47c8-8d89-735616531799\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk5752\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9352/providers/Microsoft.DataFactory/datafactories/onesdk5752\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"2e202619-e2cd-4aef-a7d5-4779419986b1\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "449" @@ -301,16 +301,16 @@ "no-cache" ], "x-ms-request-id": [ - "a7de9244-b42f-4451-b807-9e728a401030" + "f8e37dbd-1573-4e90-81a3-cae4dae9d965" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14988" + "14978" ], "x-ms-correlation-request-id": [ - "abf93069-ca66-449a-b13c-a406cecde164" + "38bcdc7d-1215-423d-ab23-c924b59f2f92" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211007Z:abf93069-ca66-449a-b13c-a406cecde164" + "NORTHEUROPE:20150731T040433Z:38bcdc7d-1215-423d-ab23-c924b59f2f92" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -319,7 +319,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:10:07 GMT" + "Fri, 31 Jul 2015 04:04:33 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -331,22 +331,22 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7928/providers/Microsoft.DataFactory/datafactories/onesdk7609?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc5MjgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazc2MDk/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9352/providers/Microsoft.DataFactory/datafactories/onesdk5752?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazkzNTIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazU3NTI/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "8c31f8c7-229e-424d-914c-23cae15776a2" + "8f4de9ee-b681-4c3a-b3db-3668cdabfade" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk7609\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7928/providers/Microsoft.DataFactory/datafactories/onesdk7609\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"93214385-8a3b-47c8-8d89-735616531799\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk5752\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9352/providers/Microsoft.DataFactory/datafactories/onesdk5752\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"2e202619-e2cd-4aef-a7d5-4779419986b1\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "449" @@ -361,16 +361,16 @@ "no-cache" ], "x-ms-request-id": [ - "9f0b313e-adfb-4172-84eb-0f2f88bb76e4" + "307df3a6-93e3-4f24-9c71-e2c94fa7053b" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14987" + "14977" ], "x-ms-correlation-request-id": [ - "b95caa59-1e45-4198-8aea-5f5102eed72a" + "48b00e42-37e0-400f-8e6d-d832802040b4" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211012Z:b95caa59-1e45-4198-8aea-5f5102eed72a" + "NORTHEUROPE:20150731T040438Z:48b00e42-37e0-400f-8e6d-d832802040b4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,7 +379,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:10:12 GMT" + "Fri, 31 Jul 2015 04:04:38 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -391,22 +391,22 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7928/providers/Microsoft.DataFactory/datafactories/onesdk7609?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc5MjgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazc2MDk/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9352/providers/Microsoft.DataFactory/datafactories/onesdk5752?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazkzNTIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazU3NTI/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "88a2b9f5-1a4b-428f-b527-9c0c543d8594" + "c844dc52-bb5a-4225-b89f-bc82f0f03702" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk7609\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7928/providers/Microsoft.DataFactory/datafactories/onesdk7609\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"93214385-8a3b-47c8-8d89-735616531799\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk5752\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9352/providers/Microsoft.DataFactory/datafactories/onesdk5752\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"2e202619-e2cd-4aef-a7d5-4779419986b1\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "443" @@ -421,16 +421,16 @@ "no-cache" ], "x-ms-request-id": [ - "aa2fd16d-7b16-4a6a-af9b-5b25aac368fe" + "dfb3c619-7cdf-47f9-bf39-d73edf4075d5" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14986" + "14976" ], "x-ms-correlation-request-id": [ - "d2eb6cdb-e1ec-4369-bb55-d65cd05a4a19" + "9d74b52a-3298-4c4f-8e7f-3fee211f7345" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211017Z:d2eb6cdb-e1ec-4369-bb55-d65cd05a4a19" + "NORTHEUROPE:20150731T040444Z:9d74b52a-3298-4c4f-8e7f-3fee211f7345" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -439,7 +439,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:10:17 GMT" + "Fri, 31 Jul 2015 04:04:44 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -451,8 +451,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7928/providers/Microsoft.DataFactory/datafactories/onesdk7609/hubs/SampleHub?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc5MjgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazc2MDkvaHVicy9TYW1wbGVIdWI/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9352/providers/Microsoft.DataFactory/datafactories/onesdk5752/hubs/SampleHub?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazkzNTIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazU3NTIvaHVicy9TYW1wbGVIdWI/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "PUT", "RequestBody": "{\r\n \"name\": \"SampleHub\",\r\n \"properties\": {\r\n \"defaultCompute\": \"SampleDefaultCompute\",\r\n \"type\": \"Hub\",\r\n \"hubId\": \"00000000-0000-0000-0000-000000000001\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "RequestHeaders": { @@ -463,13 +463,13 @@ "233" ], "x-ms-client-request-id": [ - "72e42d61-5f0a-4159-b3cc-068cf4793717" + "c3165d1e-a2de-42fc-8ed6-4992701e9239" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"SampleHub\",\r\n \"properties\": {\r\n \"defaultCompute\": \"SampleDefaultCompute\",\r\n \"type\": \"Hub\",\r\n \"hubId\": \"5d4d1d93-4908-450d-ad38-811956963780\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"SampleHub\",\r\n \"properties\": {\r\n \"defaultCompute\": \"SampleDefaultCompute\",\r\n \"type\": \"Hub\",\r\n \"hubId\": \"47f4cfa4-c554-4ba3-ab10-3b4388e7d660\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "167" @@ -484,16 +484,16 @@ "no-cache" ], "x-ms-request-id": [ - "54c6ce1a-27be-4ec3-b2b0-c2daeb98590d" + "3349d230-8c55-49e9-aa92-b0a536c808b7" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1192" + "1185" ], "x-ms-correlation-request-id": [ - "8ed3c63a-82b6-44b5-9cd8-49e06e3e5cc6" + "b04eec07-1ff7-4aca-b6f4-9f4017fc0700" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211018Z:8ed3c63a-82b6-44b5-9cd8-49e06e3e5cc6" + "NORTHEUROPE:20150731T040445Z:b04eec07-1ff7-4aca-b6f4-9f4017fc0700" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -502,10 +502,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:10:18 GMT" + "Fri, 31 Jul 2015 04:04:45 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7928/providers/Microsoft.DataFactory/datafactories/onesdk7609/hubs/SampleHub?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9352/providers/Microsoft.DataFactory/datafactories/onesdk5752/hubs/SampleHub?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -517,19 +517,19 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7928/providers/Microsoft.DataFactory/datafactories/onesdk7609/hubs/SampleHub?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc5MjgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazc2MDkvaHVicy9TYW1wbGVIdWI/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9352/providers/Microsoft.DataFactory/datafactories/onesdk5752/hubs/SampleHub?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazkzNTIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazU3NTIvaHVicy9TYW1wbGVIdWI/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ecf617c9-7bce-4943-9ba9-e9fa56602ebd" + "827132e0-ae91-49cf-a183-a570d287e8d4" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"SampleHub\",\r\n \"properties\": {\r\n \"defaultCompute\": \"SampleDefaultCompute\",\r\n \"type\": \"Hub\",\r\n \"hubId\": \"5d4d1d93-4908-450d-ad38-811956963780\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"SampleHub\",\r\n \"properties\": {\r\n \"defaultCompute\": \"SampleDefaultCompute\",\r\n \"type\": \"Hub\",\r\n \"hubId\": \"47f4cfa4-c554-4ba3-ab10-3b4388e7d660\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "167" @@ -544,16 +544,16 @@ "no-cache" ], "x-ms-request-id": [ - "7e24cc7a-7dd4-4021-ab8e-9a2f57a05804" + "377060e5-9749-4ee5-9356-7f4af3af1dd5" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14985" + "14975" ], "x-ms-correlation-request-id": [ - "1ea99d3d-c5c6-4ce4-b21b-63b89a8962bc" + "03310564-a597-4945-b37c-3616628496d8" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211018Z:1ea99d3d-c5c6-4ce4-b21b-63b89a8962bc" + "NORTHEUROPE:20150731T040445Z:03310564-a597-4945-b37c-3616628496d8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -562,7 +562,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:10:18 GMT" + "Fri, 31 Jul 2015 04:04:45 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -574,16 +574,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7928/providers/Microsoft.DataFactory/datafactories/onesdk7609/hubs/SampleHub?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc5MjgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazc2MDkvaHVicy9TYW1wbGVIdWI/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9352/providers/Microsoft.DataFactory/datafactories/onesdk5752/hubs/SampleHub?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazkzNTIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazU3NTIvaHVicy9TYW1wbGVIdWI/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "0bf9e233-b3ce-4da0-ba60-0b4295bdec12" + "a3e3ff5b-53fc-4cfa-a33e-6e86cba996de" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -601,16 +601,16 @@ "15" ], "x-ms-request-id": [ - "3250e3de-8666-4bfa-854b-7885ea5ac70a" + "c6a310d2-3553-476e-b21a-4465a7c90fd7" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1191" + "1184" ], "x-ms-correlation-request-id": [ - "4f19acd4-796f-4f01-bbcf-51d93b47d2d8" + "7f4fd64d-1f1c-4ea6-9d35-c1cb8d27ccb9" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211018Z:4f19acd4-796f-4f01-bbcf-51d93b47d2d8" + "NORTHEUROPE:20150731T040446Z:7f4fd64d-1f1c-4ea6-9d35-c1cb8d27ccb9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -619,10 +619,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:10:18 GMT" + "Fri, 31 Jul 2015 04:04:46 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7928/providers/Microsoft.DataFactory/datafactories/onesdk7609/hubs/SampleHub/operationresults/afe0b0a5b84542d0aab7d649964a1544?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9352/providers/Microsoft.DataFactory/datafactories/onesdk5752/hubs/SampleHub/operationresults/fcbc89a8fae3406f939b0826b25362cf?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -634,16 +634,16 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7928/providers/Microsoft.DataFactory/datafactories/onesdk7609/hubs/SampleHub/operationresults/afe0b0a5b84542d0aab7d649964a1544?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc5MjgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazc2MDkvaHVicy9TYW1wbGVIdWIvb3BlcmF0aW9ucmVzdWx0cy9hZmUwYjBhNWI4NDU0MmQwYWFiN2Q2NDk5NjRhMTU0ND9hcGktdmVyc2lvbj0yMDE1LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9352/providers/Microsoft.DataFactory/datafactories/onesdk5752/hubs/SampleHub/operationresults/fcbc89a8fae3406f939b0826b25362cf?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazkzNTIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazU3NTIvaHVicy9TYW1wbGVIdWIvb3BlcmF0aW9ucmVzdWx0cy9mY2JjODlhOGZhZTM0MDZmOTM5YjA4MjZiMjUzNjJjZj9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -658,16 +658,16 @@ "no-cache" ], "x-ms-request-id": [ - "1eb440fe-6ff7-467b-9bbf-ad9eee01acab" + "a093c21b-f886-4703-bc47-e7b08b07a272" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14984" + "14974" ], "x-ms-correlation-request-id": [ - "a0e51ff5-a5c8-4441-baac-eb71d3894801" + "28fa7256-b9bb-4567-9551-197218f15829" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211018Z:a0e51ff5-a5c8-4441-baac-eb71d3894801" + "NORTHEUROPE:20150731T040446Z:28fa7256-b9bb-4567-9551-197218f15829" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -676,7 +676,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:10:18 GMT" + "Fri, 31 Jul 2015 04:04:46 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -688,16 +688,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7928/providers/Microsoft.DataFactory/datafactories/onesdk7609?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc5MjgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazc2MDk/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9352/providers/Microsoft.DataFactory/datafactories/onesdk5752?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazkzNTIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazU3NTI/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "9398f9ab-9a75-4439-b0b5-8a456b5b91ba" + "f76c29c0-5895-4286-8641-cdc05f56848d" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -712,16 +712,16 @@ "no-cache" ], "x-ms-request-id": [ - "e6f25fda-5a31-4658-866b-d5c030a946ec" + "aa8c6bcf-f1f7-4dbe-8b97-fbd48ccf727b" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1190" + "1183" ], "x-ms-correlation-request-id": [ - "ad9b9d5d-f40d-44c3-b9b5-bce36bbbda6c" + "0f88cdeb-4b49-4743-85e7-2b70f81e5c68" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211019Z:ad9b9d5d-f40d-44c3-b9b5-bce36bbbda6c" + "NORTHEUROPE:20150731T040447Z:0f88cdeb-4b49-4743-85e7-2b70f81e5c68" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -730,7 +730,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:10:19 GMT" + "Fri, 31 Jul 2015 04:04:47 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -744,8 +744,8 @@ ], "Names": { "Test-Hub": [ - "onesdk7609", - "onesdk7928" + "onesdk5752", + "onesdk9352" ] }, "Variables": { diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.HubTests/TestHubPiping.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.HubTests/TestHubPiping.json index 45cc44aecf16..9082da604ec1 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.HubTests/TestHubPiping.json +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.HubTests/TestHubPiping.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9887?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazk4ODc/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3331?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazMzMzE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -28,16 +28,16 @@ "gateway" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14990" + "14987" ], "x-ms-request-id": [ - "24335796-0f6f-4daa-850c-20f8003cc6a9" + "81c64b97-8675-4d68-adeb-e8863718f875" ], "x-ms-correlation-request-id": [ - "24335796-0f6f-4daa-850c-20f8003cc6a9" + "81c64b97-8675-4d68-adeb-e8863718f875" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210912Z:24335796-0f6f-4daa-850c-20f8003cc6a9" + "NORTHEUROPE:20150731T040337Z:81c64b97-8675-4d68-adeb-e8863718f875" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -46,14 +46,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:09:12 GMT" + "Fri, 31 Jul 2015 04:03:36 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9887?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazk4ODc/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3331?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazMzMzE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"Brazil South\"\r\n}", "RequestHeaders": { @@ -67,7 +67,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk9887\",\r\n \"name\": \"onesdk9887\",\r\n \"location\": \"brazilsouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk3331\",\r\n \"name\": \"onesdk3331\",\r\n \"location\": \"brazilsouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "178" @@ -82,16 +82,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" + "1192" ], "x-ms-request-id": [ - "d5e3092d-a25d-41e0-9b2c-dac5309d67f7" + "b8e42f11-1fbd-4ebd-97b8-355ab31306e3" ], "x-ms-correlation-request-id": [ - "d5e3092d-a25d-41e0-9b2c-dac5309d67f7" + "b8e42f11-1fbd-4ebd-97b8-355ab31306e3" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210912Z:d5e3092d-a25d-41e0-9b2c-dac5309d67f7" + "NORTHEUROPE:20150731T040338Z:b8e42f11-1fbd-4ebd-97b8-355ab31306e3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -100,14 +100,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:09:12 GMT" + "Fri, 31 Jul 2015 04:03:37 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk9887/resources?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlR3JvdXBzL29uZXNkazk4ODcvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk3331/resources?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlR3JvdXBzL29uZXNkazMzMzEvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -130,16 +130,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14989" + "14986" ], "x-ms-request-id": [ - "719b6aca-8e36-4d5e-b66e-3bf6615f8243" + "686427f0-4d98-4a03-ad38-facba427ce0f" ], "x-ms-correlation-request-id": [ - "719b6aca-8e36-4d5e-b66e-3bf6615f8243" + "686427f0-4d98-4a03-ad38-facba427ce0f" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210912Z:719b6aca-8e36-4d5e-b66e-3bf6615f8243" + "NORTHEUROPE:20150731T040338Z:686427f0-4d98-4a03-ad38-facba427ce0f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -148,14 +148,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:09:12 GMT" + "Fri, 31 Jul 2015 04:03:38 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9887/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazk4ODcvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3331/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazMzMzEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -181,16 +181,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "centralus:2f9433ed-823d-482a-a57a-9e85d8709e66" + "westeurope:9ce70e08-373e-4a44-9f01-bca46080f9e9" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14947" + "14995" ], "x-ms-correlation-request-id": [ - "08b80a7d-9756-419e-ada1-571d3dd648e2" + "3037c40e-308e-438a-92c4-8ad0f507b6b8" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210913Z:08b80a7d-9756-419e-ada1-571d3dd648e2" + "NORTHEUROPE:20150731T040339Z:3037c40e-308e-438a-92c4-8ad0f507b6b8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -199,34 +199,34 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:09:13 GMT" + "Fri, 31 Jul 2015 04:03:38 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9887/providers/Microsoft.DataFactory/datafactories/onesdk9961?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazk4ODcvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazk5NjE/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3331/providers/Microsoft.DataFactory/datafactories/onesdk669?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazMzMzEvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY2OT9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"name\": \"onesdk9961\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {}\r\n}", + "RequestBody": "{\r\n \"name\": \"onesdk669\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {}\r\n}", "RequestHeaders": { "Content-Type": [ "application/json" ], "Content-Length": [ - "74" + "73" ], "x-ms-client-request-id": [ - "98e91c9b-4431-497a-ae3c-6593e9c23e9b" + "dcada8b3-eeaf-4151-a6f5-0df6aca14a97" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk9961\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9887/providers/Microsoft.DataFactory/datafactories/onesdk9961\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"9ab26c16-9ea1-420b-b663-c0a8ee73010f\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk669\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3331/providers/Microsoft.DataFactory/datafactories/onesdk669\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"50078ff4-2252-4d0a-b948-db85a0489fe4\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "449" + "447" ], "Content-Type": [ "application/json; charset=utf-8" @@ -238,16 +238,16 @@ "no-cache" ], "x-ms-request-id": [ - "339890b7-580c-40ca-b948-ba6429c81089" + "ceb741b0-aea5-4a6b-8f07-5c514115c43a" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" + "1191" ], "x-ms-correlation-request-id": [ - "1c4f37b3-c372-4c6c-a243-826837fb0207" + "9a2c1782-0cad-431c-9db1-305299ea0c21" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210914Z:1c4f37b3-c372-4c6c-a243-826837fb0207" + "NORTHEUROPE:20150731T040341Z:9a2c1782-0cad-431c-9db1-305299ea0c21" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -256,10 +256,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:09:14 GMT" + "Fri, 31 Jul 2015 04:03:41 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9887/providers/Microsoft.DataFactory/datafactories/onesdk9961?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3331/providers/Microsoft.DataFactory/datafactories/onesdk669?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -271,25 +271,25 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9887/providers/Microsoft.DataFactory/datafactories/onesdk9961?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazk4ODcvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazk5NjE/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3331/providers/Microsoft.DataFactory/datafactories/onesdk669?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazMzMzEvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY2OT9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "3feb58c3-dda5-4119-ae53-ecbe1f4657e8" + "d9fc8483-3089-43d0-a6e7-99299210ab9c" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk9961\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9887/providers/Microsoft.DataFactory/datafactories/onesdk9961\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"9ab26c16-9ea1-420b-b663-c0a8ee73010f\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk669\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3331/providers/Microsoft.DataFactory/datafactories/onesdk669\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"50078ff4-2252-4d0a-b948-db85a0489fe4\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "449" + "447" ], "Content-Type": [ "application/json; charset=utf-8" @@ -301,16 +301,16 @@ "no-cache" ], "x-ms-request-id": [ - "07b0a4f3-7fd5-47a9-ac57-0bb1b17b1112" + "4bf14b2e-993d-44df-81de-8719f176d9c0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14994" + "14985" ], "x-ms-correlation-request-id": [ - "5521161a-7c97-4166-9f1a-1d69862c9898" + "9b84f6d6-d1ba-4e42-b570-4ed18951f611" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210914Z:5521161a-7c97-4166-9f1a-1d69862c9898" + "NORTHEUROPE:20150731T040341Z:9b84f6d6-d1ba-4e42-b570-4ed18951f611" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -319,7 +319,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:09:14 GMT" + "Fri, 31 Jul 2015 04:03:41 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -331,25 +331,25 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9887/providers/Microsoft.DataFactory/datafactories/onesdk9961?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazk4ODcvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazk5NjE/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3331/providers/Microsoft.DataFactory/datafactories/onesdk669?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazMzMzEvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY2OT9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "535aea80-51c6-41d4-a92a-4275ad4e3da0" + "392fa079-5c9f-4e46-a340-c724c17d3340" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk9961\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9887/providers/Microsoft.DataFactory/datafactories/onesdk9961\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"9ab26c16-9ea1-420b-b663-c0a8ee73010f\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk669\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3331/providers/Microsoft.DataFactory/datafactories/onesdk669\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"50078ff4-2252-4d0a-b948-db85a0489fe4\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "449" + "441" ], "Content-Type": [ "application/json; charset=utf-8" @@ -361,16 +361,16 @@ "no-cache" ], "x-ms-request-id": [ - "f8b5fcfe-e412-461c-a114-017961663b23" + "0fd4b06f-1895-4b63-b518-3c2c9bbb94f1" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14993" + "14984" ], "x-ms-correlation-request-id": [ - "e323e680-40ee-454a-a77a-369ef9af20b9" + "ee29f047-685d-4c59-835a-8720da53adae" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210919Z:e323e680-40ee-454a-a77a-369ef9af20b9" + "NORTHEUROPE:20150731T040347Z:ee29f047-685d-4c59-835a-8720da53adae" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,7 +379,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:09:19 GMT" + "Fri, 31 Jul 2015 04:03:46 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -391,68 +391,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9887/providers/Microsoft.DataFactory/datafactories/onesdk9961?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazk4ODcvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazk5NjE/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "2380913b-cd59-4a68-a9cf-2a830866f898" - ], - "x-ms-version": [ - "2015-07-01-preview" - ], - "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"name\": \"onesdk9961\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9887/providers/Microsoft.DataFactory/datafactories/onesdk9961\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"9ab26c16-9ea1-420b-b663-c0a8ee73010f\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "443" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "7e320d77-49fd-45c5-85bc-8131843459c9" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14992" - ], - "x-ms-correlation-request-id": [ - "2a3a664a-ad18-4d17-ba7e-b729b2ffcd7d" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210924Z:2a3a664a-ad18-4d17-ba7e-b729b2ffcd7d" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Sat, 11 Jul 2015 21:09:24 GMT" - ], - "Server": [ - "Microsoft-IIS/8.5" - ], - "X-Powered-By": [ - "ASP.NET" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9887/providers/Microsoft.DataFactory/datafactories/onesdk9961/hubs/SampleHub?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazk4ODcvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazk5NjEvaHVicy9TYW1wbGVIdWI/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3331/providers/Microsoft.DataFactory/datafactories/onesdk669/hubs/SampleHub?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazMzMzEvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY2OS9odWJzL1NhbXBsZUh1Yj9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"name\": \"SampleHub\",\r\n \"properties\": {\r\n \"defaultCompute\": \"SampleDefaultCompute\",\r\n \"type\": \"Hub\",\r\n \"hubId\": \"00000000-0000-0000-0000-000000000001\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "RequestHeaders": { @@ -463,13 +403,13 @@ "233" ], "x-ms-client-request-id": [ - "960b789c-7176-4ebb-8feb-ec3f802515fa" + "b213c7df-107f-4930-a4f0-72249d3362c8" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"SampleHub\",\r\n \"properties\": {\r\n \"defaultCompute\": \"SampleDefaultCompute\",\r\n \"type\": \"Hub\",\r\n \"hubId\": \"19745dec-378a-423f-8367-d978512c9126\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"SampleHub\",\r\n \"properties\": {\r\n \"defaultCompute\": \"SampleDefaultCompute\",\r\n \"type\": \"Hub\",\r\n \"hubId\": \"3edaf4ca-6cee-485f-993e-2e53036b3477\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "167" @@ -484,16 +424,16 @@ "no-cache" ], "x-ms-request-id": [ - "8d607438-b4b4-4f76-8646-8d6675955580" + "d67a08fe-aed4-43a4-ab81-8ce05969d14a" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" + "1190" ], "x-ms-correlation-request-id": [ - "0646ffdb-fab9-4b81-abeb-63e2caffb082" + "73ceb031-cb43-4b61-b0cc-8e3fd40e0f76" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210925Z:0646ffdb-fab9-4b81-abeb-63e2caffb082" + "NORTHEUROPE:20150731T040347Z:73ceb031-cb43-4b61-b0cc-8e3fd40e0f76" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -502,10 +442,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:09:25 GMT" + "Fri, 31 Jul 2015 04:03:47 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9887/providers/Microsoft.DataFactory/datafactories/onesdk9961/hubs/SampleHub?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3331/providers/Microsoft.DataFactory/datafactories/onesdk669/hubs/SampleHub?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -517,19 +457,19 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9887/providers/Microsoft.DataFactory/datafactories/onesdk9961/hubs/SampleHub?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazk4ODcvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazk5NjEvaHVicy9TYW1wbGVIdWI/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3331/providers/Microsoft.DataFactory/datafactories/onesdk669/hubs/SampleHub?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazMzMzEvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY2OS9odWJzL1NhbXBsZUh1Yj9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "f2f8c088-4c51-4ecd-b71d-c0b2111bce8d" + "6d2470e6-279d-4123-8374-88e4630d0cb5" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"SampleHub\",\r\n \"properties\": {\r\n \"defaultCompute\": \"SampleDefaultCompute\",\r\n \"type\": \"Hub\",\r\n \"hubId\": \"19745dec-378a-423f-8367-d978512c9126\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"SampleHub\",\r\n \"properties\": {\r\n \"defaultCompute\": \"SampleDefaultCompute\",\r\n \"type\": \"Hub\",\r\n \"hubId\": \"3edaf4ca-6cee-485f-993e-2e53036b3477\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "167" @@ -544,16 +484,16 @@ "no-cache" ], "x-ms-request-id": [ - "e284310a-a6d6-46eb-b0e6-1050b9314ae0" + "ff1e0f11-4d5a-43b6-99a6-68ed38376ad6" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14991" + "14983" ], "x-ms-correlation-request-id": [ - "d88d1518-eeea-4024-814f-f4f62a844c98" + "4375c0e2-5dd1-4d10-b81e-c801950f6f29" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210925Z:d88d1518-eeea-4024-814f-f4f62a844c98" + "NORTHEUROPE:20150731T040348Z:4375c0e2-5dd1-4d10-b81e-c801950f6f29" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -562,7 +502,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:09:25 GMT" + "Fri, 31 Jul 2015 04:03:47 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -574,16 +514,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9887/providers/Microsoft.DataFactory/datafactories/onesdk9961/hubs/SampleHub?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazk4ODcvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazk5NjEvaHVicy9TYW1wbGVIdWI/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3331/providers/Microsoft.DataFactory/datafactories/onesdk669/hubs/SampleHub?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazMzMzEvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY2OS9odWJzL1NhbXBsZUh1Yj9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "9f0d1ab8-f080-4b4c-8564-f7270ca99687" + "a1e06be9-3029-4f11-ac99-e0211e092d68" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "{\r\n \"message\": \"Hub: SampleHub not found.\",\r\n \"code\": \"HubNotFound\"\r\n}", @@ -601,16 +541,16 @@ "no-cache" ], "x-ms-request-id": [ - "ed30a144-35c7-4cd4-bc42-234d37cafc12" + "ff8a22e9-135f-4764-bdf7-db3f6a55e923" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14989" + "14981" ], "x-ms-correlation-request-id": [ - "bb3f6228-9930-442b-b44e-34e9509ee630" + "3530b893-9670-49fa-ba3b-d559b5aa03ba" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210926Z:bb3f6228-9930-442b-b44e-34e9509ee630" + "NORTHEUROPE:20150731T040349Z:3530b893-9670-49fa-ba3b-d559b5aa03ba" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -619,7 +559,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:09:26 GMT" + "Fri, 31 Jul 2015 04:03:48 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -631,16 +571,16 @@ "StatusCode": 404 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9887/providers/Microsoft.DataFactory/datafactories/onesdk9961/hubs/SampleHub?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazk4ODcvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazk5NjEvaHVicy9TYW1wbGVIdWI/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3331/providers/Microsoft.DataFactory/datafactories/onesdk669/hubs/SampleHub?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazMzMzEvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY2OS9odWJzL1NhbXBsZUh1Yj9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "e55de3d7-df0f-4dcd-9749-323024e966f0" + "928a8eea-eab6-487a-8081-a03f0503fb1c" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -658,16 +598,16 @@ "15" ], "x-ms-request-id": [ - "d7c554c0-3de9-42f7-bf6b-4f1fd4dc320b" + "0fa89717-6a33-4463-abfe-75643db5dc61" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" + "1189" ], "x-ms-correlation-request-id": [ - "5fade796-cf70-482e-b191-9f3de937fc9c" + "94bd7fb9-3c7d-445b-9261-ce46d408756b" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210925Z:5fade796-cf70-482e-b191-9f3de937fc9c" + "NORTHEUROPE:20150731T040348Z:94bd7fb9-3c7d-445b-9261-ce46d408756b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -676,10 +616,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:09:25 GMT" + "Fri, 31 Jul 2015 04:03:48 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9887/providers/Microsoft.DataFactory/datafactories/onesdk9961/hubs/SampleHub/operationresults/8bfa240603f44a17a18c6442d1f4bf29?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3331/providers/Microsoft.DataFactory/datafactories/onesdk669/hubs/SampleHub/operationresults/c00d328e1e6b470e8c7daccdb5240b4e?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -691,16 +631,16 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9887/providers/Microsoft.DataFactory/datafactories/onesdk9961/hubs/SampleHub/operationresults/8bfa240603f44a17a18c6442d1f4bf29?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazk4ODcvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazk5NjEvaHVicy9TYW1wbGVIdWIvb3BlcmF0aW9ucmVzdWx0cy84YmZhMjQwNjAzZjQ0YTE3YTE4YzY0NDJkMWY0YmYyOT9hcGktdmVyc2lvbj0yMDE1LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3331/providers/Microsoft.DataFactory/datafactories/onesdk669/hubs/SampleHub/operationresults/c00d328e1e6b470e8c7daccdb5240b4e?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazMzMzEvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY2OS9odWJzL1NhbXBsZUh1Yi9vcGVyYXRpb25yZXN1bHRzL2MwMGQzMjhlMWU2YjQ3MGU4YzdkYWNjZGI1MjQwYjRlP2FwaS12ZXJzaW9uPTIwMTUtMDgtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -715,16 +655,16 @@ "no-cache" ], "x-ms-request-id": [ - "90c79e4c-49d3-41cc-91a9-4f80afc845fa" + "26955777-2a4b-44d4-adc4-17f608fa0a13" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14990" + "14982" ], "x-ms-correlation-request-id": [ - "0017df83-1d73-4001-9928-506ea0c5664e" + "e363a66c-ce31-4a40-a6a7-18fca4244532" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210926Z:0017df83-1d73-4001-9928-506ea0c5664e" + "NORTHEUROPE:20150731T040348Z:e363a66c-ce31-4a40-a6a7-18fca4244532" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -733,7 +673,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:09:25 GMT" + "Fri, 31 Jul 2015 04:03:48 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -745,16 +685,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9887/providers/Microsoft.DataFactory/datafactories/onesdk9961?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazk4ODcvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazk5NjE/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3331/providers/Microsoft.DataFactory/datafactories/onesdk669?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazMzMzEvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY2OT9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "0dfbab57-cb53-4c69-bcca-e77eecaaaa8a" + "34fd3dcb-dad8-4a59-b6e1-15133b940eec" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -769,16 +709,16 @@ "no-cache" ], "x-ms-request-id": [ - "d67391cc-b467-48b1-81db-b9ff874e6470" + "5756c4f2-6841-4e61-8811-342c3ba58083" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" + "1188" ], "x-ms-correlation-request-id": [ - "ca2f4b60-fd87-4247-af0a-be773d83b8ce" + "b9701381-177f-4e83-9b45-bae305f3cf06" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210930Z:ca2f4b60-fd87-4247-af0a-be773d83b8ce" + "NORTHEUROPE:20150731T040351Z:b9701381-177f-4e83-9b45-bae305f3cf06" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -787,7 +727,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:09:30 GMT" + "Fri, 31 Jul 2015 04:03:50 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -801,8 +741,8 @@ ], "Names": { "Test-HubPiping": [ - "onesdk9961", - "onesdk9887" + "onesdk669", + "onesdk3331" ] }, "Variables": { diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.HubTests/TestHubWithDataFactoryParameter.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.HubTests/TestHubWithDataFactoryParameter.json index c8841a55b7be..34b56185692f 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.HubTests/TestHubWithDataFactoryParameter.json +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.HubTests/TestHubWithDataFactoryParameter.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8128?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgxMjg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1242?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNDI/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -28,16 +28,16 @@ "gateway" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14988" + "14996" ], "x-ms-request-id": [ - "d808dd44-c073-4e0e-8105-96c4df6a6441" + "c7ad5d06-5426-4366-adab-99e6f96ea217" ], "x-ms-correlation-request-id": [ - "d808dd44-c073-4e0e-8105-96c4df6a6441" + "c7ad5d06-5426-4366-adab-99e6f96ea217" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210811Z:d808dd44-c073-4e0e-8105-96c4df6a6441" + "NORTHEUROPE:20150731T040227Z:c7ad5d06-5426-4366-adab-99e6f96ea217" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -46,14 +46,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:08:10 GMT" + "Fri, 31 Jul 2015 04:02:27 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8128?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgxMjg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1242?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNDI/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"Brazil South\"\r\n}", "RequestHeaders": { @@ -67,7 +67,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk8128\",\r\n \"name\": \"onesdk8128\",\r\n \"location\": \"brazilsouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk1242\",\r\n \"name\": \"onesdk1242\",\r\n \"location\": \"brazilsouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "178" @@ -82,16 +82,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1192" + "1197" ], "x-ms-request-id": [ - "fa7785e4-672f-4f5c-940d-1e4bb0945862" + "c28910a1-7ae5-448b-a193-cb1efae08e26" ], "x-ms-correlation-request-id": [ - "fa7785e4-672f-4f5c-940d-1e4bb0945862" + "c28910a1-7ae5-448b-a193-cb1efae08e26" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210811Z:fa7785e4-672f-4f5c-940d-1e4bb0945862" + "NORTHEUROPE:20150731T040228Z:c28910a1-7ae5-448b-a193-cb1efae08e26" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -100,14 +100,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:08:10 GMT" + "Fri, 31 Jul 2015 04:02:28 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk8128/resources?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlR3JvdXBzL29uZXNkazgxMjgvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk1242/resources?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlR3JvdXBzL29uZXNkazEyNDIvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -130,16 +130,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14987" + "14995" ], "x-ms-request-id": [ - "1aef781d-b00c-4a0d-815d-954fc769b7cb" + "bb57fb83-e8e3-4365-905e-e09d0300f500" ], "x-ms-correlation-request-id": [ - "1aef781d-b00c-4a0d-815d-954fc769b7cb" + "bb57fb83-e8e3-4365-905e-e09d0300f500" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210811Z:1aef781d-b00c-4a0d-815d-954fc769b7cb" + "NORTHEUROPE:20150731T040228Z:bb57fb83-e8e3-4365-905e-e09d0300f500" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -148,14 +148,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:08:11 GMT" + "Fri, 31 Jul 2015 04:02:28 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8128/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgxMjgvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1242/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNDIvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -181,16 +181,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "centralus:a7f42e8a-1f00-4746-8fd5-8a6892b394dd" + "westeurope:e6e4c8a2-6eef-4c14-bf81-c7238506c28f" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14991" + "14997" ], "x-ms-correlation-request-id": [ - "580c3e51-5a6b-48a8-9fba-d2874a46da33" + "125379cb-e362-48ca-bec6-fad0f8111b89" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210812Z:580c3e51-5a6b-48a8-9fba-d2874a46da33" + "NORTHEUROPE:20150731T040229Z:125379cb-e362-48ca-bec6-fad0f8111b89" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -199,16 +199,16 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:08:12 GMT" + "Fri, 31 Jul 2015 04:02:29 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8128/providers/Microsoft.DataFactory/datafactories/onesdk9382?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgxMjgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazkzODI/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1242/providers/Microsoft.DataFactory/datafactories/onesdk7556?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNDIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazc1NTY/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"name\": \"onesdk9382\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {}\r\n}", + "RequestBody": "{\r\n \"name\": \"onesdk7556\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {}\r\n}", "RequestHeaders": { "Content-Type": [ "application/json" @@ -217,13 +217,13 @@ "74" ], "x-ms-client-request-id": [ - "fde0c123-f0f7-4d89-a383-11a358bc15af" + "81988816-f533-4177-bd39-57fadbb29e49" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk9382\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8128/providers/Microsoft.DataFactory/datafactories/onesdk9382\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"59edaf66-c3eb-4de4-9582-26d6c0071a35\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk7556\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1242/providers/Microsoft.DataFactory/datafactories/onesdk7556\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"8cb74cdb-cb8e-411c-b2cd-7a1ee78d3e0a\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "449" @@ -238,16 +238,16 @@ "no-cache" ], "x-ms-request-id": [ - "5a47ad24-616a-4dc6-8a79-16a00483f81d" + "533bc377-4b13-4b55-abb4-8bb8eb2366bb" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1180" + "1196" ], "x-ms-correlation-request-id": [ - "8dc26262-8081-41d0-8e72-60df8c5995b9" + "62475a7f-1477-4258-a0f6-633a5be5705c" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210813Z:8dc26262-8081-41d0-8e72-60df8c5995b9" + "NORTHEUROPE:20150731T040233Z:62475a7f-1477-4258-a0f6-633a5be5705c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -256,10 +256,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:08:13 GMT" + "Fri, 31 Jul 2015 04:02:33 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8128/providers/Microsoft.DataFactory/datafactories/onesdk9382?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1242/providers/Microsoft.DataFactory/datafactories/onesdk7556?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -271,22 +271,82 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8128/providers/Microsoft.DataFactory/datafactories/onesdk9382?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgxMjgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazkzODI/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1242/providers/Microsoft.DataFactory/datafactories/onesdk7556?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNDIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazc1NTY/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9e3ace45-a223-4429-97ac-8fbbaa3c3548" + ], + "x-ms-version": [ + "2015-08-01" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk7556\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1242/providers/Microsoft.DataFactory/datafactories/onesdk7556\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"8cb74cdb-cb8e-411c-b2cd-7a1ee78d3e0a\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "449" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "91be7503-ecae-4062-aba2-81e7be7ba3e1" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14994" + ], + "x-ms-correlation-request-id": [ + "237ecfd1-8f2a-43cb-ad70-e0ff1e3e1477" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20150731T040233Z:237ecfd1-8f2a-43cb-ad70-e0ff1e3e1477" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 31 Jul 2015 04:02:33 GMT" + ], + "Server": [ + "Microsoft-IIS/8.5" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1242/providers/Microsoft.DataFactory/datafactories/onesdk7556?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNDIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazc1NTY/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ceac2f51-d68e-4b5b-b177-4e4f69c40595" + "1d804206-41fc-456e-a825-d756c2bf3acd" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk9382\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8128/providers/Microsoft.DataFactory/datafactories/onesdk9382\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"59edaf66-c3eb-4de4-9582-26d6c0071a35\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk7556\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1242/providers/Microsoft.DataFactory/datafactories/onesdk7556\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"8cb74cdb-cb8e-411c-b2cd-7a1ee78d3e0a\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "449" @@ -301,16 +361,16 @@ "no-cache" ], "x-ms-request-id": [ - "fefb5705-0a7f-48ea-9752-28ecc33ee509" + "1c456149-d982-44bd-a91c-dc4fa7e49422" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14952" + "14993" ], "x-ms-correlation-request-id": [ - "eddfdbb6-581b-4325-afb4-83faab00f839" + "965087ce-a646-4db2-bfd1-209bdc1ae8f1" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210813Z:eddfdbb6-581b-4325-afb4-83faab00f839" + "NORTHEUROPE:20150731T040238Z:965087ce-a646-4db2-bfd1-209bdc1ae8f1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -319,7 +379,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:08:13 GMT" + "Fri, 31 Jul 2015 04:02:38 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -331,22 +391,22 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8128/providers/Microsoft.DataFactory/datafactories/onesdk9382?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgxMjgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazkzODI/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1242/providers/Microsoft.DataFactory/datafactories/onesdk7556?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNDIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazc1NTY/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "245abca6-2e99-4b3c-a988-06ed8f9e4a93" + "4c3ebbae-3e06-4663-8f67-f197d3b08592" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk9382\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8128/providers/Microsoft.DataFactory/datafactories/onesdk9382\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"59edaf66-c3eb-4de4-9582-26d6c0071a35\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk7556\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1242/providers/Microsoft.DataFactory/datafactories/onesdk7556\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"8cb74cdb-cb8e-411c-b2cd-7a1ee78d3e0a\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "449" @@ -361,16 +421,16 @@ "no-cache" ], "x-ms-request-id": [ - "fd18e79c-0f34-4873-b791-f285940e2d58" + "6741e8a2-30fd-4087-a539-440e80302b5c" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14951" + "14992" ], "x-ms-correlation-request-id": [ - "97916cc2-5e6e-47ec-b909-9b42e17632f8" + "2c11f24b-bdf1-4f1e-90e2-f1a366a16eeb" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210819Z:97916cc2-5e6e-47ec-b909-9b42e17632f8" + "NORTHEUROPE:20150731T040244Z:2c11f24b-bdf1-4f1e-90e2-f1a366a16eeb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,7 +439,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:08:19 GMT" + "Fri, 31 Jul 2015 04:02:44 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -391,22 +451,82 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8128/providers/Microsoft.DataFactory/datafactories/onesdk9382?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgxMjgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazkzODI/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1242/providers/Microsoft.DataFactory/datafactories/onesdk7556?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNDIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazc1NTY/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "7ac12586-b07b-4926-8d9d-9e68734089b8" + "560cb4b9-6d22-4733-b3b0-55d9f0aa99a0" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk9382\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8128/providers/Microsoft.DataFactory/datafactories/onesdk9382\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"59edaf66-c3eb-4de4-9582-26d6c0071a35\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk7556\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1242/providers/Microsoft.DataFactory/datafactories/onesdk7556\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"8cb74cdb-cb8e-411c-b2cd-7a1ee78d3e0a\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "449" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "6b043d33-aa09-4eff-a9cd-afb086b1b6b8" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14991" + ], + "x-ms-correlation-request-id": [ + "9bbf8a4c-37f2-42d4-b546-1ebb3065c6d5" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20150731T040249Z:9bbf8a4c-37f2-42d4-b546-1ebb3065c6d5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 31 Jul 2015 04:02:48 GMT" + ], + "Server": [ + "Microsoft-IIS/8.5" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1242/providers/Microsoft.DataFactory/datafactories/onesdk7556?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNDIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazc1NTY/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "788ef5a2-0f59-45a1-a57a-d4ba5c7f9494" + ], + "x-ms-version": [ + "2015-08-01" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk7556\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1242/providers/Microsoft.DataFactory/datafactories/onesdk7556\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"8cb74cdb-cb8e-411c-b2cd-7a1ee78d3e0a\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "443" @@ -421,16 +541,16 @@ "no-cache" ], "x-ms-request-id": [ - "ca38de65-21eb-4b1a-a681-eba78c306b54" + "e19bd269-06b5-4319-ace5-9e4124e3a057" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14950" + "14990" ], "x-ms-correlation-request-id": [ - "981350bf-2baa-48cb-a47c-2559e5ddd0cf" + "ad03e76c-7013-4aa9-a9bb-7d609139b045" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210826Z:981350bf-2baa-48cb-a47c-2559e5ddd0cf" + "NORTHEUROPE:20150731T040254Z:ad03e76c-7013-4aa9-a9bb-7d609139b045" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -439,7 +559,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:08:26 GMT" + "Fri, 31 Jul 2015 04:02:54 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -451,8 +571,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8128/providers/Microsoft.DataFactory/datafactories/onesdk9382/hubs/SampleHub?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgxMjgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazkzODIvaHVicy9TYW1wbGVIdWI/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1242/providers/Microsoft.DataFactory/datafactories/onesdk7556/hubs/SampleHub?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNDIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazc1NTYvaHVicy9TYW1wbGVIdWI/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "PUT", "RequestBody": "{\r\n \"name\": \"SampleHub\",\r\n \"properties\": {\r\n \"defaultCompute\": \"SampleDefaultCompute\",\r\n \"type\": \"Hub\",\r\n \"hubId\": \"00000000-0000-0000-0000-000000000001\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "RequestHeaders": { @@ -463,13 +583,13 @@ "233" ], "x-ms-client-request-id": [ - "f3522a4b-b11b-491f-863d-ba7067c449c8" + "5b2d0d60-133f-4dca-89c3-403ebb2a6eac" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"SampleHub\",\r\n \"properties\": {\r\n \"defaultCompute\": \"SampleDefaultCompute\",\r\n \"type\": \"Hub\",\r\n \"hubId\": \"e4f5c3e7-a85c-46a1-9535-feaeabdb8058\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"SampleHub\",\r\n \"properties\": {\r\n \"defaultCompute\": \"SampleDefaultCompute\",\r\n \"type\": \"Hub\",\r\n \"hubId\": \"03e8e9af-1a1a-403c-8cd8-18a7d6376702\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "167" @@ -484,16 +604,16 @@ "no-cache" ], "x-ms-request-id": [ - "1c541a73-4c14-40ee-8e48-31fd3b2916c2" + "89a21b85-b7e7-4971-bc05-7ad9d2f28f06" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1179" + "1195" ], "x-ms-correlation-request-id": [ - "eca4c96e-a3c4-4794-a4ee-ab4e8aa4e764" + "58de09e0-c9de-4833-8418-8d155d1873c3" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210829Z:eca4c96e-a3c4-4794-a4ee-ab4e8aa4e764" + "NORTHEUROPE:20150731T040256Z:58de09e0-c9de-4833-8418-8d155d1873c3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -502,10 +622,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:08:29 GMT" + "Fri, 31 Jul 2015 04:02:55 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8128/providers/Microsoft.DataFactory/datafactories/onesdk9382/hubs/SampleHub?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1242/providers/Microsoft.DataFactory/datafactories/onesdk7556/hubs/SampleHub?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -517,19 +637,19 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8128/providers/Microsoft.DataFactory/datafactories/onesdk9382/hubs/SampleHub?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgxMjgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazkzODIvaHVicy9TYW1wbGVIdWI/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1242/providers/Microsoft.DataFactory/datafactories/onesdk7556/hubs/SampleHub?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNDIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazc1NTYvaHVicy9TYW1wbGVIdWI/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "3d701c1c-a15a-4c07-a15a-e90681d75de5" + "336b3aa0-e765-450d-9efd-2d28773410c5" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"SampleHub\",\r\n \"properties\": {\r\n \"defaultCompute\": \"SampleDefaultCompute\",\r\n \"type\": \"Hub\",\r\n \"hubId\": \"e4f5c3e7-a85c-46a1-9535-feaeabdb8058\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"SampleHub\",\r\n \"properties\": {\r\n \"defaultCompute\": \"SampleDefaultCompute\",\r\n \"type\": \"Hub\",\r\n \"hubId\": \"03e8e9af-1a1a-403c-8cd8-18a7d6376702\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "167" @@ -544,16 +664,16 @@ "no-cache" ], "x-ms-request-id": [ - "6d648923-c3d2-46ec-9558-19f2e1ab2e33" + "0d965e11-97bf-4ce5-9b9b-7310e473df08" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14949" + "14989" ], "x-ms-correlation-request-id": [ - "0a8609a3-85e5-42dd-a0ae-64cb1f6c6192" + "bff22f34-2679-47a7-b516-d0f9f604cc4c" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210829Z:0a8609a3-85e5-42dd-a0ae-64cb1f6c6192" + "NORTHEUROPE:20150731T040256Z:bff22f34-2679-47a7-b516-d0f9f604cc4c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -562,7 +682,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:08:29 GMT" + "Fri, 31 Jul 2015 04:02:55 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -574,16 +694,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8128/providers/Microsoft.DataFactory/datafactories/onesdk9382/hubs/SampleHub?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgxMjgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazkzODIvaHVicy9TYW1wbGVIdWI/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1242/providers/Microsoft.DataFactory/datafactories/onesdk7556/hubs/SampleHub?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNDIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazc1NTYvaHVicy9TYW1wbGVIdWI/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "5592fd09-869a-4376-b9eb-718488b78a3a" + "982f7fdd-30da-401f-b365-beb870265209" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -601,16 +721,16 @@ "15" ], "x-ms-request-id": [ - "42a0a3c0-b8ff-45b3-a680-ef73135a0576" + "1e41a694-ff53-42a4-b52d-5ed671329d41" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1178" + "1194" ], "x-ms-correlation-request-id": [ - "3a482ced-16dd-4c93-a245-e3544c67f205" + "068ab461-3c3c-4cda-82d5-f7950f49dfc9" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210829Z:3a482ced-16dd-4c93-a245-e3544c67f205" + "NORTHEUROPE:20150731T040257Z:068ab461-3c3c-4cda-82d5-f7950f49dfc9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -619,10 +739,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:08:29 GMT" + "Fri, 31 Jul 2015 04:02:57 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8128/providers/Microsoft.DataFactory/datafactories/onesdk9382/hubs/SampleHub/operationresults/c8b7a7ff96764142afdbc3ca22d4d579?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1242/providers/Microsoft.DataFactory/datafactories/onesdk7556/hubs/SampleHub/operationresults/0930efb8a9f149da969af478535c5351?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -634,16 +754,16 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8128/providers/Microsoft.DataFactory/datafactories/onesdk9382/hubs/SampleHub/operationresults/c8b7a7ff96764142afdbc3ca22d4d579?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgxMjgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazkzODIvaHVicy9TYW1wbGVIdWIvb3BlcmF0aW9ucmVzdWx0cy9jOGI3YTdmZjk2NzY0MTQyYWZkYmMzY2EyMmQ0ZDU3OT9hcGktdmVyc2lvbj0yMDE1LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1242/providers/Microsoft.DataFactory/datafactories/onesdk7556/hubs/SampleHub/operationresults/0930efb8a9f149da969af478535c5351?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNDIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazc1NTYvaHVicy9TYW1wbGVIdWIvb3BlcmF0aW9ucmVzdWx0cy8wOTMwZWZiOGE5ZjE0OWRhOTY5YWY0Nzg1MzVjNTM1MT9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -658,16 +778,16 @@ "no-cache" ], "x-ms-request-id": [ - "f568fefe-a1df-400a-a8d5-c698f57df33e" + "46ec384e-13db-40d7-9aac-14acff1176bb" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14948" + "14988" ], "x-ms-correlation-request-id": [ - "219e2aa5-2d6a-47dd-8a7b-ba80b5cdb9c9" + "e2c1016f-a921-4b0a-a34b-f6db05cee117" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210830Z:219e2aa5-2d6a-47dd-8a7b-ba80b5cdb9c9" + "NORTHEUROPE:20150731T040257Z:e2c1016f-a921-4b0a-a34b-f6db05cee117" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -676,7 +796,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:08:30 GMT" + "Fri, 31 Jul 2015 04:02:57 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -688,16 +808,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8128/providers/Microsoft.DataFactory/datafactories/onesdk9382?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazgxMjgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazkzODI/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1242/providers/Microsoft.DataFactory/datafactories/onesdk7556?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNDIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazc1NTY/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "5810704e-5642-492b-8339-d2c917f4924b" + "a94f9b39-d61f-40d4-944b-f486bef6b25f" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -712,16 +832,16 @@ "no-cache" ], "x-ms-request-id": [ - "7a2f9ce2-6ed3-42f3-a8d5-859009264c1f" + "8e8a5aff-9817-470e-a5dc-66fa56a23ff3" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1177" + "1193" ], "x-ms-correlation-request-id": [ - "5068aa5b-0bb4-4be1-a181-08735d4a9964" + "efcb942c-20c1-4f2e-9067-ff5685bd14bb" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210836Z:5068aa5b-0bb4-4be1-a181-08735d4a9964" + "NORTHEUROPE:20150731T040300Z:efcb942c-20c1-4f2e-9067-ff5685bd14bb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -730,7 +850,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:08:35 GMT" + "Fri, 31 Jul 2015 04:02:59 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -744,8 +864,8 @@ ], "Names": { "Test-HubWithDataFactoryParameter": [ - "onesdk9382", - "onesdk8128" + "onesdk7556", + "onesdk1242" ] }, "Variables": { diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.LinkedServiceTests/TestLinkedService.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.LinkedServiceTests/TestLinkedService.json index 071035bfc945..b11d1f4f3292 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.LinkedServiceTests/TestLinkedService.json +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.LinkedServiceTests/TestLinkedService.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1272?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNzI/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6199?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazYxOTk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -28,16 +28,16 @@ "gateway" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14975" + "14966" ], "x-ms-request-id": [ - "b44f4ea7-c2f3-4f09-a2f2-e97591c486ab" + "6741d4d6-ef2c-4c40-9c28-37815537eaea" ], "x-ms-correlation-request-id": [ - "b44f4ea7-c2f3-4f09-a2f2-e97591c486ab" + "6741d4d6-ef2c-4c40-9c28-37815537eaea" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211514Z:b44f4ea7-c2f3-4f09-a2f2-e97591c486ab" + "NORTHEUROPE:20150731T041313Z:6741d4d6-ef2c-4c40-9c28-37815537eaea" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -46,14 +46,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:15:13 GMT" + "Fri, 31 Jul 2015 04:13:13 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1272?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNzI/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6199?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazYxOTk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"Brazil South\"\r\n}", "RequestHeaders": { @@ -67,7 +67,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk1272\",\r\n \"name\": \"onesdk1272\",\r\n \"location\": \"brazilsouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk6199\",\r\n \"name\": \"onesdk6199\",\r\n \"location\": \"brazilsouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "178" @@ -82,16 +82,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1184" + "1180" ], "x-ms-request-id": [ - "08b64bff-fda5-4521-89a6-e7384c621579" + "ab6bd284-94f1-4664-92e0-83659b00bdb7" ], "x-ms-correlation-request-id": [ - "08b64bff-fda5-4521-89a6-e7384c621579" + "ab6bd284-94f1-4664-92e0-83659b00bdb7" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211514Z:08b64bff-fda5-4521-89a6-e7384c621579" + "NORTHEUROPE:20150731T041314Z:ab6bd284-94f1-4664-92e0-83659b00bdb7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -100,14 +100,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:15:14 GMT" + "Fri, 31 Jul 2015 04:13:14 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk1272/resources?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlR3JvdXBzL29uZXNkazEyNzIvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk6199/resources?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlR3JvdXBzL29uZXNkazYxOTkvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -130,16 +130,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14974" + "14965" ], "x-ms-request-id": [ - "777ab75e-939b-45b0-a99d-f2c781d75ecb" + "c56ba43d-b0ea-4846-a68c-24c4cae2b080" ], "x-ms-correlation-request-id": [ - "777ab75e-939b-45b0-a99d-f2c781d75ecb" + "c56ba43d-b0ea-4846-a68c-24c4cae2b080" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211514Z:777ab75e-939b-45b0-a99d-f2c781d75ecb" + "NORTHEUROPE:20150731T041314Z:c56ba43d-b0ea-4846-a68c-24c4cae2b080" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -148,14 +148,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:15:14 GMT" + "Fri, 31 Jul 2015 04:13:14 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1272/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNzIvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6199/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazYxOTkvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -181,16 +181,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "centralus:4f7afd38-8d50-43ea-8770-308b48bf2656" + "westeurope:1229e32c-941f-4557-8050-e5676a738d93" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14976" + "14922" ], "x-ms-correlation-request-id": [ - "e2426af0-2aef-435a-81e6-b73a0d60998c" + "7430d030-88ef-4777-a10c-4a8a9ce8e9c9" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211515Z:e2426af0-2aef-435a-81e6-b73a0d60998c" + "NORTHEUROPE:20150731T041315Z:7430d030-88ef-4777-a10c-4a8a9ce8e9c9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -199,16 +199,16 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:15:15 GMT" + "Fri, 31 Jul 2015 04:13:15 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1272/providers/Microsoft.DataFactory/datafactories/onesdk4097?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNzIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazQwOTc/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6199/providers/Microsoft.DataFactory/datafactories/onesdk8445?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazYxOTkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazg0NDU/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"name\": \"onesdk4097\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {}\r\n}", + "RequestBody": "{\r\n \"name\": \"onesdk8445\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {}\r\n}", "RequestHeaders": { "Content-Type": [ "application/json" @@ -217,13 +217,13 @@ "74" ], "x-ms-client-request-id": [ - "dcf49786-d980-454a-a240-91d99be06c19" + "937e9909-b67f-4e08-b066-67a3d6bd1534" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk4097\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1272/providers/Microsoft.DataFactory/datafactories/onesdk4097\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"b25c8f9d-95ff-4195-9c26-35173e343b52\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk8445\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6199/providers/Microsoft.DataFactory/datafactories/onesdk8445\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"2edda6e9-aad5-4c1d-9719-f183e84ca51a\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "449" @@ -238,16 +238,16 @@ "no-cache" ], "x-ms-request-id": [ - "2e8bd752-2907-4135-ae42-35b97e0ed13b" + "c80657ab-8e7c-438d-adad-8f2385d4a56b" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1174" + "1179" ], "x-ms-correlation-request-id": [ - "505235b7-5534-42ea-a305-d428c6518bfb" + "48a668cb-24d4-47f1-b83b-f72e6a987f39" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211519Z:505235b7-5534-42ea-a305-d428c6518bfb" + "NORTHEUROPE:20150731T041318Z:48a668cb-24d4-47f1-b83b-f72e6a987f39" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -256,10 +256,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:15:18 GMT" + "Fri, 31 Jul 2015 04:13:17 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1272/providers/Microsoft.DataFactory/datafactories/onesdk4097?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6199/providers/Microsoft.DataFactory/datafactories/onesdk8445?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -271,22 +271,22 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1272/providers/Microsoft.DataFactory/datafactories/onesdk4097?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNzIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazQwOTc/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6199/providers/Microsoft.DataFactory/datafactories/onesdk8445?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazYxOTkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazg0NDU/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "b8cb10e8-d1dd-424f-86d5-ce4382465a2a" + "d1209ec6-491a-4717-826b-284e87875839" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk4097\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1272/providers/Microsoft.DataFactory/datafactories/onesdk4097\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"b25c8f9d-95ff-4195-9c26-35173e343b52\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk8445\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6199/providers/Microsoft.DataFactory/datafactories/onesdk8445\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"2edda6e9-aad5-4c1d-9719-f183e84ca51a\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "449" @@ -301,16 +301,16 @@ "no-cache" ], "x-ms-request-id": [ - "51d6430a-50e8-4167-ba17-154b1f8b85a6" + "b3ddd3fa-a5b6-4e33-be56-27e4adfc9056" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14943" + "14964" ], "x-ms-correlation-request-id": [ - "8f5fe8a5-330c-4e84-927a-6c525bc43cb0" + "de7f9f9f-9071-4fd3-b352-bb060863217a" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211519Z:8f5fe8a5-330c-4e84-927a-6c525bc43cb0" + "NORTHEUROPE:20150731T041318Z:de7f9f9f-9071-4fd3-b352-bb060863217a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -319,7 +319,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:15:18 GMT" + "Fri, 31 Jul 2015 04:13:17 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -331,82 +331,22 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1272/providers/Microsoft.DataFactory/datafactories/onesdk4097?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNzIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazQwOTc/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6199/providers/Microsoft.DataFactory/datafactories/onesdk8445?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazYxOTkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazg0NDU/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "747bbc55-6b56-4d53-92b9-570ea63ca450" + "81c10bc1-9e77-470e-810b-8bb31f47965a" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk4097\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1272/providers/Microsoft.DataFactory/datafactories/onesdk4097\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"b25c8f9d-95ff-4195-9c26-35173e343b52\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "449" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "33dfe8ac-1739-4947-91cc-4dbbf2090be0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14942" - ], - "x-ms-correlation-request-id": [ - "070fc980-a257-4917-8541-2f46177c95fe" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211525Z:070fc980-a257-4917-8541-2f46177c95fe" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Sat, 11 Jul 2015 21:15:24 GMT" - ], - "Server": [ - "Microsoft-IIS/8.5" - ], - "X-Powered-By": [ - "ASP.NET" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1272/providers/Microsoft.DataFactory/datafactories/onesdk4097?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNzIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazQwOTc/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "bd427092-d270-4bfc-a66b-23dc9b4c8ebf" - ], - "x-ms-version": [ - "2015-07-01-preview" - ], - "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"name\": \"onesdk4097\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1272/providers/Microsoft.DataFactory/datafactories/onesdk4097\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"b25c8f9d-95ff-4195-9c26-35173e343b52\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk8445\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6199/providers/Microsoft.DataFactory/datafactories/onesdk8445\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"2edda6e9-aad5-4c1d-9719-f183e84ca51a\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "443" @@ -421,16 +361,16 @@ "no-cache" ], "x-ms-request-id": [ - "6fd20798-5fe1-4958-b046-8b74c73cebf1" + "1b7608d8-5d8d-4b85-a707-3ca0c1332fd7" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14941" + "14963" ], "x-ms-correlation-request-id": [ - "9ce52d25-06ca-45a7-8a6b-8d4c037f2cbb" + "217af183-d4b5-45f4-ac94-7bdb3f694ff0" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211530Z:9ce52d25-06ca-45a7-8a6b-8d4c037f2cbb" + "NORTHEUROPE:20150731T041323Z:217af183-d4b5-45f4-ac94-7bdb3f694ff0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -439,7 +379,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:15:30 GMT" + "Fri, 31 Jul 2015 04:13:23 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -451,8 +391,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1272/providers/Microsoft.DataFactory/datafactories/onesdk4097/linkedservices/foo?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNzIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazQwOTcvbGlua2Vkc2VydmljZXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6199/providers/Microsoft.DataFactory/datafactories/onesdk8445/linkedservices/foo?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazYxOTkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazg0NDUvbGlua2Vkc2VydmljZXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDgtMDE=", "RequestMethod": "PUT", "RequestBody": "{\r\n \"name\": \"foo2\",\r\n \"properties\": {\r\n \"type\": \"AzureStorage\",\r\n \"typeProperties\": {\r\n \"connectionString\": \"myfakeconnectionstring\"\r\n }\r\n }\r\n}", "RequestHeaders": { @@ -463,13 +403,13 @@ "175" ], "x-ms-client-request-id": [ - "9baaad67-7464-4b99-aacf-95a730d89091" + "ca9f6450-0f79-4a8f-aaee-a2dcf9e6b87a" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1272/providers/Microsoft.DataFactory/datafactories/onesdk4097/linkedservices/foo\",\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"hubName\": \"onesdk4097_hub\",\r\n \"type\": \"AzureStorage\",\r\n \"typeProperties\": {\r\n \"connectionString\": \"myfakeconnectionstring\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6199/providers/Microsoft.DataFactory/datafactories/onesdk8445/linkedservices/foo\",\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"hubName\": \"onesdk8445_hub\",\r\n \"type\": \"AzureStorage\",\r\n \"typeProperties\": {\r\n \"connectionString\": \"myfakeconnectionstring\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "334" @@ -484,16 +424,16 @@ "no-cache" ], "x-ms-request-id": [ - "874e0e43-d450-42f5-be37-7dba6a4f5059" + "1801eb95-81a0-4b1f-b687-fda2abf318dd" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1173" + "1178" ], "x-ms-correlation-request-id": [ - "48821f00-f170-4b09-a1ca-4839567db425" + "f73b18c3-8c4c-4d5d-92c1-c767081dda68" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211531Z:48821f00-f170-4b09-a1ca-4839567db425" + "NORTHEUROPE:20150731T041324Z:f73b18c3-8c4c-4d5d-92c1-c767081dda68" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -502,10 +442,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:15:31 GMT" + "Fri, 31 Jul 2015 04:13:23 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1272/providers/Microsoft.DataFactory/datafactories/onesdk4097/linkedservices/foo?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6199/providers/Microsoft.DataFactory/datafactories/onesdk8445/linkedservices/foo?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -517,22 +457,22 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1272/providers/Microsoft.DataFactory/datafactories/onesdk4097/linkedservices/foo?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNzIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazQwOTcvbGlua2Vkc2VydmljZXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6199/providers/Microsoft.DataFactory/datafactories/onesdk8445/linkedservices/foo?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazYxOTkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazg0NDUvbGlua2Vkc2VydmljZXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDgtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "0dc2e463-3dc1-4a2b-bb9d-647b85cb3dc8" + "dfa61c1f-d3fc-4b22-b9fb-5c4f76a0c03b" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1272/providers/Microsoft.DataFactory/datafactories/onesdk4097/linkedservices/foo\",\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"hubName\": \"onesdk4097_hub\",\r\n \"type\": \"AzureStorage\",\r\n \"typeProperties\": {\r\n \"connectionString\": \"myfakeconnectionstring\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6199/providers/Microsoft.DataFactory/datafactories/onesdk8445/linkedservices/foo\",\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"hubName\": \"onesdk8445_hub\",\r\n \"type\": \"AzureStorage\",\r\n \"typeProperties\": {\r\n \"connectionString\": \"myfakeconnectionstring\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "334" @@ -547,16 +487,16 @@ "no-cache" ], "x-ms-request-id": [ - "20a5d174-8c10-425b-a0c1-8ae67c9ae6bb" + "9ba5afa1-1bfd-4807-8319-6cece9794bc8" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14940" + "14962" ], "x-ms-correlation-request-id": [ - "f065e17e-516f-4dae-b652-9c145420668b" + "b7a87d4c-1096-4725-90ed-ca670095a3a2" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211532Z:f065e17e-516f-4dae-b652-9c145420668b" + "NORTHEUROPE:20150731T041324Z:b7a87d4c-1096-4725-90ed-ca670095a3a2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -565,7 +505,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:15:31 GMT" + "Fri, 31 Jul 2015 04:13:24 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -577,19 +517,19 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1272/providers/Microsoft.DataFactory/datafactories/onesdk4097/linkedservices/foo?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNzIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazQwOTcvbGlua2Vkc2VydmljZXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6199/providers/Microsoft.DataFactory/datafactories/onesdk8445/linkedservices/foo?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazYxOTkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazg0NDUvbGlua2Vkc2VydmljZXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDgtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "2472ba84-3e13-4342-ae2a-a8b5ef39aac8" + "2c40fa96-510b-493d-b8f2-2afe12ad15a1" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1272/providers/Microsoft.DataFactory/datafactories/onesdk4097/linkedservices/foo\",\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"hubName\": \"onesdk4097_hub\",\r\n \"type\": \"AzureStorage\",\r\n \"typeProperties\": {\r\n \"connectionString\": \"myfakeconnectionstring\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6199/providers/Microsoft.DataFactory/datafactories/onesdk8445/linkedservices/foo\",\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"hubName\": \"onesdk8445_hub\",\r\n \"type\": \"AzureStorage\",\r\n \"typeProperties\": {\r\n \"connectionString\": \"myfakeconnectionstring\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "334" @@ -604,16 +544,16 @@ "no-cache" ], "x-ms-request-id": [ - "b9a27d31-e191-4395-8b8e-fd2f2c18aab5" + "63d77367-d887-4b43-a19b-7868908f3108" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14939" + "14961" ], "x-ms-correlation-request-id": [ - "6b445f70-040f-4405-bcb6-85a5dc6ddbce" + "bc65610a-fcca-4a3c-b040-c26d67e142b6" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211532Z:6b445f70-040f-4405-bcb6-85a5dc6ddbce" + "NORTHEUROPE:20150731T041324Z:bc65610a-fcca-4a3c-b040-c26d67e142b6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -622,7 +562,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:15:31 GMT" + "Fri, 31 Jul 2015 04:13:24 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -634,16 +574,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1272/providers/Microsoft.DataFactory/datafactories/onesdk4097/linkedservices/foo?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNzIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazQwOTcvbGlua2Vkc2VydmljZXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6199/providers/Microsoft.DataFactory/datafactories/onesdk8445/linkedservices/foo?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazYxOTkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazg0NDUvbGlua2Vkc2VydmljZXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDgtMDE=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "59625a41-480a-425e-8aff-93baf4e49de7" + "4157ab9b-8f5e-499e-be0e-aabd78e1f5a8" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -661,16 +601,16 @@ "15" ], "x-ms-request-id": [ - "dc70719e-dbcf-4861-ace0-40041d63cd19" + "15835aa0-ea77-4ce7-842d-9663a116c930" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1172" + "1177" ], "x-ms-correlation-request-id": [ - "99e6231b-256c-47f2-ab98-3119e3e172fe" + "547ead11-16ff-4cfd-b88b-73d96fc4cb62" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211533Z:99e6231b-256c-47f2-ab98-3119e3e172fe" + "NORTHEUROPE:20150731T041325Z:547ead11-16ff-4cfd-b88b-73d96fc4cb62" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -679,10 +619,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:15:33 GMT" + "Fri, 31 Jul 2015 04:13:24 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1272/providers/Microsoft.DataFactory/datafactories/onesdk4097/linkedservices/foo/operationresults/e03835ab56e948299edff3f5ce614051?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6199/providers/Microsoft.DataFactory/datafactories/onesdk8445/linkedservices/foo/operationresults/7954c8dee111439b9c16b795fb033c4e?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -694,16 +634,16 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1272/providers/Microsoft.DataFactory/datafactories/onesdk4097/linkedservices/foo/operationresults/e03835ab56e948299edff3f5ce614051?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNzIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazQwOTcvbGlua2Vkc2VydmljZXMvZm9vL29wZXJhdGlvbnJlc3VsdHMvZTAzODM1YWI1NmU5NDgyOTllZGZmM2Y1Y2U2MTQwNTE/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6199/providers/Microsoft.DataFactory/datafactories/onesdk8445/linkedservices/foo/operationresults/7954c8dee111439b9c16b795fb033c4e?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazYxOTkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazg0NDUvbGlua2Vkc2VydmljZXMvZm9vL29wZXJhdGlvbnJlc3VsdHMvNzk1NGM4ZGVlMTExNDM5YjljMTZiNzk1ZmIwMzNjNGU/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -718,16 +658,16 @@ "no-cache" ], "x-ms-request-id": [ - "cf33a9f2-718b-481c-b58c-fa1ce09c4353" + "9102b1ac-cb29-4ec4-81e5-786544d299a2" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14938" + "14960" ], "x-ms-correlation-request-id": [ - "6f7cff55-6493-4508-83c2-3d796f3acc06" + "c2d46f3d-1f01-4a40-9d7a-57b105e4faa8" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211533Z:6f7cff55-6493-4508-83c2-3d796f3acc06" + "NORTHEUROPE:20150731T041325Z:c2d46f3d-1f01-4a40-9d7a-57b105e4faa8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -736,7 +676,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:15:33 GMT" + "Fri, 31 Jul 2015 04:13:25 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -748,16 +688,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1272/providers/Microsoft.DataFactory/datafactories/onesdk4097?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNzIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazQwOTc/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6199/providers/Microsoft.DataFactory/datafactories/onesdk8445?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazYxOTkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazg0NDU/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "a591d6bf-4a8c-4010-a0d6-c422d4b456e3" + "d48c71d2-0ef2-4ef9-8601-57647462df08" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -772,16 +712,16 @@ "no-cache" ], "x-ms-request-id": [ - "6881bf23-9e79-4125-83a6-e357858ab4ee" + "6577769e-5d01-42c8-8fce-4b1041fd798f" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1171" + "1176" ], "x-ms-correlation-request-id": [ - "67e72b0e-9a49-4ebb-942e-b831ece63408" + "244360c4-e537-49fd-ad5f-de5881380afe" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211534Z:67e72b0e-9a49-4ebb-942e-b831ece63408" + "NORTHEUROPE:20150731T041329Z:244360c4-e537-49fd-ad5f-de5881380afe" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -790,7 +730,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:15:34 GMT" + "Fri, 31 Jul 2015 04:13:29 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -804,8 +744,8 @@ ], "Names": { "Test-LinkedService": [ - "onesdk4097", - "onesdk1272" + "onesdk8445", + "onesdk6199" ] }, "Variables": { diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.LinkedServiceTests/TestLinkedServicePiping.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.LinkedServiceTests/TestLinkedServicePiping.json index b606e7468e73..10a3dd4e5653 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.LinkedServiceTests/TestLinkedServicePiping.json +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.LinkedServiceTests/TestLinkedServicePiping.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7979?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc5Nzk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8698?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazg2OTg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -28,16 +28,16 @@ "gateway" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14981" + "14920" ], "x-ms-request-id": [ - "0eecf9af-c93a-4d59-b1c9-ec26f9808917" + "e2c1f5a9-d541-41f4-88cb-b0035fa8f7b2" ], "x-ms-correlation-request-id": [ - "0eecf9af-c93a-4d59-b1c9-ec26f9808917" + "e2c1f5a9-d541-41f4-88cb-b0035fa8f7b2" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211424Z:0eecf9af-c93a-4d59-b1c9-ec26f9808917" + "NORTHEUROPE:20150731T041406Z:e2c1f5a9-d541-41f4-88cb-b0035fa8f7b2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -46,14 +46,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:14:23 GMT" + "Fri, 31 Jul 2015 04:14:06 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7979?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc5Nzk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8698?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazg2OTg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"Brazil South\"\r\n}", "RequestHeaders": { @@ -67,7 +67,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk7979\",\r\n \"name\": \"onesdk7979\",\r\n \"location\": \"brazilsouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk8698\",\r\n \"name\": \"onesdk8698\",\r\n \"location\": \"brazilsouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "178" @@ -82,16 +82,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1187" + "1151" ], "x-ms-request-id": [ - "7fb6d1fe-2600-4b62-ba84-15ee086e1cc8" + "f2937c08-fbdb-4298-96c5-646ce59a2e30" ], "x-ms-correlation-request-id": [ - "7fb6d1fe-2600-4b62-ba84-15ee086e1cc8" + "f2937c08-fbdb-4298-96c5-646ce59a2e30" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211424Z:7fb6d1fe-2600-4b62-ba84-15ee086e1cc8" + "NORTHEUROPE:20150731T041407Z:f2937c08-fbdb-4298-96c5-646ce59a2e30" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -100,14 +100,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:14:24 GMT" + "Fri, 31 Jul 2015 04:14:07 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk7979/resources?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlR3JvdXBzL29uZXNkazc5NzkvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk8698/resources?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlR3JvdXBzL29uZXNkazg2OTgvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -130,16 +130,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14980" + "14919" ], "x-ms-request-id": [ - "93f5a10a-865a-47bd-a36a-34972723dc0f" + "f4d983ff-4ff4-4c97-85b9-9db03693056b" ], "x-ms-correlation-request-id": [ - "93f5a10a-865a-47bd-a36a-34972723dc0f" + "f4d983ff-4ff4-4c97-85b9-9db03693056b" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211424Z:93f5a10a-865a-47bd-a36a-34972723dc0f" + "NORTHEUROPE:20150731T041407Z:f4d983ff-4ff4-4c97-85b9-9db03693056b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -148,14 +148,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:14:24 GMT" + "Fri, 31 Jul 2015 04:14:07 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7979/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc5NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8698/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazg2OTgvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -181,16 +181,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "centralus:844ec253-b5ca-44be-8452-0e334c861df5" + "westeurope:1580062c-db7d-4bba-8733-e049af0cb49b" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14976" + "14918" ], "x-ms-correlation-request-id": [ - "0aa5769f-9dde-47eb-a1d3-b185bc6ccea6" + "92dd2058-3fab-45a1-8d4d-9913bd1a1f1b" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211425Z:0aa5769f-9dde-47eb-a1d3-b185bc6ccea6" + "NORTHEUROPE:20150731T041408Z:92dd2058-3fab-45a1-8d4d-9913bd1a1f1b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -199,16 +199,16 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:14:24 GMT" + "Fri, 31 Jul 2015 04:14:07 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7979/providers/Microsoft.DataFactory/datafactories/onesdk1376?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc5NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazEzNzY/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8698/providers/Microsoft.DataFactory/datafactories/onesdk4378?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazg2OTgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazQzNzg/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"name\": \"onesdk1376\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {}\r\n}", + "RequestBody": "{\r\n \"name\": \"onesdk4378\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {}\r\n}", "RequestHeaders": { "Content-Type": [ "application/json" @@ -217,13 +217,13 @@ "74" ], "x-ms-client-request-id": [ - "6cd4ac6a-e4ad-479d-82b3-d18b35b62419" + "45e88572-a297-46b0-88fc-d016abb6977b" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk1376\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7979/providers/Microsoft.DataFactory/datafactories/onesdk1376\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"a7bb5cc3-8d02-4621-b943-742e3667496f\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk4378\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8698/providers/Microsoft.DataFactory/datafactories/onesdk4378\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"9edd2f06-4426-4053-b203-8c0a68e50535\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "449" @@ -238,16 +238,16 @@ "no-cache" ], "x-ms-request-id": [ - "e63bf143-1d62-46c4-85dd-e38580c3d441" + "a9f1f24d-56d1-464a-a1b8-cf3a851036a3" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" + "1175" ], "x-ms-correlation-request-id": [ - "d5213a42-afc2-4f2e-b3ca-333492a20dfd" + "e6b6a761-74f9-4342-b5bd-4bb1f564cf7e" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211426Z:d5213a42-afc2-4f2e-b3ca-333492a20dfd" + "NORTHEUROPE:20150731T041410Z:e6b6a761-74f9-4342-b5bd-4bb1f564cf7e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -256,10 +256,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:14:25 GMT" + "Fri, 31 Jul 2015 04:14:10 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7979/providers/Microsoft.DataFactory/datafactories/onesdk1376?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8698/providers/Microsoft.DataFactory/datafactories/onesdk4378?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -271,22 +271,22 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7979/providers/Microsoft.DataFactory/datafactories/onesdk1376?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc5NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazEzNzY/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8698/providers/Microsoft.DataFactory/datafactories/onesdk4378?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazg2OTgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazQzNzg/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "05fd95fa-0423-46da-a806-585dba4358bf" + "ee374ba6-446f-45de-8a6d-63d793e3fa44" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk1376\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7979/providers/Microsoft.DataFactory/datafactories/onesdk1376\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"a7bb5cc3-8d02-4621-b943-742e3667496f\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk4378\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8698/providers/Microsoft.DataFactory/datafactories/onesdk4378\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"9edd2f06-4426-4053-b203-8c0a68e50535\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "449" @@ -301,16 +301,16 @@ "no-cache" ], "x-ms-request-id": [ - "c8bd1c81-942a-4b1f-876a-4fb10828d3d5" + "f33beb52-fb0a-4c80-a9d6-13a4f34e1c54" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14983" + "14959" ], "x-ms-correlation-request-id": [ - "521c460b-985b-4734-a41d-8d5bd90b38c4" + "8e5757bd-259b-49e1-9693-5530595ea5e0" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211426Z:521c460b-985b-4734-a41d-8d5bd90b38c4" + "NORTHEUROPE:20150731T041411Z:8e5757bd-259b-49e1-9693-5530595ea5e0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -319,7 +319,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:14:26 GMT" + "Fri, 31 Jul 2015 04:14:10 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -331,22 +331,22 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7979/providers/Microsoft.DataFactory/datafactories/onesdk1376?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc5NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazEzNzY/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8698/providers/Microsoft.DataFactory/datafactories/onesdk4378?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazg2OTgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazQzNzg/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "3dd95bb4-f95d-4386-94c9-fafb1f30702b" + "0faf1043-6b8a-4e0e-bc9a-f05ece32a161" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk1376\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7979/providers/Microsoft.DataFactory/datafactories/onesdk1376\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"a7bb5cc3-8d02-4621-b943-742e3667496f\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk4378\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8698/providers/Microsoft.DataFactory/datafactories/onesdk4378\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"9edd2f06-4426-4053-b203-8c0a68e50535\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "449" @@ -361,16 +361,16 @@ "no-cache" ], "x-ms-request-id": [ - "508edea8-3c9b-45b1-a6cd-2d0d175c9c0f" + "fe8ad1a9-6e95-49e8-aaf1-41cff6f3f24e" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14982" + "14958" ], "x-ms-correlation-request-id": [ - "35365a7f-1e3a-4c6e-a9a5-c88ab5b07e05" + "9f48504e-297c-413c-ad3f-b7ebf44f200c" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211431Z:35365a7f-1e3a-4c6e-a9a5-c88ab5b07e05" + "NORTHEUROPE:20150731T041416Z:9f48504e-297c-413c-ad3f-b7ebf44f200c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,7 +379,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:14:31 GMT" + "Fri, 31 Jul 2015 04:14:15 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -391,22 +391,22 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7979/providers/Microsoft.DataFactory/datafactories/onesdk1376?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc5NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazEzNzY/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8698/providers/Microsoft.DataFactory/datafactories/onesdk4378?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazg2OTgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazQzNzg/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "0a1b9f0c-3698-446c-8ba3-f30bbcd603d5" + "b1bb5dd9-8d8a-40df-a20f-ec41d1828461" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk1376\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7979/providers/Microsoft.DataFactory/datafactories/onesdk1376\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"a7bb5cc3-8d02-4621-b943-742e3667496f\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk4378\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8698/providers/Microsoft.DataFactory/datafactories/onesdk4378\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"9edd2f06-4426-4053-b203-8c0a68e50535\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "443" @@ -421,16 +421,16 @@ "no-cache" ], "x-ms-request-id": [ - "3bd1bd08-d947-48d4-b911-a525548c185f" + "fa2e96c3-ce7e-40ba-9786-274319e7d729" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14981" + "14957" ], "x-ms-correlation-request-id": [ - "023a499b-e668-4cf9-a805-861d503be569" + "8ca0e78d-0379-4967-b7a9-e0e20c83b3af" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211436Z:023a499b-e668-4cf9-a805-861d503be569" + "NORTHEUROPE:20150731T041421Z:8ca0e78d-0379-4967-b7a9-e0e20c83b3af" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -439,7 +439,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:14:36 GMT" + "Fri, 31 Jul 2015 04:14:21 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -451,8 +451,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7979/providers/Microsoft.DataFactory/datafactories/onesdk1376/linkedservices/foo?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc5NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazEzNzYvbGlua2Vkc2VydmljZXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8698/providers/Microsoft.DataFactory/datafactories/onesdk4378/linkedservices/foo?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazg2OTgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazQzNzgvbGlua2Vkc2VydmljZXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDgtMDE=", "RequestMethod": "PUT", "RequestBody": "{\r\n \"name\": \"foo2\",\r\n \"properties\": {\r\n \"type\": \"AzureStorage\",\r\n \"typeProperties\": {\r\n \"connectionString\": \"myfakeconnectionstring\"\r\n }\r\n }\r\n}", "RequestHeaders": { @@ -463,13 +463,13 @@ "175" ], "x-ms-client-request-id": [ - "ead55b41-d019-4678-adad-f649db3e0b82" + "90f1f7fc-0902-4288-8a0d-30a8006ba8be" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7979/providers/Microsoft.DataFactory/datafactories/onesdk1376/linkedservices/foo\",\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"hubName\": \"onesdk1376_hub\",\r\n \"type\": \"AzureStorage\",\r\n \"typeProperties\": {\r\n \"connectionString\": \"myfakeconnectionstring\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8698/providers/Microsoft.DataFactory/datafactories/onesdk4378/linkedservices/foo\",\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"hubName\": \"onesdk4378_hub\",\r\n \"type\": \"AzureStorage\",\r\n \"typeProperties\": {\r\n \"connectionString\": \"myfakeconnectionstring\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "334" @@ -484,16 +484,16 @@ "no-cache" ], "x-ms-request-id": [ - "8e4dea30-ab0a-4fb0-9c13-d9cfac6f0b99" + "eadc4ae5-53c3-4b2e-95fa-9d72b27f09fe" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" + "1174" ], "x-ms-correlation-request-id": [ - "becb7255-8633-444f-90d1-73586dc3e993" + "95bc5f66-aa0f-4a7b-9f7b-5c2cae4e0f49" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211437Z:becb7255-8633-444f-90d1-73586dc3e993" + "NORTHEUROPE:20150731T041422Z:95bc5f66-aa0f-4a7b-9f7b-5c2cae4e0f49" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -502,10 +502,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:14:36 GMT" + "Fri, 31 Jul 2015 04:14:22 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7979/providers/Microsoft.DataFactory/datafactories/onesdk1376/linkedservices/foo?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8698/providers/Microsoft.DataFactory/datafactories/onesdk4378/linkedservices/foo?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -517,22 +517,22 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7979/providers/Microsoft.DataFactory/datafactories/onesdk1376/linkedservices/foo?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc5NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazEzNzYvbGlua2Vkc2VydmljZXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8698/providers/Microsoft.DataFactory/datafactories/onesdk4378/linkedservices/foo?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazg2OTgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazQzNzgvbGlua2Vkc2VydmljZXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDgtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ec7bbaf4-4ddf-4a51-bedf-13bbdc35a381" + "86d58a30-c91d-439b-81f3-bca049a57627" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7979/providers/Microsoft.DataFactory/datafactories/onesdk1376/linkedservices/foo\",\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"hubName\": \"onesdk1376_hub\",\r\n \"type\": \"AzureStorage\",\r\n \"typeProperties\": {\r\n \"connectionString\": \"myfakeconnectionstring\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8698/providers/Microsoft.DataFactory/datafactories/onesdk4378/linkedservices/foo\",\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"hubName\": \"onesdk4378_hub\",\r\n \"type\": \"AzureStorage\",\r\n \"typeProperties\": {\r\n \"connectionString\": \"myfakeconnectionstring\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "334" @@ -547,16 +547,16 @@ "no-cache" ], "x-ms-request-id": [ - "7ee271a3-d1c0-44e3-8287-1d7eecea956b" + "5b40ef37-cd45-469a-a407-5de2d18215cd" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14980" + "14956" ], "x-ms-correlation-request-id": [ - "2c2c40fb-2e1a-4ef0-bf18-562db9215a00" + "d4ab0ba8-a957-4288-a709-39f4860cdac2" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211437Z:2c2c40fb-2e1a-4ef0-bf18-562db9215a00" + "NORTHEUROPE:20150731T041422Z:d4ab0ba8-a957-4288-a709-39f4860cdac2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -565,7 +565,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:14:37 GMT" + "Fri, 31 Jul 2015 04:14:22 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -577,19 +577,19 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7979/providers/Microsoft.DataFactory/datafactories/onesdk1376/linkedservices/foo?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc5NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazEzNzYvbGlua2Vkc2VydmljZXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8698/providers/Microsoft.DataFactory/datafactories/onesdk4378/linkedservices/foo?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazg2OTgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazQzNzgvbGlua2Vkc2VydmljZXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDgtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "6b9998f1-ec92-4d3e-82a3-c3ab01716448" + "d95a3852-7c28-4705-bcf6-a36f026b69e7" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7979/providers/Microsoft.DataFactory/datafactories/onesdk1376/linkedservices/foo\",\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"hubName\": \"onesdk1376_hub\",\r\n \"type\": \"AzureStorage\",\r\n \"typeProperties\": {\r\n \"connectionString\": \"myfakeconnectionstring\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8698/providers/Microsoft.DataFactory/datafactories/onesdk4378/linkedservices/foo\",\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"hubName\": \"onesdk4378_hub\",\r\n \"type\": \"AzureStorage\",\r\n \"typeProperties\": {\r\n \"connectionString\": \"myfakeconnectionstring\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "334" @@ -604,16 +604,16 @@ "no-cache" ], "x-ms-request-id": [ - "4804b316-8d4c-4e30-a11c-b61197bdb859" + "ae30f595-a5f1-47d5-ae57-fa974d0f558b" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14979" + "14955" ], "x-ms-correlation-request-id": [ - "623bf23d-e2cf-440a-b605-fe536055f37a" + "6f1555be-7424-420e-a62a-346fc78f48cb" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211437Z:623bf23d-e2cf-440a-b605-fe536055f37a" + "NORTHEUROPE:20150731T041423Z:6f1555be-7424-420e-a62a-346fc78f48cb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -622,7 +622,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:14:37 GMT" + "Fri, 31 Jul 2015 04:14:22 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -634,16 +634,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7979/providers/Microsoft.DataFactory/datafactories/onesdk1376/linkedservices/foo?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc5NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazEzNzYvbGlua2Vkc2VydmljZXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8698/providers/Microsoft.DataFactory/datafactories/onesdk4378/linkedservices/foo?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazg2OTgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazQzNzgvbGlua2Vkc2VydmljZXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDgtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "cc8202df-8ab8-42a3-bef7-72900333ef80" + "d358adbe-1577-43df-8acc-bbe37bd9163b" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "{\r\n \"message\": \"Linked service foo not found.\",\r\n \"code\": \"LinkedServiceNotFound\"\r\n}", @@ -661,16 +661,16 @@ "no-cache" ], "x-ms-request-id": [ - "c82c05fc-1f2c-4a46-981c-48db5af501e4" + "af92124e-9e3c-4882-a17d-075cc82f7872" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14977" + "14953" ], "x-ms-correlation-request-id": [ - "47fa736d-23c2-4cdc-b20b-b271399221db" + "98861a27-5143-4598-94d3-a16a1617eaa0" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211438Z:47fa736d-23c2-4cdc-b20b-b271399221db" + "NORTHEUROPE:20150731T041424Z:98861a27-5143-4598-94d3-a16a1617eaa0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -679,7 +679,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:14:37 GMT" + "Fri, 31 Jul 2015 04:14:23 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -691,16 +691,16 @@ "StatusCode": 404 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7979/providers/Microsoft.DataFactory/datafactories/onesdk1376/linkedservices/foo?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc5NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazEzNzYvbGlua2Vkc2VydmljZXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8698/providers/Microsoft.DataFactory/datafactories/onesdk4378/linkedservices/foo?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazg2OTgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazQzNzgvbGlua2Vkc2VydmljZXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDgtMDE=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "d2247979-5e2f-4279-8dd8-11a2db2e5ae8" + "bf9e8d82-ab73-4aef-985c-f9aced668271" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -718,16 +718,16 @@ "15" ], "x-ms-request-id": [ - "920e7308-13f5-46cd-892f-8fe03d25e552" + "e3ac836e-97f8-4848-8523-07b02bc0b340" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1192" + "1173" ], "x-ms-correlation-request-id": [ - "0ea71020-6740-477b-8fa6-003a2c8c1362" + "fe060edb-a66e-4e94-9640-a3dcd090045a" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211437Z:0ea71020-6740-477b-8fa6-003a2c8c1362" + "NORTHEUROPE:20150731T041423Z:fe060edb-a66e-4e94-9640-a3dcd090045a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -736,10 +736,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:14:37 GMT" + "Fri, 31 Jul 2015 04:14:22 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7979/providers/Microsoft.DataFactory/datafactories/onesdk1376/linkedservices/foo/operationresults/a02fe0ecd9a44a6e9f764723cf38520a?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8698/providers/Microsoft.DataFactory/datafactories/onesdk4378/linkedservices/foo/operationresults/f5489b772dab40e7af4e998440ee0706?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -751,16 +751,16 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7979/providers/Microsoft.DataFactory/datafactories/onesdk1376/linkedservices/foo/operationresults/a02fe0ecd9a44a6e9f764723cf38520a?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc5NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazEzNzYvbGlua2Vkc2VydmljZXMvZm9vL29wZXJhdGlvbnJlc3VsdHMvYTAyZmUwZWNkOWE0NGE2ZTlmNzY0NzIzY2YzODUyMGE/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8698/providers/Microsoft.DataFactory/datafactories/onesdk4378/linkedservices/foo/operationresults/f5489b772dab40e7af4e998440ee0706?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazg2OTgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazQzNzgvbGlua2Vkc2VydmljZXMvZm9vL29wZXJhdGlvbnJlc3VsdHMvZjU0ODliNzcyZGFiNDBlN2FmNGU5OTg0NDBlZTA3MDY/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -775,16 +775,16 @@ "no-cache" ], "x-ms-request-id": [ - "46cceb4c-2939-4ace-b1f7-423f28807cbd" + "4325c00b-8611-4943-bea5-e9009c6b76ee" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14978" + "14954" ], "x-ms-correlation-request-id": [ - "6588a195-65de-41be-8263-00f07aade847" + "8bd03d0c-03e6-4da7-bded-bcc750bca694" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211438Z:6588a195-65de-41be-8263-00f07aade847" + "NORTHEUROPE:20150731T041423Z:8bd03d0c-03e6-4da7-bded-bcc750bca694" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -793,7 +793,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:14:37 GMT" + "Fri, 31 Jul 2015 04:14:23 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -805,16 +805,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk7979/providers/Microsoft.DataFactory/datafactories/onesdk1376?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazc5NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazEzNzY/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8698/providers/Microsoft.DataFactory/datafactories/onesdk4378?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazg2OTgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazQzNzg/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "1c27619d-2e4c-4921-be82-c6f01b168065" + "8ccffd0d-afd4-42c3-9bd9-4af15b5a9c66" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -829,16 +829,16 @@ "no-cache" ], "x-ms-request-id": [ - "b6beb442-10d1-4d7b-824f-9cbfbb87132c" + "572d99ec-0a39-47f8-bce2-bc353050a88c" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1191" + "1172" ], "x-ms-correlation-request-id": [ - "b4a38a70-c944-45be-a6ad-5d45983779b5" + "7885a36d-6df6-498e-bb5b-9219555b78cd" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211439Z:b4a38a70-c944-45be-a6ad-5d45983779b5" + "NORTHEUROPE:20150731T041425Z:7885a36d-6df6-498e-bb5b-9219555b78cd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -847,7 +847,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:14:39 GMT" + "Fri, 31 Jul 2015 04:14:25 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -861,8 +861,8 @@ ], "Names": { "Test-LinkedServicePiping": [ - "onesdk1376", - "onesdk7979" + "onesdk4378", + "onesdk8698" ] }, "Variables": { diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.LinkedServiceTests/TestLinkedServiceWithDataFactoryParameter.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.LinkedServiceTests/TestLinkedServiceWithDataFactoryParameter.json index 0cf2e8158ee7..9c6b9af87847 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.LinkedServiceTests/TestLinkedServiceWithDataFactoryParameter.json +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.LinkedServiceTests/TestLinkedServiceWithDataFactoryParameter.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3672?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazM2NzI/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk2098?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazIwOTg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -28,16 +28,16 @@ "gateway" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14975" + "14925" ], "x-ms-request-id": [ - "9268f077-e942-4de5-960f-b8f570cdd6af" + "bba5c779-7d13-4e02-a18e-fc57f45776d0" ], "x-ms-correlation-request-id": [ - "9268f077-e942-4de5-960f-b8f570cdd6af" + "bba5c779-7d13-4e02-a18e-fc57f45776d0" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211612Z:9268f077-e942-4de5-960f-b8f570cdd6af" + "NORTHEUROPE:20150731T041212Z:bba5c779-7d13-4e02-a18e-fc57f45776d0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -46,14 +46,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:16:12 GMT" + "Fri, 31 Jul 2015 04:12:12 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3672?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazM2NzI/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk2098?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazIwOTg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"Brazil South\"\r\n}", "RequestHeaders": { @@ -67,7 +67,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk3672\",\r\n \"name\": \"onesdk3672\",\r\n \"location\": \"brazilsouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk2098\",\r\n \"name\": \"onesdk2098\",\r\n \"location\": \"brazilsouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "178" @@ -82,16 +82,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1190" + "1153" ], "x-ms-request-id": [ - "ad5e04d8-2877-423a-9358-e5e2e8d298a9" + "faed3164-a706-42cd-a707-d85a752b6eec" ], "x-ms-correlation-request-id": [ - "ad5e04d8-2877-423a-9358-e5e2e8d298a9" + "faed3164-a706-42cd-a707-d85a752b6eec" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211613Z:ad5e04d8-2877-423a-9358-e5e2e8d298a9" + "NORTHEUROPE:20150731T041213Z:faed3164-a706-42cd-a707-d85a752b6eec" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -100,14 +100,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:16:13 GMT" + "Fri, 31 Jul 2015 04:12:13 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk3672/resources?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlR3JvdXBzL29uZXNkazM2NzIvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk2098/resources?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlR3JvdXBzL29uZXNkazIwOTgvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -130,16 +130,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14974" + "14924" ], "x-ms-request-id": [ - "c9c61a0e-e77c-49bc-a475-40d051089483" + "ee9e6a73-57ed-4743-9e9b-3a89bbb3baf4" ], "x-ms-correlation-request-id": [ - "c9c61a0e-e77c-49bc-a475-40d051089483" + "ee9e6a73-57ed-4743-9e9b-3a89bbb3baf4" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211613Z:c9c61a0e-e77c-49bc-a475-40d051089483" + "NORTHEUROPE:20150731T041214Z:ee9e6a73-57ed-4743-9e9b-3a89bbb3baf4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -148,14 +148,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:16:13 GMT" + "Fri, 31 Jul 2015 04:12:13 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3672/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazM2NzIvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk2098/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazIwOTgvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -181,16 +181,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "centralus:c0d5db7d-4ee6-4a1e-a085-7a1557f10e6f" + "westeurope:f577220c-6c31-4822-aa74-6de62d8e1fba" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14937" + "14923" ], "x-ms-correlation-request-id": [ - "f3605569-a040-4dcf-8bcb-30db51dec2e2" + "2003389a-2272-4bb1-b309-0ad66af57ede" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211613Z:f3605569-a040-4dcf-8bcb-30db51dec2e2" + "NORTHEUROPE:20150731T041214Z:2003389a-2272-4bb1-b309-0ad66af57ede" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -199,34 +199,34 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:16:13 GMT" + "Fri, 31 Jul 2015 04:12:13 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3672/providers/Microsoft.DataFactory/datafactories/onesdk8704?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazM2NzIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazg3MDQ/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk2098/providers/Microsoft.DataFactory/datafactories/onesdk235?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazIwOTgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazIzNT9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"name\": \"onesdk8704\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {}\r\n}", + "RequestBody": "{\r\n \"name\": \"onesdk235\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {}\r\n}", "RequestHeaders": { "Content-Type": [ "application/json" ], "Content-Length": [ - "74" + "73" ], "x-ms-client-request-id": [ - "9ed40a05-0a07-49c0-a4c6-f023270d6cde" + "40a4fc9a-189b-4049-96b9-4ec5eb366c73" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk8704\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3672/providers/Microsoft.DataFactory/datafactories/onesdk8704\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"d2edf787-7022-466a-a44e-67c1ff2440d9\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk235\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk2098/providers/Microsoft.DataFactory/datafactories/onesdk235\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"766a94c7-40a7-4bcf-b666-315a9cac9d63\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "449" + "447" ], "Content-Type": [ "application/json; charset=utf-8" @@ -238,16 +238,16 @@ "no-cache" ], "x-ms-request-id": [ - "6b0a0ace-e519-4c8c-8d26-119b15ffab11" + "1e6d745e-2c25-46bb-be8d-68de6b887d2c" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1185" ], "x-ms-correlation-request-id": [ - "ce115314-ab16-43e2-ac53-4c571389f0ab" + "e104bcdb-3af6-4d99-a386-5956add6163e" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211615Z:ce115314-ab16-43e2-ac53-4c571389f0ab" + "NORTHEUROPE:20150731T041217Z:e104bcdb-3af6-4d99-a386-5956add6163e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -256,10 +256,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:16:15 GMT" + "Fri, 31 Jul 2015 04:12:17 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3672/providers/Microsoft.DataFactory/datafactories/onesdk8704?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk2098/providers/Microsoft.DataFactory/datafactories/onesdk235?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -271,25 +271,25 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3672/providers/Microsoft.DataFactory/datafactories/onesdk8704?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazM2NzIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazg3MDQ/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk2098/providers/Microsoft.DataFactory/datafactories/onesdk235?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazIwOTgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazIzNT9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "edcdd8a2-47b0-43b4-b836-f332be5a1d3f" + "9b2b87db-7ed0-4ea4-bf75-d03bcf41bbe0" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk8704\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3672/providers/Microsoft.DataFactory/datafactories/onesdk8704\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"d2edf787-7022-466a-a44e-67c1ff2440d9\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk235\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk2098/providers/Microsoft.DataFactory/datafactories/onesdk235\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"766a94c7-40a7-4bcf-b666-315a9cac9d63\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "449" + "447" ], "Content-Type": [ "application/json; charset=utf-8" @@ -301,16 +301,76 @@ "no-cache" ], "x-ms-request-id": [ - "eceb5e83-34bf-4d86-8c41-337367a76c10" + "ab371bcf-244d-4ed7-b21e-b2d1df6db918" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14977" + "14973" + ], + "x-ms-correlation-request-id": [ + "cdb0b05f-5b34-4164-91a0-d4a71e228612" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20150731T041217Z:cdb0b05f-5b34-4164-91a0-d4a71e228612" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 31 Jul 2015 04:12:17 GMT" + ], + "Server": [ + "Microsoft-IIS/8.5" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk2098/providers/Microsoft.DataFactory/datafactories/onesdk235?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazIwOTgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazIzNT9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "76a37cfe-9d97-4c70-8b35-0c78a7ebdb9c" + ], + "x-ms-version": [ + "2015-08-01" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk235\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk2098/providers/Microsoft.DataFactory/datafactories/onesdk235\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"766a94c7-40a7-4bcf-b666-315a9cac9d63\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "447" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "c3abe337-4f52-4efe-9da2-3f5797271a75" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14972" ], "x-ms-correlation-request-id": [ - "390da0cb-d092-49d8-8823-a4a403a53a6e" + "6237a08f-d4ca-41d8-8d94-71e3e90e6f6e" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211615Z:390da0cb-d092-49d8-8823-a4a403a53a6e" + "NORTHEUROPE:20150731T041223Z:6237a08f-d4ca-41d8-8d94-71e3e90e6f6e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -319,7 +379,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:16:15 GMT" + "Fri, 31 Jul 2015 04:12:22 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -331,25 +391,25 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3672/providers/Microsoft.DataFactory/datafactories/onesdk8704?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazM2NzIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazg3MDQ/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk2098/providers/Microsoft.DataFactory/datafactories/onesdk235?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazIwOTgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazIzNT9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "f3d006b1-2ce8-4791-8b04-1db80b57b525" + "f6558a71-4091-42ed-85fc-31437b878d6e" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk8704\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3672/providers/Microsoft.DataFactory/datafactories/onesdk8704\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"d2edf787-7022-466a-a44e-67c1ff2440d9\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk235\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk2098/providers/Microsoft.DataFactory/datafactories/onesdk235\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"766a94c7-40a7-4bcf-b666-315a9cac9d63\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "443" + "441" ], "Content-Type": [ "application/json; charset=utf-8" @@ -361,16 +421,16 @@ "no-cache" ], "x-ms-request-id": [ - "47c0c81d-b06e-4eb0-9ea3-5d12dacf4cdf" + "5e000f8f-3780-4011-8a3d-7118688c94c3" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14976" + "14971" ], "x-ms-correlation-request-id": [ - "97781547-0ccf-4008-9a71-b0a478dc646c" + "0e2a9183-5078-4cf1-a3fd-78db22032182" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211620Z:97781547-0ccf-4008-9a71-b0a478dc646c" + "NORTHEUROPE:20150731T041228Z:0e2a9183-5078-4cf1-a3fd-78db22032182" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,7 +439,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:16:20 GMT" + "Fri, 31 Jul 2015 04:12:27 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -391,8 +451,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3672/providers/Microsoft.DataFactory/datafactories/onesdk8704/linkedservices/foo?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazM2NzIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazg3MDQvbGlua2Vkc2VydmljZXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk2098/providers/Microsoft.DataFactory/datafactories/onesdk235/linkedservices/foo?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazIwOTgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazIzNS9saW5rZWRzZXJ2aWNlcy9mb28/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "PUT", "RequestBody": "{\r\n \"name\": \"foo2\",\r\n \"properties\": {\r\n \"type\": \"AzureStorage\",\r\n \"typeProperties\": {\r\n \"connectionString\": \"myfakeconnectionstring\"\r\n }\r\n }\r\n}", "RequestHeaders": { @@ -403,16 +463,16 @@ "175" ], "x-ms-client-request-id": [ - "8d1cc58f-15f7-47ef-9e48-71d37f4558cd" + "7d3c3b3c-b02e-4622-a425-c0656699dae0" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3672/providers/Microsoft.DataFactory/datafactories/onesdk8704/linkedservices/foo\",\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"hubName\": \"onesdk8704_hub\",\r\n \"type\": \"AzureStorage\",\r\n \"typeProperties\": {\r\n \"connectionString\": \"myfakeconnectionstring\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk2098/providers/Microsoft.DataFactory/datafactories/onesdk235/linkedservices/foo\",\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"hubName\": \"onesdk235_hub\",\r\n \"type\": \"AzureStorage\",\r\n \"typeProperties\": {\r\n \"connectionString\": \"myfakeconnectionstring\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "334" + "332" ], "Content-Type": [ "application/json; charset=utf-8" @@ -424,16 +484,16 @@ "no-cache" ], "x-ms-request-id": [ - "21c17bf9-5029-40d0-a8ed-4c98d10323dc" + "99087466-6f2d-4f79-a0e3-9c878db317b8" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1184" ], "x-ms-correlation-request-id": [ - "76348bb5-83f3-4c65-9446-8aab98463533" + "349ca160-bdc8-4577-bdea-ffcf4bb84e8f" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211621Z:76348bb5-83f3-4c65-9446-8aab98463533" + "NORTHEUROPE:20150731T041229Z:349ca160-bdc8-4577-bdea-ffcf4bb84e8f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -442,10 +502,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:16:20 GMT" + "Fri, 31 Jul 2015 04:12:28 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3672/providers/Microsoft.DataFactory/datafactories/onesdk8704/linkedservices/foo?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk2098/providers/Microsoft.DataFactory/datafactories/onesdk235/linkedservices/foo?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -457,25 +517,25 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3672/providers/Microsoft.DataFactory/datafactories/onesdk8704/linkedservices/foo?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazM2NzIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazg3MDQvbGlua2Vkc2VydmljZXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk2098/providers/Microsoft.DataFactory/datafactories/onesdk235/linkedservices/foo?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazIwOTgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazIzNS9saW5rZWRzZXJ2aWNlcy9mb28/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "a0cb7895-1735-4a74-b65f-e7815849a8c7" + "6e23b309-eef6-4407-81dc-361516833376" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3672/providers/Microsoft.DataFactory/datafactories/onesdk8704/linkedservices/foo\",\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"hubName\": \"onesdk8704_hub\",\r\n \"type\": \"AzureStorage\",\r\n \"typeProperties\": {\r\n \"connectionString\": \"myfakeconnectionstring\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk2098/providers/Microsoft.DataFactory/datafactories/onesdk235/linkedservices/foo\",\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"hubName\": \"onesdk235_hub\",\r\n \"type\": \"AzureStorage\",\r\n \"typeProperties\": {\r\n \"connectionString\": \"myfakeconnectionstring\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "334" + "332" ], "Content-Type": [ "application/json; charset=utf-8" @@ -487,16 +547,16 @@ "no-cache" ], "x-ms-request-id": [ - "4d113d9a-3b22-4a78-9f88-84a647e8d93f" + "854a5b2f-28ea-479e-892d-0d9a3cdf0aaf" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14975" + "14970" ], "x-ms-correlation-request-id": [ - "27f8e9f1-8b26-4c06-950f-26585735d67e" + "99d6a51a-9e21-4585-b7c3-220a648bba47" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211621Z:27f8e9f1-8b26-4c06-950f-26585735d67e" + "NORTHEUROPE:20150731T041229Z:99d6a51a-9e21-4585-b7c3-220a648bba47" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -505,7 +565,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:16:20 GMT" + "Fri, 31 Jul 2015 04:12:28 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -517,22 +577,22 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3672/providers/Microsoft.DataFactory/datafactories/onesdk8704/linkedservices/foo?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazM2NzIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazg3MDQvbGlua2Vkc2VydmljZXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk2098/providers/Microsoft.DataFactory/datafactories/onesdk235/linkedservices/foo?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazIwOTgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazIzNS9saW5rZWRzZXJ2aWNlcy9mb28/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "6d387ce3-f8a7-4b6a-bb2e-308b53aabd44" + "3472355a-5851-4f2e-954c-72031053eb8b" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3672/providers/Microsoft.DataFactory/datafactories/onesdk8704/linkedservices/foo\",\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"hubName\": \"onesdk8704_hub\",\r\n \"type\": \"AzureStorage\",\r\n \"typeProperties\": {\r\n \"connectionString\": \"myfakeconnectionstring\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk2098/providers/Microsoft.DataFactory/datafactories/onesdk235/linkedservices/foo\",\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"hubName\": \"onesdk235_hub\",\r\n \"type\": \"AzureStorage\",\r\n \"typeProperties\": {\r\n \"connectionString\": \"myfakeconnectionstring\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "334" + "332" ], "Content-Type": [ "application/json; charset=utf-8" @@ -544,16 +604,16 @@ "no-cache" ], "x-ms-request-id": [ - "075cff61-03ca-45a2-b1f1-f0a952b1cc9f" + "4c3a6af2-0925-4eb8-bb5a-c12708e896d8" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14974" + "14969" ], "x-ms-correlation-request-id": [ - "3de47c44-f4ca-40fd-990f-b005ffcd4ce4" + "b65e8c8d-a5aa-4a25-8bd2-f3911b468792" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211621Z:3de47c44-f4ca-40fd-990f-b005ffcd4ce4" + "NORTHEUROPE:20150731T041229Z:b65e8c8d-a5aa-4a25-8bd2-f3911b468792" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -562,7 +622,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:16:21 GMT" + "Fri, 31 Jul 2015 04:12:28 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -574,16 +634,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3672/providers/Microsoft.DataFactory/datafactories/onesdk8704/linkedservices/foo?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazM2NzIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazg3MDQvbGlua2Vkc2VydmljZXMvZm9vP2FwaS12ZXJzaW9uPTIwMTUtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk2098/providers/Microsoft.DataFactory/datafactories/onesdk235/linkedservices/foo?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazIwOTgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazIzNS9saW5rZWRzZXJ2aWNlcy9mb28/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "6435fcf8-76c8-4797-88a5-78c97e219000" + "440b19c4-d142-40ce-9fa7-e979f41bd14f" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -601,16 +661,16 @@ "15" ], "x-ms-request-id": [ - "e51198a1-94a9-4418-a4dd-96e6b7d26d4d" + "160048b0-e477-449b-8e6e-ba1435c6d7bb" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1183" ], "x-ms-correlation-request-id": [ - "377c9fc6-07dd-4965-a581-9ce05fe1f01c" + "567589a8-ab3c-49fa-b2d5-bcec57f6d5f0" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211622Z:377c9fc6-07dd-4965-a581-9ce05fe1f01c" + "NORTHEUROPE:20150731T041230Z:567589a8-ab3c-49fa-b2d5-bcec57f6d5f0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -619,10 +679,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:16:21 GMT" + "Fri, 31 Jul 2015 04:12:30 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3672/providers/Microsoft.DataFactory/datafactories/onesdk8704/linkedservices/foo/operationresults/9528c44fdfc34fecad174d475512d8ee?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk2098/providers/Microsoft.DataFactory/datafactories/onesdk235/linkedservices/foo/operationresults/5ee8f31a2b464a7692fd95d14e4f8b3c?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -634,16 +694,16 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3672/providers/Microsoft.DataFactory/datafactories/onesdk8704/linkedservices/foo/operationresults/9528c44fdfc34fecad174d475512d8ee?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazM2NzIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazg3MDQvbGlua2Vkc2VydmljZXMvZm9vL29wZXJhdGlvbnJlc3VsdHMvOTUyOGM0NGZkZmMzNGZlY2FkMTc0ZDQ3NTUxMmQ4ZWU/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk2098/providers/Microsoft.DataFactory/datafactories/onesdk235/linkedservices/foo/operationresults/5ee8f31a2b464a7692fd95d14e4f8b3c?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazIwOTgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazIzNS9saW5rZWRzZXJ2aWNlcy9mb28vb3BlcmF0aW9ucmVzdWx0cy81ZWU4ZjMxYTJiNDY0YTc2OTJmZDk1ZDE0ZTRmOGIzYz9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -658,16 +718,16 @@ "no-cache" ], "x-ms-request-id": [ - "6cbb62ec-d464-43ca-8ce8-a56d3fcea7e2" + "5386ae78-6a85-4b6e-91bc-482eccff305f" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14973" + "14968" ], "x-ms-correlation-request-id": [ - "3ca6248f-15f6-4b48-bded-0b2271527171" + "7b0b629b-8516-4af0-92c6-a1c9614d7271" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211622Z:3ca6248f-15f6-4b48-bded-0b2271527171" + "NORTHEUROPE:20150731T041230Z:7b0b629b-8516-4af0-92c6-a1c9614d7271" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -676,7 +736,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:16:21 GMT" + "Fri, 31 Jul 2015 04:12:30 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -688,16 +748,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk3672/providers/Microsoft.DataFactory/datafactories/onesdk8704?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazM2NzIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazg3MDQ/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk2098/providers/Microsoft.DataFactory/datafactories/onesdk235?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazIwOTgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazIzNT9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "3a25613e-103f-4dfb-b3e1-ba2aced0dd14" + "47e4d9eb-fdd6-4c20-ae79-d1e9844165f2" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -712,16 +772,16 @@ "no-cache" ], "x-ms-request-id": [ - "a3a290e8-ffc6-4553-9323-13d7e52b30ec" + "3eae9c57-fa57-4317-9b73-b7262ec7c7db" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1182" ], "x-ms-correlation-request-id": [ - "a69a0314-62c1-4fc8-a1f2-ce8a3406d42b" + "73b55183-28c8-4b9c-8ba2-50163b70ff04" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T211623Z:a69a0314-62c1-4fc8-a1f2-ce8a3406d42b" + "NORTHEUROPE:20150731T041235Z:73b55183-28c8-4b9c-8ba2-50163b70ff04" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -730,7 +790,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:16:22 GMT" + "Fri, 31 Jul 2015 04:12:35 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -744,8 +804,8 @@ ], "Names": { "Test-LinkedServiceWithDataFactoryParameter": [ - "onesdk8704", - "onesdk3672" + "onesdk235", + "onesdk2098" ] }, "Variables": { diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.TableTests/TestTable.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.TableTests/TestTable.json index ca699472f239..b453a4e8884f 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.TableTests/TestTable.json +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.TableTests/TestTable.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk974?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazk3ND9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1946?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE5NDY/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -13,7 +13,7 @@ "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "101" + "102" ], "Content-Type": [ "application/json; charset=utf-8" @@ -28,16 +28,16 @@ "gateway" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14964" + "14934" ], "x-ms-request-id": [ - "a95265a2-61ae-4409-8ed4-eea595a395eb" + "1f10051d-66e4-4cd5-b7a7-131bf4ec34a9" ], "x-ms-correlation-request-id": [ - "a95265a2-61ae-4409-8ed4-eea595a395eb" + "1f10051d-66e4-4cd5-b7a7-131bf4ec34a9" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210534Z:a95265a2-61ae-4409-8ed4-eea595a395eb" + "NORTHEUROPE:20150731T041114Z:1f10051d-66e4-4cd5-b7a7-131bf4ec34a9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -46,14 +46,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:05:33 GMT" + "Fri, 31 Jul 2015 04:11:13 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk974?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazk3ND9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1946?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE5NDY/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"Brazil South\"\r\n}", "RequestHeaders": { @@ -67,10 +67,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk974\",\r\n \"name\": \"onesdk974\",\r\n \"location\": \"brazilsouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk1946\",\r\n \"name\": \"onesdk1946\",\r\n \"location\": \"brazilsouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "176" + "178" ], "Content-Type": [ "application/json; charset=utf-8" @@ -82,16 +82,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1187" + "1159" ], "x-ms-request-id": [ - "61cfc624-04c9-4f08-bc8f-44331213f3e0" + "e0d80a68-b7c6-4d08-964d-42b97f7e14e4" ], "x-ms-correlation-request-id": [ - "61cfc624-04c9-4f08-bc8f-44331213f3e0" + "e0d80a68-b7c6-4d08-964d-42b97f7e14e4" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210535Z:61cfc624-04c9-4f08-bc8f-44331213f3e0" + "NORTHEUROPE:20150731T041115Z:e0d80a68-b7c6-4d08-964d-42b97f7e14e4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -100,14 +100,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:05:35 GMT" + "Fri, 31 Jul 2015 04:11:15 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk974/resources?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlR3JvdXBzL29uZXNkazk3NC9yZXNvdXJjZXM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk1946/resources?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlR3JvdXBzL29uZXNkazE5NDYvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -130,16 +130,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14963" + "14933" ], "x-ms-request-id": [ - "654fffa9-1511-4dca-af6f-215030d457ef" + "527f329d-73a4-4386-944d-c05e0c4bc1a0" ], "x-ms-correlation-request-id": [ - "654fffa9-1511-4dca-af6f-215030d457ef" + "527f329d-73a4-4386-944d-c05e0c4bc1a0" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210535Z:654fffa9-1511-4dca-af6f-215030d457ef" + "NORTHEUROPE:20150731T041115Z:527f329d-73a4-4386-944d-c05e0c4bc1a0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -148,14 +148,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:05:35 GMT" + "Fri, 31 Jul 2015 04:11:15 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk974/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazk3NC9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1946/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE5NDYvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -181,16 +181,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "centralus:51da7107-1e23-4e24-ac79-3a5f4361ab61" + "westeurope:0c6508aa-34ae-49f0-8f85-43ad572107ae" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14996" + "14975" ], "x-ms-correlation-request-id": [ - "b849ab5a-8de0-4838-99b2-f994795a1b1e" + "379dd968-b3aa-4a01-929e-127bec3f431d" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210537Z:b849ab5a-8de0-4838-99b2-f994795a1b1e" + "NORTHEUROPE:20150731T041116Z:379dd968-b3aa-4a01-929e-127bec3f431d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -199,34 +199,34 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:05:37 GMT" + "Fri, 31 Jul 2015 04:11:15 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk974/providers/Microsoft.DataFactory/datafactories/onesdk3294?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazk3NC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrMzI5ND9hcGktdmVyc2lvbj0yMDE1LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1946/providers/Microsoft.DataFactory/datafactories/onesdk585?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE5NDYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazU4NT9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"name\": \"onesdk3294\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {}\r\n}", + "RequestBody": "{\r\n \"name\": \"onesdk585\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {}\r\n}", "RequestHeaders": { "Content-Type": [ "application/json" ], "Content-Length": [ - "74" + "73" ], "x-ms-client-request-id": [ - "097dc116-72e0-4e37-9b4d-002d28d5c573" + "34050b55-262b-43dd-941f-3e45ebb5f183" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk3294\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk974/providers/Microsoft.DataFactory/datafactories/onesdk3294\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"e2d056dc-15d0-4826-95e7-eda3e24f83c1\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk585\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1946/providers/Microsoft.DataFactory/datafactories/onesdk585\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"02f49b4b-2bc6-41b4-aefe-8198134b28bd\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "448" + "447" ], "Content-Type": [ "application/json; charset=utf-8" @@ -238,16 +238,16 @@ "no-cache" ], "x-ms-request-id": [ - "af30dc98-8784-4e1a-8e8d-f5e044f49860" + "897a1a34-b251-4135-827a-1fd26b512a3f" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" + "1158" ], "x-ms-correlation-request-id": [ - "e461eb17-52e8-4aab-ab52-236b7d67f415" + "d81b46d6-9f8c-42c0-bcd2-484a98c51d05" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210538Z:e461eb17-52e8-4aab-ab52-236b7d67f415" + "NORTHEUROPE:20150731T041120Z:d81b46d6-9f8c-42c0-bcd2-484a98c51d05" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -256,10 +256,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:05:37 GMT" + "Fri, 31 Jul 2015 04:11:20 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk974/providers/Microsoft.DataFactory/datafactories/onesdk3294?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1946/providers/Microsoft.DataFactory/datafactories/onesdk585?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -271,25 +271,25 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk974/providers/Microsoft.DataFactory/datafactories/onesdk3294?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazk3NC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrMzI5ND9hcGktdmVyc2lvbj0yMDE1LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1946/providers/Microsoft.DataFactory/datafactories/onesdk585?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE5NDYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazU4NT9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "81ec81f7-7aab-4ecd-bea7-7c3cf4227b09" + "03341bb9-b172-432b-bd8a-9fda386ab5c0" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk3294\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk974/providers/Microsoft.DataFactory/datafactories/onesdk3294\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"e2d056dc-15d0-4826-95e7-eda3e24f83c1\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk585\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1946/providers/Microsoft.DataFactory/datafactories/onesdk585\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"02f49b4b-2bc6-41b4-aefe-8198134b28bd\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "448" + "447" ], "Content-Type": [ "application/json; charset=utf-8" @@ -301,16 +301,16 @@ "no-cache" ], "x-ms-request-id": [ - "5de65e89-5c18-41ff-9711-9e47d2087dd5" + "76af5d80-2822-40da-adc8-25a6ffd618d3" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14990" + "14932" ], "x-ms-correlation-request-id": [ - "4fe9512f-b424-4cfa-8898-2f113fe0ef2a" + "409ef61a-178a-4f8e-a9ac-618951346531" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210538Z:4fe9512f-b424-4cfa-8898-2f113fe0ef2a" + "NORTHEUROPE:20150731T041120Z:409ef61a-178a-4f8e-a9ac-618951346531" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -319,7 +319,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:05:37 GMT" + "Fri, 31 Jul 2015 04:11:20 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -331,25 +331,25 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk974/providers/Microsoft.DataFactory/datafactories/onesdk3294?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazk3NC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrMzI5ND9hcGktdmVyc2lvbj0yMDE1LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1946/providers/Microsoft.DataFactory/datafactories/onesdk585?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE5NDYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazU4NT9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "c9d9795a-8852-4bcf-b77c-74845da663da" + "ca5dfe1a-77c5-4e69-a700-2b827bd14a48" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk3294\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk974/providers/Microsoft.DataFactory/datafactories/onesdk3294\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"e2d056dc-15d0-4826-95e7-eda3e24f83c1\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk585\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1946/providers/Microsoft.DataFactory/datafactories/onesdk585\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"02f49b4b-2bc6-41b4-aefe-8198134b28bd\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "448" + "447" ], "Content-Type": [ "application/json; charset=utf-8" @@ -361,16 +361,16 @@ "no-cache" ], "x-ms-request-id": [ - "f2331818-fdde-475b-8e69-c0faf7ed8f2f" + "db29f1af-8f81-415f-9c7c-a3981aef61c3" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14989" + "14931" ], "x-ms-correlation-request-id": [ - "d50dfea3-24c7-4a39-af99-c6bbae6f41f1" + "d6ccd316-715a-4977-8039-c6223d18a43f" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210543Z:d50dfea3-24c7-4a39-af99-c6bbae6f41f1" + "NORTHEUROPE:20150731T041126Z:d6ccd316-715a-4977-8039-c6223d18a43f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,7 +379,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:05:43 GMT" + "Fri, 31 Jul 2015 04:11:25 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -391,25 +391,25 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk974/providers/Microsoft.DataFactory/datafactories/onesdk3294?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazk3NC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrMzI5ND9hcGktdmVyc2lvbj0yMDE1LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1946/providers/Microsoft.DataFactory/datafactories/onesdk585?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE5NDYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazU4NT9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "bbfaaafe-4ba5-4eda-91f4-eebea651e1f6" + "070636c1-3290-4ec1-8319-f0768aee388b" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk3294\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk974/providers/Microsoft.DataFactory/datafactories/onesdk3294\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"e2d056dc-15d0-4826-95e7-eda3e24f83c1\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk585\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1946/providers/Microsoft.DataFactory/datafactories/onesdk585\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"02f49b4b-2bc6-41b4-aefe-8198134b28bd\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "442" + "441" ], "Content-Type": [ "application/json; charset=utf-8" @@ -421,16 +421,16 @@ "no-cache" ], "x-ms-request-id": [ - "a0296c2a-4fa9-4abf-9070-72795ff1c86d" + "1dcb67ea-89f2-481b-826c-583eb532fe91" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14988" + "14930" ], "x-ms-correlation-request-id": [ - "f5c21eb5-13c5-426f-977e-bf68c550abf0" + "aa92a127-0e49-482c-a78b-b57a2b45f50a" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210548Z:f5c21eb5-13c5-426f-977e-bf68c550abf0" + "NORTHEUROPE:20150731T041131Z:aa92a127-0e49-482c-a78b-b57a2b45f50a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -439,7 +439,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:05:48 GMT" + "Fri, 31 Jul 2015 04:11:31 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -451,8 +451,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk974/providers/Microsoft.DataFactory/datafactories/onesdk3294/linkedservices/foo2?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazk3NC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrMzI5NC9saW5rZWRzZXJ2aWNlcy9mb28yP2FwaS12ZXJzaW9uPTIwMTUtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1946/providers/Microsoft.DataFactory/datafactories/onesdk585/linkedservices/foo2?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE5NDYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazU4NS9saW5rZWRzZXJ2aWNlcy9mb28yP2FwaS12ZXJzaW9uPTIwMTUtMDgtMDE=", "RequestMethod": "PUT", "RequestBody": "{\r\n \"name\": \"foo2\",\r\n \"properties\": {\r\n \"type\": \"AzureStorage\",\r\n \"typeProperties\": {\r\n \"connectionString\": \"myfakeconnectionstring\"\r\n }\r\n }\r\n}", "RequestHeaders": { @@ -463,16 +463,16 @@ "175" ], "x-ms-client-request-id": [ - "48f4dd8d-618b-4364-991d-cf456083d203" + "3110f88d-00dc-4974-bce4-1a3621d447ad" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk974/providers/Microsoft.DataFactory/datafactories/onesdk3294/linkedservices/foo2\",\r\n \"name\": \"foo2\",\r\n \"properties\": {\r\n \"hubName\": \"onesdk3294_hub\",\r\n \"type\": \"AzureStorage\",\r\n \"typeProperties\": {\r\n \"connectionString\": \"myfakeconnectionstring\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1946/providers/Microsoft.DataFactory/datafactories/onesdk585/linkedservices/foo2\",\r\n \"name\": \"foo2\",\r\n \"properties\": {\r\n \"hubName\": \"onesdk585_hub\",\r\n \"type\": \"AzureStorage\",\r\n \"typeProperties\": {\r\n \"connectionString\": \"myfakeconnectionstring\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "335" + "334" ], "Content-Type": [ "application/json; charset=utf-8" @@ -484,16 +484,16 @@ "no-cache" ], "x-ms-request-id": [ - "cd0051e3-6578-42f0-813b-05ef40e0b98c" + "157054ee-2333-4b80-a833-ffe9a8d3b059" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" + "1157" ], "x-ms-correlation-request-id": [ - "ea6c703a-e582-474c-bbe0-255ca1cb31b0" + "242bf033-3050-49cb-9be6-eaffbb111f75" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210549Z:ea6c703a-e582-474c-bbe0-255ca1cb31b0" + "NORTHEUROPE:20150731T041132Z:242bf033-3050-49cb-9be6-eaffbb111f75" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -502,10 +502,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:05:48 GMT" + "Fri, 31 Jul 2015 04:11:32 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk974/providers/Microsoft.DataFactory/datafactories/onesdk3294/linkedservices/foo2?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1946/providers/Microsoft.DataFactory/datafactories/onesdk585/linkedservices/foo2?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -517,25 +517,25 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk974/providers/Microsoft.DataFactory/datafactories/onesdk3294/linkedservices/foo2?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazk3NC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrMzI5NC9saW5rZWRzZXJ2aWNlcy9mb28yP2FwaS12ZXJzaW9uPTIwMTUtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1946/providers/Microsoft.DataFactory/datafactories/onesdk585/linkedservices/foo2?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE5NDYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazU4NS9saW5rZWRzZXJ2aWNlcy9mb28yP2FwaS12ZXJzaW9uPTIwMTUtMDgtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "05bbcb9e-1c02-40bb-bc50-f2729fd58aa8" + "302d9427-186f-40f2-90ac-28a2f36de939" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk974/providers/Microsoft.DataFactory/datafactories/onesdk3294/linkedservices/foo2\",\r\n \"name\": \"foo2\",\r\n \"properties\": {\r\n \"hubName\": \"onesdk3294_hub\",\r\n \"type\": \"AzureStorage\",\r\n \"typeProperties\": {\r\n \"connectionString\": \"myfakeconnectionstring\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1946/providers/Microsoft.DataFactory/datafactories/onesdk585/linkedservices/foo2\",\r\n \"name\": \"foo2\",\r\n \"properties\": {\r\n \"hubName\": \"onesdk585_hub\",\r\n \"type\": \"AzureStorage\",\r\n \"typeProperties\": {\r\n \"connectionString\": \"myfakeconnectionstring\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "335" + "334" ], "Content-Type": [ "application/json; charset=utf-8" @@ -547,16 +547,16 @@ "no-cache" ], "x-ms-request-id": [ - "7ea8fc33-2576-47b1-b432-f6075b7cebd6" + "374c81ad-9106-4cbb-adfc-98fdc28923cd" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14987" + "14929" ], "x-ms-correlation-request-id": [ - "88ca8588-727d-493e-a2fe-ed9ef26f6f4a" + "c9bce97b-5303-48cd-9e14-da86a8caa8d3" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210549Z:88ca8588-727d-493e-a2fe-ed9ef26f6f4a" + "NORTHEUROPE:20150731T041132Z:c9bce97b-5303-48cd-9e14-da86a8caa8d3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -565,7 +565,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:05:48 GMT" + "Fri, 31 Jul 2015 04:11:32 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -577,8 +577,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk974/providers/Microsoft.DataFactory/datafactories/onesdk3294/tables/foo2?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazk3NC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrMzI5NC90YWJsZXMvZm9vMj9hcGktdmVyc2lvbj0yMDE1LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1946/providers/Microsoft.DataFactory/datafactories/onesdk585/tables/foo2?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE5NDYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazU4NS90YWJsZXMvZm9vMj9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"name\": \"foo1\",\r\n \"properties\": {\r\n \"type\": \"CustomDataSet\",\r\n \"typeProperties\": {\r\n \"tableName\": \"myTable\"\r\n },\r\n \"linkedServiceName\": \"foo2\",\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n }\r\n }\r\n}", "RequestHeaders": { @@ -589,13 +589,13 @@ "283" ], "x-ms-client-request-id": [ - "bda0878b-087c-4b01-ab8e-6c2dd8b7f6cb" + "a8e9ca58-b293-474a-a9b3-ee4028f1bdec" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"foo2\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk974/providers/Microsoft.DataFactory/datafactories/onesdk3294/tables/foo2\",\r\n \"properties\": {\r\n \"published\": false,\r\n \"type\": \"CustomDataset\",\r\n \"linkedServiceName\": \"foo2\",\r\n \"typeProperties\": {\r\n \"tableName\": \"myTable\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"createTime\": \"2015-07-11T21:05:49.5667822Z\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"foo2\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1946/providers/Microsoft.DataFactory/datafactories/onesdk585/tables/foo2\",\r\n \"properties\": {\r\n \"published\": false,\r\n \"type\": \"CustomDataset\",\r\n \"linkedServiceName\": \"foo2\",\r\n \"typeProperties\": {\r\n \"tableName\": \"myTable\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"createTime\": \"2015-07-31T04:11:32.6748863Z\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "423" @@ -610,16 +610,16 @@ "no-cache" ], "x-ms-request-id": [ - "8c72c87b-78e1-4719-8450-e43593b38c30" + "1ca1dfe1-ec8f-405c-92ac-292c554484f7" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1192" + "1156" ], "x-ms-correlation-request-id": [ - "83698d0a-b41b-410b-9a6a-004cd70a11a6" + "790f1d87-f7a2-45ba-a675-2bff0aa91c0a" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210549Z:83698d0a-b41b-410b-9a6a-004cd70a11a6" + "NORTHEUROPE:20150731T041133Z:790f1d87-f7a2-45ba-a675-2bff0aa91c0a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -628,10 +628,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:05:49 GMT" + "Fri, 31 Jul 2015 04:11:32 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk974/providers/Microsoft.DataFactory/datafactories/onesdk3294/tables/foo2?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1946/providers/Microsoft.DataFactory/datafactories/onesdk585/tables/foo2?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -643,82 +643,22 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk974/providers/Microsoft.DataFactory/datafactories/onesdk3294/tables/foo2?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazk3NC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrMzI5NC90YWJsZXMvZm9vMj9hcGktdmVyc2lvbj0yMDE1LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1946/providers/Microsoft.DataFactory/datafactories/onesdk585/tables/foo2?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE5NDYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazU4NS90YWJsZXMvZm9vMj9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "545fe732-79cd-4044-8fac-a80adf6a1f25" + "9ee7e953-edbe-4fcf-840c-5061589f5ce3" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"foo2\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk974/providers/Microsoft.DataFactory/datafactories/onesdk3294/tables/foo2\",\r\n \"properties\": {\r\n \"published\": false,\r\n \"type\": \"CustomDataset\",\r\n \"linkedServiceName\": \"foo2\",\r\n \"typeProperties\": {\r\n \"tableName\": \"myTable\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"createTime\": \"2015-07-11T21:05:49.5667822Z\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "423" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "fe047fec-beef-4f35-9a24-f2cbc6b598bc" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14986" - ], - "x-ms-correlation-request-id": [ - "38356fe4-19a3-4d26-9fac-c2b5eb635e46" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210550Z:38356fe4-19a3-4d26-9fac-c2b5eb635e46" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Sat, 11 Jul 2015 21:05:49 GMT" - ], - "Server": [ - "Microsoft-IIS/8.5" - ], - "X-Powered-By": [ - "ASP.NET" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk974/providers/Microsoft.DataFactory/datafactories/onesdk3294/tables/foo2?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazk3NC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrMzI5NC90YWJsZXMvZm9vMj9hcGktdmVyc2lvbj0yMDE1LTA3LTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "d0b61702-30ff-4597-a429-6dc63da6db58" - ], - "x-ms-version": [ - "2015-07-01-preview" - ], - "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"name\": \"foo2\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk974/providers/Microsoft.DataFactory/datafactories/onesdk3294/tables/foo2\",\r\n \"properties\": {\r\n \"published\": false,\r\n \"type\": \"CustomDataset\",\r\n \"linkedServiceName\": \"foo2\",\r\n \"typeProperties\": {\r\n \"tableName\": \"myTable\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"createTime\": \"2015-07-11T21:05:49.5023719Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"foo2\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1946/providers/Microsoft.DataFactory/datafactories/onesdk585/tables/foo2\",\r\n \"properties\": {\r\n \"published\": false,\r\n \"type\": \"CustomDataset\",\r\n \"linkedServiceName\": \"foo2\",\r\n \"typeProperties\": {\r\n \"tableName\": \"myTable\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"createTime\": \"2015-07-31T04:11:33.0902318Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "417" @@ -733,16 +673,16 @@ "no-cache" ], "x-ms-request-id": [ - "251465f3-72b6-47c2-a604-76ed125d4559" + "9d99cc31-8438-4dfc-85b3-80d03b83fdab" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14985" + "14928" ], "x-ms-correlation-request-id": [ - "62acaa2c-c132-4d9c-81d8-dce0c2bf2e3a" + "f3af2b4d-ff2d-4074-968f-355da4527924" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210555Z:62acaa2c-c132-4d9c-81d8-dce0c2bf2e3a" + "NORTHEUROPE:20150731T041133Z:f3af2b4d-ff2d-4074-968f-355da4527924" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -751,7 +691,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:05:55 GMT" + "Fri, 31 Jul 2015 04:11:33 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -763,19 +703,19 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk974/providers/Microsoft.DataFactory/datafactories/onesdk3294/tables/foo2?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazk3NC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrMzI5NC90YWJsZXMvZm9vMj9hcGktdmVyc2lvbj0yMDE1LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1946/providers/Microsoft.DataFactory/datafactories/onesdk585/tables/foo2?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE5NDYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazU4NS90YWJsZXMvZm9vMj9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "0240f5b9-64c0-4aef-8d74-ce80f21fae72" + "e8a8c32c-be76-44a7-aa5c-9c00d8422902" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"foo2\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk974/providers/Microsoft.DataFactory/datafactories/onesdk3294/tables/foo2\",\r\n \"properties\": {\r\n \"published\": false,\r\n \"type\": \"CustomDataset\",\r\n \"linkedServiceName\": \"foo2\",\r\n \"typeProperties\": {\r\n \"tableName\": \"myTable\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"createTime\": \"2015-07-11T21:05:49.5023719Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"foo2\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1946/providers/Microsoft.DataFactory/datafactories/onesdk585/tables/foo2\",\r\n \"properties\": {\r\n \"published\": false,\r\n \"type\": \"CustomDataset\",\r\n \"linkedServiceName\": \"foo2\",\r\n \"typeProperties\": {\r\n \"tableName\": \"myTable\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"createTime\": \"2015-07-31T04:11:33.0902318Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "417" @@ -790,16 +730,16 @@ "no-cache" ], "x-ms-request-id": [ - "9d033875-9b50-4e33-970e-b57918409eec" + "57ba75ac-c6f1-431b-8b81-d4ccdf42a41d" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14984" + "14927" ], "x-ms-correlation-request-id": [ - "d3406f4e-7aa2-49d4-9055-3ed1eaefcd37" + "caed4626-7144-413e-beca-22573bc8a3d3" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210555Z:d3406f4e-7aa2-49d4-9055-3ed1eaefcd37" + "NORTHEUROPE:20150731T041133Z:caed4626-7144-413e-beca-22573bc8a3d3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -808,7 +748,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:05:55 GMT" + "Fri, 31 Jul 2015 04:11:33 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -820,16 +760,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk974/providers/Microsoft.DataFactory/datafactories/onesdk3294/tables/foo2?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazk3NC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrMzI5NC90YWJsZXMvZm9vMj9hcGktdmVyc2lvbj0yMDE1LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1946/providers/Microsoft.DataFactory/datafactories/onesdk585/tables/foo2?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE5NDYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazU4NS90YWJsZXMvZm9vMj9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "cdd7df77-7486-4c97-89af-6dacb6f4c760" + "446a1268-c312-43c0-9d9f-0bf550510880" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -847,76 +787,16 @@ "15" ], "x-ms-request-id": [ - "16039d69-0ec0-47d0-945b-d7f9e379afcb" + "0dd45948-ba42-41ec-817b-22524ba6aa0d" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1191" - ], - "x-ms-correlation-request-id": [ - "93d5a3ee-e89d-4866-af30-2f64e65c37b8" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210555Z:93d5a3ee-e89d-4866-af30-2f64e65c37b8" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Sat, 11 Jul 2015 21:05:55 GMT" - ], - "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk974/providers/Microsoft.DataFactory/datafactories/onesdk3294/tables/foo2/operationresults/1b9f0a6c27d34fe8a203a2e9a0f49b8e?api-version=2015-07-01-preview" - ], - "Server": [ - "Microsoft-IIS/8.5" - ], - "X-Powered-By": [ - "ASP.NET" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk974/providers/Microsoft.DataFactory/datafactories/onesdk3294/tables/foo2/operationresults/1b9f0a6c27d34fe8a203a2e9a0f49b8e?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazk3NC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrMzI5NC90YWJsZXMvZm9vMi9vcGVyYXRpb25yZXN1bHRzLzFiOWYwYTZjMjdkMzRmZThhMjAzYTJlOWEwZjQ5YjhlP2FwaS12ZXJzaW9uPTIwMTUtMDctMDEtcHJldmlldw==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-version": [ - "2015-07-01-preview" - ], - "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Retry-After": [ - "15" - ], - "x-ms-request-id": [ - "51653811-6470-4c8e-8584-c47112178b7a" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14983" + "1155" ], "x-ms-correlation-request-id": [ - "56a65ad8-4107-4d16-b9e6-cd214be76cf7" + "51924067-15ad-4159-b5d1-d12ebd7b726e" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210555Z:56a65ad8-4107-4d16-b9e6-cd214be76cf7" + "NORTHEUROPE:20150731T041134Z:51924067-15ad-4159-b5d1-d12ebd7b726e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -925,10 +805,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:05:55 GMT" + "Fri, 31 Jul 2015 04:11:33 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk974/providers/Microsoft.DataFactory/datafactories/onesdk3294/tables/foo2/operationresults/1b9f0a6c27d34fe8a203a2e9a0f49b8e?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1946/providers/Microsoft.DataFactory/datafactories/onesdk585/tables/foo2/operationresults/2b271c23b03446d395749f1e0cdce1a0?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -940,16 +820,16 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk974/providers/Microsoft.DataFactory/datafactories/onesdk3294/tables/foo2/operationresults/1b9f0a6c27d34fe8a203a2e9a0f49b8e?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazk3NC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrMzI5NC90YWJsZXMvZm9vMi9vcGVyYXRpb25yZXN1bHRzLzFiOWYwYTZjMjdkMzRmZThhMjAzYTJlOWEwZjQ5YjhlP2FwaS12ZXJzaW9uPTIwMTUtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1946/providers/Microsoft.DataFactory/datafactories/onesdk585/tables/foo2/operationresults/2b271c23b03446d395749f1e0cdce1a0?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE5NDYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazU4NS90YWJsZXMvZm9vMi9vcGVyYXRpb25yZXN1bHRzLzJiMjcxYzIzYjAzNDQ2ZDM5NTc0OWYxZTBjZGNlMWEwP2FwaS12ZXJzaW9uPTIwMTUtMDgtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -964,16 +844,16 @@ "no-cache" ], "x-ms-request-id": [ - "d5268b14-8ce5-4ee8-9484-54bac854147b" + "dc7540d9-effe-4ef5-b746-1dfc4674a7f4" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14982" + "14926" ], "x-ms-correlation-request-id": [ - "52bd2b60-ac25-44eb-b6e5-bc4e5144ad56" + "7901bfa8-391b-4016-af74-f15638399e87" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210611Z:52bd2b60-ac25-44eb-b6e5-bc4e5144ad56" + "NORTHEUROPE:20150731T041134Z:7901bfa8-391b-4016-af74-f15638399e87" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -982,7 +862,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:06:10 GMT" + "Fri, 31 Jul 2015 04:11:34 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -994,16 +874,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk974/providers/Microsoft.DataFactory/datafactories/onesdk3294?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazk3NC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrMzI5ND9hcGktdmVyc2lvbj0yMDE1LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk1946/providers/Microsoft.DataFactory/datafactories/onesdk585?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazE5NDYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazU4NT9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "1f1b74d0-7906-46dd-af63-c854bdf23746" + "dfd5bde1-2c09-4f85-a5ec-279276c9d459" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -1018,16 +898,16 @@ "no-cache" ], "x-ms-request-id": [ - "8fb2d007-0c39-4378-9586-aa3a3c68545c" + "5386c49b-9ba4-44a0-acb8-a419643a2b55" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1190" + "1154" ], "x-ms-correlation-request-id": [ - "33bf9917-cc0b-41cc-a8bd-0a096b11048b" + "fc15389c-d2f9-4731-841e-d2836e013b97" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210612Z:33bf9917-cc0b-41cc-a8bd-0a096b11048b" + "NORTHEUROPE:20150731T041135Z:fc15389c-d2f9-4731-841e-d2836e013b97" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1036,7 +916,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:06:11 GMT" + "Fri, 31 Jul 2015 04:11:35 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -1050,8 +930,8 @@ ], "Names": { "Test-Table": [ - "onesdk3294", - "onesdk974" + "onesdk585", + "onesdk1946" ] }, "Variables": { diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.TableTests/TestTablePiping.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.TableTests/TestTablePiping.json index 966c6b06efc4..633801b0ca88 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.TableTests/TestTablePiping.json +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.TableTests/TestTablePiping.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6223?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMjM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5696?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU2OTY/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -28,16 +28,16 @@ "gateway" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14990" + "14945" ], "x-ms-request-id": [ - "3077e3be-af35-403c-bd9f-f480793d71cd" + "d160ceb1-cdaf-46a0-9f3b-390123bdf7af" ], "x-ms-correlation-request-id": [ - "3077e3be-af35-403c-bd9f-f480793d71cd" + "d160ceb1-cdaf-46a0-9f3b-390123bdf7af" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210650Z:3077e3be-af35-403c-bd9f-f480793d71cd" + "NORTHEUROPE:20150731T040959Z:d160ceb1-cdaf-46a0-9f3b-390123bdf7af" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -46,14 +46,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:06:50 GMT" + "Fri, 31 Jul 2015 04:09:59 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6223?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMjM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5696?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU2OTY/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"Brazil South\"\r\n}", "RequestHeaders": { @@ -67,7 +67,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk6223\",\r\n \"name\": \"onesdk6223\",\r\n \"location\": \"brazilsouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk5696\",\r\n \"name\": \"onesdk5696\",\r\n \"location\": \"brazilsouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "178" @@ -82,16 +82,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" + "1165" ], "x-ms-request-id": [ - "f33f86dc-8a45-4e5f-baba-a1c70505f4ab" + "cb4b1153-4f19-4334-928b-9fb26360286f" ], "x-ms-correlation-request-id": [ - "f33f86dc-8a45-4e5f-baba-a1c70505f4ab" + "cb4b1153-4f19-4334-928b-9fb26360286f" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210651Z:f33f86dc-8a45-4e5f-baba-a1c70505f4ab" + "NORTHEUROPE:20150731T041000Z:cb4b1153-4f19-4334-928b-9fb26360286f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -100,14 +100,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:06:50 GMT" + "Fri, 31 Jul 2015 04:10:00 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk6223/resources?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlR3JvdXBzL29uZXNkazYyMjMvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk5696/resources?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlR3JvdXBzL29uZXNkazU2OTYvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -130,16 +130,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14989" + "14944" ], "x-ms-request-id": [ - "9dfb30f8-2857-4d1d-9eae-cc058f8ed6f5" + "7ddb3777-06b0-429b-b893-94273a24193f" ], "x-ms-correlation-request-id": [ - "9dfb30f8-2857-4d1d-9eae-cc058f8ed6f5" + "7ddb3777-06b0-429b-b893-94273a24193f" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210651Z:9dfb30f8-2857-4d1d-9eae-cc058f8ed6f5" + "NORTHEUROPE:20150731T041001Z:7ddb3777-06b0-429b-b893-94273a24193f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -148,14 +148,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:06:50 GMT" + "Fri, 31 Jul 2015 04:10:00 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6223/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMjMvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5696/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU2OTYvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -181,16 +181,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "centralus:68666dd4-a9a8-4cd1-8cea-c32a3a73b082" + "westeurope:dae2bcd5-f04a-4612-87dd-5a79e36915eb" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14992" + "14977" ], "x-ms-correlation-request-id": [ - "1657bcac-bed0-4e02-a07d-28a0cd864d9b" + "1b07be2a-995f-4e56-8a00-55f5f18bbaeb" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210651Z:1657bcac-bed0-4e02-a07d-28a0cd864d9b" + "NORTHEUROPE:20150731T041001Z:1b07be2a-995f-4e56-8a00-55f5f18bbaeb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -199,16 +199,16 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:06:51 GMT" + "Fri, 31 Jul 2015 04:10:01 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6223/providers/Microsoft.DataFactory/datafactories/onesdk9133?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMjMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazkxMzM/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5696/providers/Microsoft.DataFactory/datafactories/onesdk5279?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU2OTYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazUyNzk/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"name\": \"onesdk9133\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {}\r\n}", + "RequestBody": "{\r\n \"name\": \"onesdk5279\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {}\r\n}", "RequestHeaders": { "Content-Type": [ "application/json" @@ -217,13 +217,13 @@ "74" ], "x-ms-client-request-id": [ - "7285931a-2115-4019-801f-53e0fc680d3a" + "f7ddab41-b1af-4852-ac11-6964c025d270" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk9133\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6223/providers/Microsoft.DataFactory/datafactories/onesdk9133\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"d548bb5f-dcb8-4b02-908d-b2ea4a9be927\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk5279\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5696/providers/Microsoft.DataFactory/datafactories/onesdk5279\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"48a58b55-4655-4334-845c-c496b4fc4ef0\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "449" @@ -238,16 +238,16 @@ "no-cache" ], "x-ms-request-id": [ - "23005545-027d-4bd9-98f2-4cb888cb5ade" + "90f7715e-63bb-4463-bd84-7e3b28af14ef" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1186" + "1164" ], "x-ms-correlation-request-id": [ - "51907dd2-1c03-453c-a688-53ee39c8dbad" + "748cc6e9-4405-4b1e-9e27-7be1046036ef" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210653Z:51907dd2-1c03-453c-a688-53ee39c8dbad" + "NORTHEUROPE:20150731T041004Z:748cc6e9-4405-4b1e-9e27-7be1046036ef" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -256,10 +256,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:06:53 GMT" + "Fri, 31 Jul 2015 04:10:04 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6223/providers/Microsoft.DataFactory/datafactories/onesdk9133?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5696/providers/Microsoft.DataFactory/datafactories/onesdk5279?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -271,22 +271,22 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6223/providers/Microsoft.DataFactory/datafactories/onesdk9133?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMjMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazkxMzM/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5696/providers/Microsoft.DataFactory/datafactories/onesdk5279?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU2OTYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazUyNzk/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "46193978-f58d-4772-9e88-f5513aa7e1ac" + "5c5733a1-24af-4380-aeaf-455db70f13e8" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk9133\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6223/providers/Microsoft.DataFactory/datafactories/onesdk9133\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"d548bb5f-dcb8-4b02-908d-b2ea4a9be927\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk5279\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5696/providers/Microsoft.DataFactory/datafactories/onesdk5279\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"48a58b55-4655-4334-845c-c496b4fc4ef0\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "449" @@ -301,16 +301,16 @@ "no-cache" ], "x-ms-request-id": [ - "f5c9878e-bc46-47d4-9e40-82424080be32" + "f51a5c98-f72a-4092-8e8c-8b6512a2a8ac" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14962" + "14943" ], "x-ms-correlation-request-id": [ - "b53ca8aa-8f19-4fd1-8a98-4a467ea5e0c8" + "f5899523-e8ca-4d52-bb91-e671cbce1430" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210653Z:b53ca8aa-8f19-4fd1-8a98-4a467ea5e0c8" + "NORTHEUROPE:20150731T041004Z:f5899523-e8ca-4d52-bb91-e671cbce1430" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -319,7 +319,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:06:53 GMT" + "Fri, 31 Jul 2015 04:10:04 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -331,82 +331,22 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6223/providers/Microsoft.DataFactory/datafactories/onesdk9133?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMjMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazkxMzM/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5696/providers/Microsoft.DataFactory/datafactories/onesdk5279?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU2OTYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazUyNzk/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "d2a630d8-4367-4ade-ba87-1f70664d0c30" + "927a1bab-103c-4f3a-91ee-4693be6c8f85" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk9133\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6223/providers/Microsoft.DataFactory/datafactories/onesdk9133\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"d548bb5f-dcb8-4b02-908d-b2ea4a9be927\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "449" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "34000d3e-168b-4362-ba2e-9d24dbc792ef" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14961" - ], - "x-ms-correlation-request-id": [ - "f8eabc6b-963c-4306-b8f9-529c93fccc80" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210658Z:f8eabc6b-963c-4306-b8f9-529c93fccc80" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Sat, 11 Jul 2015 21:06:58 GMT" - ], - "Server": [ - "Microsoft-IIS/8.5" - ], - "X-Powered-By": [ - "ASP.NET" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6223/providers/Microsoft.DataFactory/datafactories/onesdk9133?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMjMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazkxMzM/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "ad0e18c0-88bc-496e-aae3-0ddebad8c22b" - ], - "x-ms-version": [ - "2015-07-01-preview" - ], - "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"name\": \"onesdk9133\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6223/providers/Microsoft.DataFactory/datafactories/onesdk9133\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"d548bb5f-dcb8-4b02-908d-b2ea4a9be927\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk5279\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5696/providers/Microsoft.DataFactory/datafactories/onesdk5279\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"48a58b55-4655-4334-845c-c496b4fc4ef0\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "443" @@ -421,16 +361,16 @@ "no-cache" ], "x-ms-request-id": [ - "cf74b344-dca1-4237-91c1-313cf1ab575a" + "cd5ba9f5-bce8-4c9c-97a1-4c12a7493e3a" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14960" + "14942" ], "x-ms-correlation-request-id": [ - "6913bfd6-a74f-4d11-96c7-5e2e512ebca4" + "e662100b-793e-4d67-83cf-bed01779c819" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210704Z:6913bfd6-a74f-4d11-96c7-5e2e512ebca4" + "NORTHEUROPE:20150731T041009Z:e662100b-793e-4d67-83cf-bed01779c819" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -439,7 +379,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:07:04 GMT" + "Fri, 31 Jul 2015 04:10:09 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -451,8 +391,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6223/providers/Microsoft.DataFactory/datafactories/onesdk9133/linkedservices/foo2?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMjMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazkxMzMvbGlua2Vkc2VydmljZXMvZm9vMj9hcGktdmVyc2lvbj0yMDE1LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5696/providers/Microsoft.DataFactory/datafactories/onesdk5279/linkedservices/foo2?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU2OTYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazUyNzkvbGlua2Vkc2VydmljZXMvZm9vMj9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"name\": \"foo2\",\r\n \"properties\": {\r\n \"type\": \"AzureStorage\",\r\n \"typeProperties\": {\r\n \"connectionString\": \"myfakeconnectionstring\"\r\n }\r\n }\r\n}", "RequestHeaders": { @@ -463,16 +403,16 @@ "175" ], "x-ms-client-request-id": [ - "3665100e-2fd9-4df1-ab29-20b7f50e8e65" + "5dab8948-e41b-44a4-bf14-65a9ce3122fb" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6223/providers/Microsoft.DataFactory/datafactories/onesdk9133/linkedservices/foo2\",\r\n \"name\": \"foo2\",\r\n \"properties\": {\r\n \"hubName\": \"onesdk9133_hub\",\r\n \"type\": \"AzureStorage\",\r\n \"typeProperties\": {\r\n \"connectionString\": \"myfakeconnectionstring\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5696/providers/Microsoft.DataFactory/datafactories/onesdk5279/linkedservices/foo2\",\r\n \"name\": \"foo2\",\r\n \"properties\": {\r\n \"hubName\": \"onesdk5279_hub\",\r\n \"type\": \"AzureStorage\",\r\n \"typeProperties\": {\r\n \"connectionString\": \"myfakeconnectionstring\"\r\n },\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "336" + "342" ], "Content-Type": [ "application/json; charset=utf-8" @@ -484,16 +424,16 @@ "no-cache" ], "x-ms-request-id": [ - "45e9996f-c9c1-4ef3-aa1d-3a401ddeebe2" + "c85f9355-77c6-45a1-a303-3871897a6ed1" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1185" + "1163" ], "x-ms-correlation-request-id": [ - "80e5c93c-af51-43d8-bd67-4c88468dd815" + "18385e7e-7a4e-4902-85c4-906f98b2b03c" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210704Z:80e5c93c-af51-43d8-bd67-4c88468dd815" + "NORTHEUROPE:20150731T041011Z:18385e7e-7a4e-4902-85c4-906f98b2b03c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -502,10 +442,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:07:04 GMT" + "Fri, 31 Jul 2015 04:10:10 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6223/providers/Microsoft.DataFactory/datafactories/onesdk9133/linkedservices/foo2?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5696/providers/Microsoft.DataFactory/datafactories/onesdk5279/linkedservices/foo2?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -517,22 +457,22 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6223/providers/Microsoft.DataFactory/datafactories/onesdk9133/linkedservices/foo2?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMjMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazkxMzMvbGlua2Vkc2VydmljZXMvZm9vMj9hcGktdmVyc2lvbj0yMDE1LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5696/providers/Microsoft.DataFactory/datafactories/onesdk5279/linkedservices/foo2?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU2OTYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazUyNzkvbGlua2Vkc2VydmljZXMvZm9vMj9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "d0a41144-3ae9-4615-be5d-f59152c5262f" + "4ae12aa5-b2b2-40d5-8a32-2f5f2b41af98" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6223/providers/Microsoft.DataFactory/datafactories/onesdk9133/linkedservices/foo2\",\r\n \"name\": \"foo2\",\r\n \"properties\": {\r\n \"hubName\": \"onesdk9133_hub\",\r\n \"type\": \"AzureStorage\",\r\n \"typeProperties\": {\r\n \"connectionString\": \"myfakeconnectionstring\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5696/providers/Microsoft.DataFactory/datafactories/onesdk5279/linkedservices/foo2\",\r\n \"name\": \"foo2\",\r\n \"properties\": {\r\n \"hubName\": \"onesdk5279_hub\",\r\n \"type\": \"AzureStorage\",\r\n \"typeProperties\": {\r\n \"connectionString\": \"myfakeconnectionstring\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "336" @@ -547,16 +487,16 @@ "no-cache" ], "x-ms-request-id": [ - "f45bcee1-5d68-4121-abba-6cf9a7d88c33" + "5d5939c7-b561-41a2-9006-9889aaa6472c" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14959" + "14941" ], "x-ms-correlation-request-id": [ - "6470b263-4a51-4ef1-82c7-cecf4c165b5f" + "f0154600-fc1c-49e2-8cf5-dcc786423844" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210704Z:6470b263-4a51-4ef1-82c7-cecf4c165b5f" + "NORTHEUROPE:20150731T041011Z:f0154600-fc1c-49e2-8cf5-dcc786423844" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -565,7 +505,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:07:04 GMT" + "Fri, 31 Jul 2015 04:10:11 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -577,8 +517,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6223/providers/Microsoft.DataFactory/datafactories/onesdk9133/tables/foo2?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMjMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazkxMzMvdGFibGVzL2ZvbzI/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5696/providers/Microsoft.DataFactory/datafactories/onesdk5279/tables/foo2?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU2OTYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazUyNzkvdGFibGVzL2ZvbzI/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "PUT", "RequestBody": "{\r\n \"name\": \"foo1\",\r\n \"properties\": {\r\n \"type\": \"CustomDataSet\",\r\n \"typeProperties\": {\r\n \"tableName\": \"myTable\"\r\n },\r\n \"linkedServiceName\": \"foo2\",\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n }\r\n }\r\n}", "RequestHeaders": { @@ -589,13 +529,13 @@ "283" ], "x-ms-client-request-id": [ - "cad08b48-f97c-400a-96e9-69471f5c957d" + "fb1729c3-f69d-4b05-860b-9a93c4e56cf8" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"foo2\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6223/providers/Microsoft.DataFactory/datafactories/onesdk9133/tables/foo2\",\r\n \"properties\": {\r\n \"published\": false,\r\n \"type\": \"CustomDataset\",\r\n \"linkedServiceName\": \"foo2\",\r\n \"typeProperties\": {\r\n \"tableName\": \"myTable\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"createTime\": \"2015-07-11T21:07:04.6236622Z\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"foo2\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5696/providers/Microsoft.DataFactory/datafactories/onesdk5279/tables/foo2\",\r\n \"properties\": {\r\n \"published\": false,\r\n \"type\": \"CustomDataset\",\r\n \"linkedServiceName\": \"foo2\",\r\n \"typeProperties\": {\r\n \"tableName\": \"myTable\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"createTime\": \"2015-07-31T04:10:12.6491185Z\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "424" @@ -610,16 +550,16 @@ "no-cache" ], "x-ms-request-id": [ - "e598a547-ef62-43bb-a851-424b7f1572ff" + "22d36a37-8212-457c-a0ce-e3af7f9f9786" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1184" + "1162" ], "x-ms-correlation-request-id": [ - "a63811b5-f639-4d58-828b-5b3097142398" + "33bebb7e-52da-4ad2-aa2c-26c1813d4d7b" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210705Z:a63811b5-f639-4d58-828b-5b3097142398" + "NORTHEUROPE:20150731T041013Z:33bebb7e-52da-4ad2-aa2c-26c1813d4d7b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -628,10 +568,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:07:05 GMT" + "Fri, 31 Jul 2015 04:10:13 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6223/providers/Microsoft.DataFactory/datafactories/onesdk9133/tables/foo2?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5696/providers/Microsoft.DataFactory/datafactories/onesdk5279/tables/foo2?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -643,22 +583,22 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6223/providers/Microsoft.DataFactory/datafactories/onesdk9133/tables/foo2?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMjMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazkxMzMvdGFibGVzL2ZvbzI/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5696/providers/Microsoft.DataFactory/datafactories/onesdk5279/tables/foo2?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU2OTYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazUyNzkvdGFibGVzL2ZvbzI/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "f3d3f588-85a0-4154-b378-10d3f6f472d1" + "103991ba-656c-499e-8b0c-c4851668a5be" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"foo2\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6223/providers/Microsoft.DataFactory/datafactories/onesdk9133/tables/foo2\",\r\n \"properties\": {\r\n \"published\": false,\r\n \"type\": \"CustomDataset\",\r\n \"linkedServiceName\": \"foo2\",\r\n \"typeProperties\": {\r\n \"tableName\": \"myTable\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"createTime\": \"2015-07-11T21:07:04.6236622Z\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"foo2\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5696/providers/Microsoft.DataFactory/datafactories/onesdk5279/tables/foo2\",\r\n \"properties\": {\r\n \"published\": false,\r\n \"type\": \"CustomDataset\",\r\n \"linkedServiceName\": \"foo2\",\r\n \"typeProperties\": {\r\n \"tableName\": \"myTable\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"createTime\": \"2015-07-31T04:10:12.6491185Z\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "424" @@ -673,16 +613,16 @@ "no-cache" ], "x-ms-request-id": [ - "096dca08-6494-4e9e-9293-f0a89bdd1a9f" + "695d00da-2da9-41c5-8afd-74d3ce80f7bf" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14958" + "14940" ], "x-ms-correlation-request-id": [ - "96e49e44-beb7-4102-8c00-ba47701ea943" + "d2db4169-996d-4b73-8f64-7a2b0a4aa6a7" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210705Z:96e49e44-beb7-4102-8c00-ba47701ea943" + "NORTHEUROPE:20150731T041013Z:d2db4169-996d-4b73-8f64-7a2b0a4aa6a7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -691,7 +631,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:07:05 GMT" + "Fri, 31 Jul 2015 04:10:13 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -703,22 +643,22 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6223/providers/Microsoft.DataFactory/datafactories/onesdk9133/tables/foo2?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMjMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazkxMzMvdGFibGVzL2ZvbzI/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5696/providers/Microsoft.DataFactory/datafactories/onesdk5279/tables/foo2?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU2OTYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazUyNzkvdGFibGVzL2ZvbzI/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "c9ff854d-bafa-4790-a13f-66fd5f70b37c" + "031a476c-9368-48db-9e2b-9731ecf464ea" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"foo2\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6223/providers/Microsoft.DataFactory/datafactories/onesdk9133/tables/foo2\",\r\n \"properties\": {\r\n \"published\": false,\r\n \"type\": \"CustomDataset\",\r\n \"linkedServiceName\": \"foo2\",\r\n \"typeProperties\": {\r\n \"tableName\": \"myTable\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"createTime\": \"2015-07-11T21:07:04.5490895Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"foo2\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5696/providers/Microsoft.DataFactory/datafactories/onesdk5279/tables/foo2\",\r\n \"properties\": {\r\n \"published\": false,\r\n \"type\": \"CustomDataset\",\r\n \"linkedServiceName\": \"foo2\",\r\n \"typeProperties\": {\r\n \"tableName\": \"myTable\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"createTime\": \"2015-07-31T04:10:12.7007344Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "418" @@ -733,16 +673,16 @@ "no-cache" ], "x-ms-request-id": [ - "5d7cef80-0fac-4252-b9d8-8a94b4ccdab4" + "98c50ae4-17a9-40f2-85c6-84c28abbe525" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14957" + "14939" ], "x-ms-correlation-request-id": [ - "7edf5c3a-09c8-4fc4-8d4d-a2ad01ba6015" + "521ca3ca-06d0-4d5e-9c70-9d6806473060" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210712Z:7edf5c3a-09c8-4fc4-8d4d-a2ad01ba6015" + "NORTHEUROPE:20150731T041019Z:521ca3ca-06d0-4d5e-9c70-9d6806473060" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -751,7 +691,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:07:11 GMT" + "Fri, 31 Jul 2015 04:10:18 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -763,19 +703,19 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6223/providers/Microsoft.DataFactory/datafactories/onesdk9133/tables/foo2?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMjMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazkxMzMvdGFibGVzL2ZvbzI/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5696/providers/Microsoft.DataFactory/datafactories/onesdk5279/tables/foo2?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU2OTYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazUyNzkvdGFibGVzL2ZvbzI/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "d09024de-d58b-4dc1-a00d-dd4e4f9e46d5" + "9f21b9f8-5d0a-4c4c-b0a1-294c0e48def4" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"foo2\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6223/providers/Microsoft.DataFactory/datafactories/onesdk9133/tables/foo2\",\r\n \"properties\": {\r\n \"published\": false,\r\n \"type\": \"CustomDataset\",\r\n \"linkedServiceName\": \"foo2\",\r\n \"typeProperties\": {\r\n \"tableName\": \"myTable\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"createTime\": \"2015-07-11T21:07:04.5490895Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"foo2\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5696/providers/Microsoft.DataFactory/datafactories/onesdk5279/tables/foo2\",\r\n \"properties\": {\r\n \"published\": false,\r\n \"type\": \"CustomDataset\",\r\n \"linkedServiceName\": \"foo2\",\r\n \"typeProperties\": {\r\n \"tableName\": \"myTable\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"createTime\": \"2015-07-31T04:10:12.7007344Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "418" @@ -790,16 +730,16 @@ "no-cache" ], "x-ms-request-id": [ - "d0da896c-598a-4113-b3fe-484943394fb3" + "b60e1806-997f-4083-95dc-df961f6493c8" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14956" + "14938" ], "x-ms-correlation-request-id": [ - "da71e738-603b-4803-8fa3-98694449a5d5" + "2b620dbd-db48-4920-8c9c-fc12ef497854" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210713Z:da71e738-603b-4803-8fa3-98694449a5d5" + "NORTHEUROPE:20150731T041019Z:2b620dbd-db48-4920-8c9c-fc12ef497854" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -808,7 +748,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:07:14 GMT" + "Fri, 31 Jul 2015 04:10:18 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -820,16 +760,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6223/providers/Microsoft.DataFactory/datafactories/onesdk9133/tables/foo2?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMjMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazkxMzMvdGFibGVzL2ZvbzI/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5696/providers/Microsoft.DataFactory/datafactories/onesdk5279/tables/foo2?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU2OTYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazUyNzkvdGFibGVzL2ZvbzI/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ce62ce07-26bc-48cb-a8cb-725862e584c5" + "9f91801d-2364-4e2c-87bf-5d844ed667d0" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "{\r\n \"message\": \"Table foo2 not found.\",\r\n \"code\": \"TableNotFound\"\r\n}", @@ -847,16 +787,16 @@ "no-cache" ], "x-ms-request-id": [ - "9f6b079f-3b0d-4fdf-9126-90597705683a" + "cc53babf-f3fa-4805-9f8d-d2c6f90aa82d" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14954" + "14935" ], "x-ms-correlation-request-id": [ - "ac850c42-cf57-4a7b-bd79-566a94a1e901" + "ca52b7df-9022-407f-8a09-9f5a38575353" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210729Z:ac850c42-cf57-4a7b-bd79-566a94a1e901" + "NORTHEUROPE:20150731T041036Z:ca52b7df-9022-407f-8a09-9f5a38575353" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -865,7 +805,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:07:29 GMT" + "Fri, 31 Jul 2015 04:10:35 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -877,16 +817,16 @@ "StatusCode": 404 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6223/providers/Microsoft.DataFactory/datafactories/onesdk9133/tables/foo2?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMjMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazkxMzMvdGFibGVzL2ZvbzI/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5696/providers/Microsoft.DataFactory/datafactories/onesdk5279/tables/foo2?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU2OTYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazUyNzkvdGFibGVzL2ZvbzI/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "6625a125-49d0-443c-9c77-9dda8a0c43b8" + "36e02cad-2c01-4450-b73b-42bd76aafc9d" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -904,16 +844,76 @@ "15" ], "x-ms-request-id": [ - "3f55858d-1cca-4f0a-8301-740cc31d60a2" + "3fc93ccb-47e4-4884-aa6e-856c8d330e34" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1183" + "1161" + ], + "x-ms-correlation-request-id": [ + "e559e95b-f659-47ee-8a54-ab7211a878a2" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20150731T041019Z:e559e95b-f659-47ee-8a54-ab7211a878a2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 31 Jul 2015 04:10:19 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5696/providers/Microsoft.DataFactory/datafactories/onesdk5279/tables/foo2/operationresults/849369cd620e481fb45ce84db87f1cb1?api-version=2015-08-01" + ], + "Server": [ + "Microsoft-IIS/8.5" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5696/providers/Microsoft.DataFactory/datafactories/onesdk5279/tables/foo2/operationresults/849369cd620e481fb45ce84db87f1cb1?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU2OTYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazUyNzkvdGFibGVzL2ZvbzIvb3BlcmF0aW9ucmVzdWx0cy84NDkzNjljZDYyMGU0ODFmYjQ1Y2U4NGRiODdmMWNiMT9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2015-08-01" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-request-id": [ + "6c234a0d-a4f6-4e6a-b8af-4592437c6497" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14937" ], "x-ms-correlation-request-id": [ - "0b8ab2aa-ef5c-43a1-82b3-fbf3eb291b16" + "23ca3073-2a2b-49e5-a092-11a1dcd6bb2e" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210718Z:0b8ab2aa-ef5c-43a1-82b3-fbf3eb291b16" + "NORTHEUROPE:20150731T041020Z:23ca3073-2a2b-49e5-a092-11a1dcd6bb2e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -922,10 +922,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:07:17 GMT" + "Fri, 31 Jul 2015 04:10:19 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6223/providers/Microsoft.DataFactory/datafactories/onesdk9133/tables/foo2/operationresults/5f40cdc7414e45cdad3ef6f24367ec4f?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5696/providers/Microsoft.DataFactory/datafactories/onesdk5279/tables/foo2/operationresults/849369cd620e481fb45ce84db87f1cb1?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -937,16 +937,16 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6223/providers/Microsoft.DataFactory/datafactories/onesdk9133/tables/foo2/operationresults/5f40cdc7414e45cdad3ef6f24367ec4f?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMjMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazkxMzMvdGFibGVzL2ZvbzIvb3BlcmF0aW9ucmVzdWx0cy81ZjQwY2RjNzQxNGU0NWNkYWQzZWY2ZjI0MzY3ZWM0Zj9hcGktdmVyc2lvbj0yMDE1LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5696/providers/Microsoft.DataFactory/datafactories/onesdk5279/tables/foo2/operationresults/849369cd620e481fb45ce84db87f1cb1?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU2OTYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazUyNzkvdGFibGVzL2ZvbzIvb3BlcmF0aW9ucmVzdWx0cy84NDkzNjljZDYyMGU0ODFmYjQ1Y2U4NGRiODdmMWNiMT9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -961,16 +961,16 @@ "no-cache" ], "x-ms-request-id": [ - "52052c69-247e-4e9c-88df-4e9eb29984cb" + "ef37fba7-411b-424b-9648-a9dba77ec3d3" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14955" + "14936" ], "x-ms-correlation-request-id": [ - "029c9db8-8255-4a62-b683-2b0241f0c5a3" + "4a86d3fd-ef0b-49ea-b43a-720d95073793" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210720Z:029c9db8-8255-4a62-b683-2b0241f0c5a3" + "NORTHEUROPE:20150731T041035Z:4a86d3fd-ef0b-49ea-b43a-720d95073793" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -979,7 +979,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:07:21 GMT" + "Fri, 31 Jul 2015 04:10:35 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -991,16 +991,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk6223/providers/Microsoft.DataFactory/datafactories/onesdk9133?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMjMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazkxMzM/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk5696/providers/Microsoft.DataFactory/datafactories/onesdk5279?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazU2OTYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazUyNzk/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "9081cc02-a38f-4f25-8a08-1dc71bce0861" + "8d96a980-235d-4d3c-ba37-08b645f32e17" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -1015,16 +1015,16 @@ "no-cache" ], "x-ms-request-id": [ - "f256b336-bf3c-4fcb-997b-99cf9bc3ef63" + "5d509c66-cde7-43e1-b43e-cec58018f121" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1182" + "1160" ], "x-ms-correlation-request-id": [ - "27848bd3-42c6-42f6-92eb-d4d418ae2b07" + "43d674e1-a724-42fd-b043-ca37e9f53bbf" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210733Z:27848bd3-42c6-42f6-92eb-d4d418ae2b07" + "NORTHEUROPE:20150731T041037Z:43d674e1-a724-42fd-b043-ca37e9f53bbf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1033,7 +1033,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:07:32 GMT" + "Fri, 31 Jul 2015 04:10:37 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -1047,8 +1047,8 @@ ], "Names": { "Test-TablePiping": [ - "onesdk9133", - "onesdk6223" + "onesdk5279", + "onesdk5696" ] }, "Variables": { diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.TableTests/TestTableWithDataFactoryParameter.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.TableTests/TestTableWithDataFactoryParameter.json index 57aea1add6e5..740dde61234d 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.TableTests/TestTableWithDataFactoryParameter.json +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.TableTests/TestTableWithDataFactoryParameter.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8626?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazg2MjY/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9350?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazkzNTA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -28,16 +28,16 @@ "gateway" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14966" + "14957" ], "x-ms-request-id": [ - "5f11ca37-f9ae-4177-8f99-641ccea7f4d0" + "5ed987fc-434e-4ca8-9b05-181754ba2d77" ], "x-ms-correlation-request-id": [ - "5f11ca37-f9ae-4177-8f99-641ccea7f4d0" + "5ed987fc-434e-4ca8-9b05-181754ba2d77" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210426Z:5f11ca37-f9ae-4177-8f99-641ccea7f4d0" + "NORTHEUROPE:20150731T040837Z:5ed987fc-434e-4ca8-9b05-181754ba2d77" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -46,14 +46,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:04:26 GMT" + "Fri, 31 Jul 2015 04:08:37 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8626?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazg2MjY/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9350?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazkzNTA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"Brazil South\"\r\n}", "RequestHeaders": { @@ -67,7 +67,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk8626\",\r\n \"name\": \"onesdk8626\",\r\n \"location\": \"brazilsouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk9350\",\r\n \"name\": \"onesdk9350\",\r\n \"location\": \"brazilsouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "178" @@ -82,16 +82,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1188" + "1172" ], "x-ms-request-id": [ - "8359ee22-d719-4180-b1b1-10149488d7c3" + "6a502f67-7b82-43d2-9b3e-6a305ed6e3fd" ], "x-ms-correlation-request-id": [ - "8359ee22-d719-4180-b1b1-10149488d7c3" + "6a502f67-7b82-43d2-9b3e-6a305ed6e3fd" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210426Z:8359ee22-d719-4180-b1b1-10149488d7c3" + "NORTHEUROPE:20150731T040838Z:6a502f67-7b82-43d2-9b3e-6a305ed6e3fd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -100,14 +100,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:04:26 GMT" + "Fri, 31 Jul 2015 04:08:38 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk8626/resources?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlR3JvdXBzL29uZXNkazg2MjYvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourceGroups/onesdk9350/resources?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlR3JvdXBzL29uZXNkazkzNTAvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -130,16 +130,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14965" + "14956" ], "x-ms-request-id": [ - "8e155322-5352-463b-bd80-f5ec6b109d1b" + "b5ac155c-727d-421d-a29b-c2f3715ca179" ], "x-ms-correlation-request-id": [ - "8e155322-5352-463b-bd80-f5ec6b109d1b" + "b5ac155c-727d-421d-a29b-c2f3715ca179" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210426Z:8e155322-5352-463b-bd80-f5ec6b109d1b" + "NORTHEUROPE:20150731T040838Z:b5ac155c-727d-421d-a29b-c2f3715ca179" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -148,14 +148,14 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:04:26 GMT" + "Fri, 31 Jul 2015 04:08:38 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8626/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazg2MjYvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9350/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazkzNTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -181,16 +181,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "centralus:c744ad9d-3603-4c8f-bb3f-642e51ff21d0" + "westeurope:8492381d-bdf5-478e-b8fc-69c4af79680a" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14997" + "14978" ], "x-ms-correlation-request-id": [ - "c3ac03da-bc83-4ca4-a637-aa3fcdb18d05" + "4454ac7c-e96f-4f9e-9bed-efe43e9aa649" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210427Z:c3ac03da-bc83-4ca4-a637-aa3fcdb18d05" + "NORTHEUROPE:20150731T040839Z:4454ac7c-e96f-4f9e-9bed-efe43e9aa649" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -199,16 +199,16 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:04:27 GMT" + "Fri, 31 Jul 2015 04:08:39 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8626/providers/Microsoft.DataFactory/datafactories/onesdk1467?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazg2MjYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE0Njc/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9350/providers/Microsoft.DataFactory/datafactories/onesdk8555?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazkzNTAvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazg1NTU/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"name\": \"onesdk1467\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {}\r\n}", + "RequestBody": "{\r\n \"name\": \"onesdk8555\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {}\r\n}", "RequestHeaders": { "Content-Type": [ "application/json" @@ -217,13 +217,13 @@ "74" ], "x-ms-client-request-id": [ - "2cdcd16f-fa53-418e-b9cd-653f69dfed9f" + "cd389160-a0a8-47b0-ab6d-395451297481" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk1467\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8626/providers/Microsoft.DataFactory/datafactories/onesdk1467\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"698ea3d6-6021-459f-9969-77c4b3d867b1\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk8555\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9350/providers/Microsoft.DataFactory/datafactories/onesdk8555\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"1cc4dcb8-9990-4327-8db6-9c9f4c78e891\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "449" @@ -238,16 +238,16 @@ "no-cache" ], "x-ms-request-id": [ - "f2c9e7c5-2d56-4753-923c-380b8f57591c" + "498c8fbc-eb47-4722-b979-ad4a97b76e6e" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" + "1171" ], "x-ms-correlation-request-id": [ - "188e9e44-a029-42e6-8d6c-ed8c9237d98c" + "8842d262-d0f7-4603-810c-871a2a9beed3" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210429Z:188e9e44-a029-42e6-8d6c-ed8c9237d98c" + "NORTHEUROPE:20150731T040842Z:8842d262-d0f7-4603-810c-871a2a9beed3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -256,10 +256,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:04:29 GMT" + "Fri, 31 Jul 2015 04:08:41 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8626/providers/Microsoft.DataFactory/datafactories/onesdk1467?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9350/providers/Microsoft.DataFactory/datafactories/onesdk8555?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -271,22 +271,22 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8626/providers/Microsoft.DataFactory/datafactories/onesdk1467?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazg2MjYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE0Njc/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9350/providers/Microsoft.DataFactory/datafactories/onesdk8555?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazkzNTAvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazg1NTU/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "514f6cdd-f7ee-4bd2-9da8-4c3e6b078e22" + "9b7fa030-fa9f-4eac-b3f3-03b550211a93" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk1467\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8626/providers/Microsoft.DataFactory/datafactories/onesdk1467\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"698ea3d6-6021-459f-9969-77c4b3d867b1\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk8555\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9350/providers/Microsoft.DataFactory/datafactories/onesdk8555\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"1cc4dcb8-9990-4327-8db6-9c9f4c78e891\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "449" @@ -301,16 +301,16 @@ "no-cache" ], "x-ms-request-id": [ - "26391d56-adb8-423f-bd1a-3cbe18f2961b" + "ae55c1f9-a3a9-4f5a-a08c-f5a1282a5973" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14998" + "14955" ], "x-ms-correlation-request-id": [ - "6bb407ba-3df4-4ea9-b03e-d12acfe54c13" + "9283e5df-0961-4911-91d1-01a9192fc9ed" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210430Z:6bb407ba-3df4-4ea9-b03e-d12acfe54c13" + "NORTHEUROPE:20150731T040842Z:9283e5df-0961-4911-91d1-01a9192fc9ed" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -319,7 +319,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:04:29 GMT" + "Fri, 31 Jul 2015 04:08:41 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -331,22 +331,82 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8626/providers/Microsoft.DataFactory/datafactories/onesdk1467?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazg2MjYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE0Njc/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9350/providers/Microsoft.DataFactory/datafactories/onesdk8555?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazkzNTAvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazg1NTU/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "b74bf70d-d229-4252-8e0d-902447a4aa42" + "fcbddcef-d18c-4b8f-a41d-af9a80d21e92" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk1467\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8626/providers/Microsoft.DataFactory/datafactories/onesdk1467\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"698ea3d6-6021-459f-9969-77c4b3d867b1\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk8555\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9350/providers/Microsoft.DataFactory/datafactories/onesdk8555\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"1cc4dcb8-9990-4327-8db6-9c9f4c78e891\",\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "449" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "26073982-b402-4b1a-9c32-fe4254e03418" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14954" + ], + "x-ms-correlation-request-id": [ + "d9da2802-5e90-455f-9fea-feb1335fce89" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20150731T040847Z:d9da2802-5e90-455f-9fea-feb1335fce89" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 31 Jul 2015 04:08:47 GMT" + ], + "Server": [ + "Microsoft-IIS/8.5" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9350/providers/Microsoft.DataFactory/datafactories/onesdk8555?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazkzNTAvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazg1NTU/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1af0ca86-1c76-48b8-a03c-0024b6556be5" + ], + "x-ms-version": [ + "2015-08-01" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk8555\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9350/providers/Microsoft.DataFactory/datafactories/onesdk8555\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"1cc4dcb8-9990-4327-8db6-9c9f4c78e891\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "443" @@ -361,16 +421,16 @@ "no-cache" ], "x-ms-request-id": [ - "71146805-44e6-4f2a-83d3-3fa11f817adb" + "da69ea62-9656-4605-b9b4-fe2d3b849f82" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14997" + "14953" ], "x-ms-correlation-request-id": [ - "0d3c9a58-975b-432b-b4a5-f0e15add4d7d" + "276e3ddb-4a69-4630-9642-5f2fed3d3374" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210435Z:0d3c9a58-975b-432b-b4a5-f0e15add4d7d" + "NORTHEUROPE:20150731T040853Z:276e3ddb-4a69-4630-9642-5f2fed3d3374" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,7 +439,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:04:35 GMT" + "Fri, 31 Jul 2015 04:08:52 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -391,8 +451,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8626/providers/Microsoft.DataFactory/datafactories/onesdk1467/linkedservices/foo2?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazg2MjYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE0NjcvbGlua2Vkc2VydmljZXMvZm9vMj9hcGktdmVyc2lvbj0yMDE1LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9350/providers/Microsoft.DataFactory/datafactories/onesdk8555/linkedservices/foo2?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazkzNTAvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazg1NTUvbGlua2Vkc2VydmljZXMvZm9vMj9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"name\": \"foo2\",\r\n \"properties\": {\r\n \"type\": \"AzureStorage\",\r\n \"typeProperties\": {\r\n \"connectionString\": \"myfakeconnectionstring\"\r\n }\r\n }\r\n}", "RequestHeaders": { @@ -403,16 +463,16 @@ "175" ], "x-ms-client-request-id": [ - "b3083737-5cd7-4a34-9964-4a59d8d8b833" + "00619e46-9b69-41d7-ba98-ec5ddc146ea2" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8626/providers/Microsoft.DataFactory/datafactories/onesdk1467/linkedservices/foo2\",\r\n \"name\": \"foo2\",\r\n \"properties\": {\r\n \"hubName\": \"onesdk1467_hub\",\r\n \"type\": \"AzureStorage\",\r\n \"typeProperties\": {\r\n \"connectionString\": \"myfakeconnectionstring\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9350/providers/Microsoft.DataFactory/datafactories/onesdk8555/linkedservices/foo2\",\r\n \"name\": \"foo2\",\r\n \"properties\": {\r\n \"hubName\": \"onesdk8555_hub\",\r\n \"type\": \"AzureStorage\",\r\n \"typeProperties\": {\r\n \"connectionString\": \"myfakeconnectionstring\"\r\n },\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "336" + "342" ], "Content-Type": [ "application/json; charset=utf-8" @@ -424,16 +484,16 @@ "no-cache" ], "x-ms-request-id": [ - "b4b99998-2951-4d4c-a005-35dc041fefe3" + "2dac6b3b-8944-4f72-bd1c-34e3a88ba8f7" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "1170" ], "x-ms-correlation-request-id": [ - "a9fa64f6-47eb-43b9-89ec-006752a87e25" + "19cdb6b0-c173-4df7-a1cf-4c1b0bfd3e7f" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210435Z:a9fa64f6-47eb-43b9-89ec-006752a87e25" + "NORTHEUROPE:20150731T040855Z:19cdb6b0-c173-4df7-a1cf-4c1b0bfd3e7f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -442,10 +502,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:04:35 GMT" + "Fri, 31 Jul 2015 04:08:54 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8626/providers/Microsoft.DataFactory/datafactories/onesdk1467/linkedservices/foo2?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9350/providers/Microsoft.DataFactory/datafactories/onesdk8555/linkedservices/foo2?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -457,22 +517,22 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8626/providers/Microsoft.DataFactory/datafactories/onesdk1467/linkedservices/foo2?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazg2MjYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE0NjcvbGlua2Vkc2VydmljZXMvZm9vMj9hcGktdmVyc2lvbj0yMDE1LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9350/providers/Microsoft.DataFactory/datafactories/onesdk8555/linkedservices/foo2?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazkzNTAvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazg1NTUvbGlua2Vkc2VydmljZXMvZm9vMj9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "3100812b-305b-4e6f-9036-21daff864ed0" + "9e79b9dd-fc1c-4015-9f33-4d2821827729" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8626/providers/Microsoft.DataFactory/datafactories/onesdk1467/linkedservices/foo2\",\r\n \"name\": \"foo2\",\r\n \"properties\": {\r\n \"hubName\": \"onesdk1467_hub\",\r\n \"type\": \"AzureStorage\",\r\n \"typeProperties\": {\r\n \"connectionString\": \"myfakeconnectionstring\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9350/providers/Microsoft.DataFactory/datafactories/onesdk8555/linkedservices/foo2\",\r\n \"name\": \"foo2\",\r\n \"properties\": {\r\n \"hubName\": \"onesdk8555_hub\",\r\n \"type\": \"AzureStorage\",\r\n \"typeProperties\": {\r\n \"connectionString\": \"myfakeconnectionstring\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "336" @@ -487,16 +547,16 @@ "no-cache" ], "x-ms-request-id": [ - "30ff6256-6a8c-4894-9ebd-6b711846e1fd" + "7b86bf25-4485-456b-a835-70f679eaca6b" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14996" + "14952" ], "x-ms-correlation-request-id": [ - "eceb1556-395a-4d06-b307-75c79975de00" + "6f09c984-818b-4d12-94a4-79f477b671e6" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210436Z:eceb1556-395a-4d06-b307-75c79975de00" + "NORTHEUROPE:20150731T040855Z:6f09c984-818b-4d12-94a4-79f477b671e6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -505,7 +565,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:04:35 GMT" + "Fri, 31 Jul 2015 04:08:55 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -517,8 +577,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8626/providers/Microsoft.DataFactory/datafactories/onesdk1467/tables/foo2?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazg2MjYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE0NjcvdGFibGVzL2ZvbzI/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9350/providers/Microsoft.DataFactory/datafactories/onesdk8555/tables/foo2?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazkzNTAvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazg1NTUvdGFibGVzL2ZvbzI/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "PUT", "RequestBody": "{\r\n \"name\": \"foo1\",\r\n \"properties\": {\r\n \"type\": \"CustomDataSet\",\r\n \"typeProperties\": {\r\n \"tableName\": \"myTable\"\r\n },\r\n \"linkedServiceName\": \"foo2\",\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n }\r\n }\r\n}", "RequestHeaders": { @@ -529,13 +589,13 @@ "283" ], "x-ms-client-request-id": [ - "c4eecb41-e096-4e1a-8783-adb191df86ce" + "33b9b7f6-57d3-426c-b8e0-8bfd80710406" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"foo2\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8626/providers/Microsoft.DataFactory/datafactories/onesdk1467/tables/foo2\",\r\n \"properties\": {\r\n \"published\": false,\r\n \"type\": \"CustomDataset\",\r\n \"linkedServiceName\": \"foo2\",\r\n \"typeProperties\": {\r\n \"tableName\": \"myTable\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"createTime\": \"2015-07-11T21:04:36.0747394Z\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"foo2\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9350/providers/Microsoft.DataFactory/datafactories/onesdk8555/tables/foo2\",\r\n \"properties\": {\r\n \"published\": false,\r\n \"type\": \"CustomDataset\",\r\n \"linkedServiceName\": \"foo2\",\r\n \"typeProperties\": {\r\n \"tableName\": \"myTable\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"createTime\": \"2015-07-31T04:08:57.3471007Z\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "424" @@ -550,16 +610,16 @@ "no-cache" ], "x-ms-request-id": [ - "a75d57d4-e3f1-4ef5-8cc8-adec51d7164e" + "9451005b-8b52-4856-b085-681581e5338f" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" + "1169" ], "x-ms-correlation-request-id": [ - "62a18fd0-a232-4a45-8f94-47adc363b312" + "24d4b5b9-d8db-4738-b15e-36e1ce40f5c4" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210436Z:62a18fd0-a232-4a45-8f94-47adc363b312" + "NORTHEUROPE:20150731T040858Z:24d4b5b9-d8db-4738-b15e-36e1ce40f5c4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -568,10 +628,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:04:36 GMT" + "Fri, 31 Jul 2015 04:08:57 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8626/providers/Microsoft.DataFactory/datafactories/onesdk1467/tables/foo2?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9350/providers/Microsoft.DataFactory/datafactories/onesdk8555/tables/foo2?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -583,22 +643,22 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8626/providers/Microsoft.DataFactory/datafactories/onesdk1467/tables/foo2?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazg2MjYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE0NjcvdGFibGVzL2ZvbzI/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9350/providers/Microsoft.DataFactory/datafactories/onesdk8555/tables/foo2?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazkzNTAvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazg1NTUvdGFibGVzL2ZvbzI/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "6e871a66-4664-4ddf-b5c6-5533cc0da8fe" + "a891309f-07bf-4d2a-8cff-96e0aef61fdf" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"foo2\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8626/providers/Microsoft.DataFactory/datafactories/onesdk1467/tables/foo2\",\r\n \"properties\": {\r\n \"published\": false,\r\n \"type\": \"CustomDataset\",\r\n \"linkedServiceName\": \"foo2\",\r\n \"typeProperties\": {\r\n \"tableName\": \"myTable\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"createTime\": \"2015-07-11T21:04:36.0747394Z\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"foo2\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9350/providers/Microsoft.DataFactory/datafactories/onesdk8555/tables/foo2\",\r\n \"properties\": {\r\n \"published\": false,\r\n \"type\": \"CustomDataset\",\r\n \"linkedServiceName\": \"foo2\",\r\n \"typeProperties\": {\r\n \"tableName\": \"myTable\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"createTime\": \"2015-07-31T04:08:57.3471007Z\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "424" @@ -613,16 +673,16 @@ "no-cache" ], "x-ms-request-id": [ - "5f116c89-e95d-42f3-9ed7-34a35bdd7b1e" + "8d93491e-4168-4b6a-bc3e-ad1653f24feb" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14995" + "14951" ], "x-ms-correlation-request-id": [ - "6bd38cd5-7c70-4839-8ee4-22016fa1f692" + "84307b9f-f8a7-4bc3-9597-30b890e6e10e" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210436Z:6bd38cd5-7c70-4839-8ee4-22016fa1f692" + "NORTHEUROPE:20150731T040858Z:84307b9f-f8a7-4bc3-9597-30b890e6e10e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -631,7 +691,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:04:36 GMT" + "Fri, 31 Jul 2015 04:08:57 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -643,22 +703,22 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8626/providers/Microsoft.DataFactory/datafactories/onesdk1467/tables/foo2?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazg2MjYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE0NjcvdGFibGVzL2ZvbzI/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9350/providers/Microsoft.DataFactory/datafactories/onesdk8555/tables/foo2?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazkzNTAvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazg1NTUvdGFibGVzL2ZvbzI/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "6b9086bd-1238-4a7d-ac4d-f3b5eeef6521" + "8cdba86e-6eb5-4f0b-89e3-230aaea66442" ], "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"foo2\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8626/providers/Microsoft.DataFactory/datafactories/onesdk1467/tables/foo2\",\r\n \"properties\": {\r\n \"published\": false,\r\n \"type\": \"CustomDataset\",\r\n \"linkedServiceName\": \"foo2\",\r\n \"typeProperties\": {\r\n \"tableName\": \"myTable\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"createTime\": \"2015-07-11T21:04:35.9668782Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"foo2\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9350/providers/Microsoft.DataFactory/datafactories/onesdk8555/tables/foo2\",\r\n \"properties\": {\r\n \"published\": false,\r\n \"type\": \"CustomDataset\",\r\n \"linkedServiceName\": \"foo2\",\r\n \"typeProperties\": {\r\n \"tableName\": \"myTable\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"createTime\": \"2015-07-31T04:08:56.8258278Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "418" @@ -673,16 +733,16 @@ "no-cache" ], "x-ms-request-id": [ - "e007eb4a-ef4b-4d85-9f5d-5f2e861dc46e" + "a2b01c3a-3f4f-440b-9059-4939e1a6f216" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14994" + "14950" ], "x-ms-correlation-request-id": [ - "6c583c8a-8f21-46b8-a835-ef1af3951b6a" + "fad96dc9-d1e2-4df4-b89f-8cc7c96c92f7" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210441Z:6c583c8a-8f21-46b8-a835-ef1af3951b6a" + "NORTHEUROPE:20150731T040903Z:fad96dc9-d1e2-4df4-b89f-8cc7c96c92f7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -691,7 +751,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:04:41 GMT" + "Fri, 31 Jul 2015 04:09:03 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -703,19 +763,19 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8626/providers/Microsoft.DataFactory/datafactories/onesdk1467/tables/foo2?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazg2MjYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE0NjcvdGFibGVzL2ZvbzI/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9350/providers/Microsoft.DataFactory/datafactories/onesdk8555/tables/foo2?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazkzNTAvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazg1NTUvdGFibGVzL2ZvbzI/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "8592b8c0-0366-43f6-97c1-748e7303189e" + "51e5c170-5494-4840-8a60-bf8587cdb657" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"foo2\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8626/providers/Microsoft.DataFactory/datafactories/onesdk1467/tables/foo2\",\r\n \"properties\": {\r\n \"published\": false,\r\n \"type\": \"CustomDataset\",\r\n \"linkedServiceName\": \"foo2\",\r\n \"typeProperties\": {\r\n \"tableName\": \"myTable\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"createTime\": \"2015-07-11T21:04:35.9668782Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"foo2\",\r\n \"id\": \"/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9350/providers/Microsoft.DataFactory/datafactories/onesdk8555/tables/foo2\",\r\n \"properties\": {\r\n \"published\": false,\r\n \"type\": \"CustomDataset\",\r\n \"linkedServiceName\": \"foo2\",\r\n \"typeProperties\": {\r\n \"tableName\": \"myTable\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"createTime\": \"2015-07-31T04:08:56.8258278Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "418" @@ -730,16 +790,16 @@ "no-cache" ], "x-ms-request-id": [ - "69e68c6d-2ea5-44b7-9560-a3586382f01e" + "8de5a7f3-bd16-4f9b-8d68-561f9afa57a6" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14993" + "14949" ], "x-ms-correlation-request-id": [ - "b520ad94-0a70-4651-aa24-2cf16b8876b7" + "784622b1-8391-44d7-aa07-9870973795de" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210442Z:b520ad94-0a70-4651-aa24-2cf16b8876b7" + "NORTHEUROPE:20150731T040904Z:784622b1-8391-44d7-aa07-9870973795de" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -748,7 +808,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:04:41 GMT" + "Fri, 31 Jul 2015 04:09:03 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -760,16 +820,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8626/providers/Microsoft.DataFactory/datafactories/onesdk1467/tables/foo2?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazg2MjYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE0NjcvdGFibGVzL2ZvbzI/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9350/providers/Microsoft.DataFactory/datafactories/onesdk8555/tables/foo2?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazkzNTAvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazg1NTUvdGFibGVzL2ZvbzI/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "3ef10d97-f8f3-433e-a337-a6e6af5ad753" + "d8c27061-71da-48a2-8f43-73ba3012d367" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -787,16 +847,16 @@ "15" ], "x-ms-request-id": [ - "1c1b3799-ef61-49cd-a952-fe2fc3f8c9b4" + "a8444693-3989-4c46-b56c-f48fdd6a70ae" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" + "1168" ], "x-ms-correlation-request-id": [ - "050ee959-c6ba-4fbd-855e-066d0b23dca4" + "6d5401af-fe1d-4634-9029-4e0697d55e94" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210442Z:050ee959-c6ba-4fbd-855e-066d0b23dca4" + "NORTHEUROPE:20150731T040904Z:6d5401af-fe1d-4634-9029-4e0697d55e94" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -805,10 +865,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:04:41 GMT" + "Fri, 31 Jul 2015 04:09:04 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8626/providers/Microsoft.DataFactory/datafactories/onesdk1467/tables/foo2/operationresults/ca25cba2fe0149ec8616fc9867d14f48?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9350/providers/Microsoft.DataFactory/datafactories/onesdk8555/tables/foo2/operationresults/52e7066369f94b949afe82cfd75062c9?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -820,16 +880,16 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8626/providers/Microsoft.DataFactory/datafactories/onesdk1467/tables/foo2/operationresults/ca25cba2fe0149ec8616fc9867d14f48?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazg2MjYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE0NjcvdGFibGVzL2ZvbzIvb3BlcmF0aW9ucmVzdWx0cy9jYTI1Y2JhMmZlMDE0OWVjODYxNmZjOTg2N2QxNGY0OD9hcGktdmVyc2lvbj0yMDE1LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9350/providers/Microsoft.DataFactory/datafactories/onesdk8555/tables/foo2/operationresults/52e7066369f94b949afe82cfd75062c9?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazkzNTAvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazg1NTUvdGFibGVzL2ZvbzIvb3BlcmF0aW9ucmVzdWx0cy81MmU3MDY2MzY5Zjk0Yjk0OWFmZTgyY2ZkNzUwNjJjOT9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -847,16 +907,16 @@ "15" ], "x-ms-request-id": [ - "b0b210cc-f33c-47a2-80b9-df8125db7d43" + "48f50236-7c66-4426-8fc7-61cde4aaa181" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14992" + "14948" ], "x-ms-correlation-request-id": [ - "36fe5b00-d849-496b-b7ea-56caaefc2900" + "27f4d165-61bc-4c2e-a947-c8c2bbda70d2" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210442Z:36fe5b00-d849-496b-b7ea-56caaefc2900" + "NORTHEUROPE:20150731T040905Z:27f4d165-61bc-4c2e-a947-c8c2bbda70d2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -865,10 +925,10 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:04:42 GMT" + "Fri, 31 Jul 2015 04:09:04 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8626/providers/Microsoft.DataFactory/datafactories/onesdk1467/tables/foo2/operationresults/ca25cba2fe0149ec8616fc9867d14f48?api-version=2015-07-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9350/providers/Microsoft.DataFactory/datafactories/onesdk8555/tables/foo2/operationresults/52e7066369f94b949afe82cfd75062c9?api-version=2015-08-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -880,16 +940,16 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8626/providers/Microsoft.DataFactory/datafactories/onesdk1467/tables/foo2/operationresults/ca25cba2fe0149ec8616fc9867d14f48?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazg2MjYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE0NjcvdGFibGVzL2ZvbzIvb3BlcmF0aW9ucmVzdWx0cy9jYTI1Y2JhMmZlMDE0OWVjODYxNmZjOTg2N2QxNGY0OD9hcGktdmVyc2lvbj0yMDE1LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9350/providers/Microsoft.DataFactory/datafactories/onesdk8555/tables/foo2/operationresults/52e7066369f94b949afe82cfd75062c9?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazkzNTAvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazg1NTUvdGFibGVzL2ZvbzIvb3BlcmF0aW9ucmVzdWx0cy81MmU3MDY2MzY5Zjk0Yjk0OWFmZTgyY2ZkNzUwNjJjOT9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01-preview" + "2015-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -904,16 +964,16 @@ "no-cache" ], "x-ms-request-id": [ - "168bd434-1d61-4d77-bd11-ad23568c5f4c" + "11d37606-51cc-4f7e-b140-e1a493bf81dc" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14991" + "14947" ], "x-ms-correlation-request-id": [ - "05546d9e-36af-4e8a-ac5f-288cb4e53adb" + "6f779942-e13e-499a-8a2b-166dbc9e6c0f" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210457Z:05546d9e-36af-4e8a-ac5f-288cb4e53adb" + "NORTHEUROPE:20150731T040921Z:6f779942-e13e-499a-8a2b-166dbc9e6c0f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -922,7 +982,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:04:57 GMT" + "Fri, 31 Jul 2015 04:09:21 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -934,16 +994,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk8626/providers/Microsoft.DataFactory/datafactories/onesdk1467?api-version=2015-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazg2MjYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE0Njc/YXBpLXZlcnNpb249MjAxNS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4431ebb2-5a07-4d85-85cf-7af34ae85ff5/resourcegroups/onesdk9350/providers/Microsoft.DataFactory/datafactories/onesdk8555?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDQzMWViYjItNWEwNy00ZDg1LTg1Y2YtN2FmMzRhZTg1ZmY1L3Jlc291cmNlZ3JvdXBzL29uZXNkazkzNTAvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazg1NTU/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "67a02185-a6c8-42d6-a205-2b0d71297786" + "80d4e001-2b31-4dbb-81ff-17f0818f8710" ], "User-Agent": [ - "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/1.0.0.0" + "Microsoft.Azure.Management.DataFactories.DataFactoryManagementClient/2.0.0.0" ] }, "ResponseBody": "", @@ -958,16 +1018,16 @@ "no-cache" ], "x-ms-request-id": [ - "7e1f2bb7-2b24-4491-a1d9-7c9ddb56c065" + "e810bdfa-3b2e-4aa6-98e0-ab1a533842de" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" + "1167" ], "x-ms-correlation-request-id": [ - "c99b145d-562c-41f7-836b-2ca01304593e" + "4dae25fa-d510-4e43-9d9b-70ef878804ee" ], "x-ms-routing-request-id": [ - "CENTRALUS:20150711T210459Z:c99b145d-562c-41f7-836b-2ca01304593e" + "NORTHEUROPE:20150731T040922Z:4dae25fa-d510-4e43-9d9b-70ef878804ee" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -976,7 +1036,7 @@ "no-cache" ], "Date": [ - "Sat, 11 Jul 2015 21:04:59 GMT" + "Fri, 31 Jul 2015 04:09:22 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -990,8 +1050,8 @@ ], "Names": { "Test-TableWithDataFactoryParameter": [ - "onesdk1467", - "onesdk8626" + "onesdk8555", + "onesdk9350" ] }, "Variables": { diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/packages.config b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/packages.config index 0fa18d25f202..526667deab3c 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/packages.config +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/packages.config @@ -6,7 +6,7 @@ - + diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj b/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj index b72d3acca109..9fcbea14a690 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj @@ -61,8 +61,8 @@ ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll - - ..\..\..\packages\Microsoft.Azure.Management.DataFactories.1.0.2\lib\net45\Microsoft.Azure.Management.DataFactories.dll + + ..\..\..\packages\Microsoft.Azure.Management.DataFactories.2.0.0\lib\net45\Microsoft.Azure.Management.DataFactories.dll False diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/packages.config b/src/ResourceManager/DataFactories/Commands.DataFactories/packages.config index 408a7e130b4e..d13f9d1c61e3 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories/packages.config +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/packages.config @@ -4,7 +4,7 @@ - + From de64e8fd10259f66ec1e6bc40e682937dc1d246f Mon Sep 17 00:00:00 2001 From: Shefali Date: Fri, 31 Jul 2015 17:10:05 -0700 Subject: [PATCH 29/38] add reference to nuget packages --- .../Commands.HDInsight.csproj | 21 +++++-------------- .../Commands.HDInsight/packages.config | 4 ++++ 2 files changed, 9 insertions(+), 16 deletions(-) diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj index 80d17e662af8..e13f296bab3f 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj @@ -33,7 +33,7 @@ ;$(ProgramFiles)\Microsoft Visual Studio 12.0\Team Tools\Static Analysis Tools\Rule Sets ;$(ProgramFiles)\Microsoft Visual Studio 12.0\Team Tools\Static Analysis Tools\FxCop\Rules true - true + true @@ -90,22 +90,11 @@ ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.dll - - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll - - False - ..\..\..\packages\Microsoft.Azure.Management.HDInsight.0.0.2-preview\lib\net40\Microsoft.Azure.Management.HDInsight.dll - - - ..\..\..\packages\Microsoft.Azure.Management.HDInsight.Job.0.0.1-preview\lib\net40\Microsoft.Azure.Management.HDInsight.Job.dll - - - False - ..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll + + ..\..\..\packages\Microsoft.Azure.Management.HDInsight.1.0.1-preview\lib\net40\Microsoft.Azure.Management.HDInsight.dll False @@ -152,10 +141,10 @@ - ..\..\..\packages\Microsoft.Net.Http.2.2.29\lib\net45\System.Net.Http.Extensions.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Extensions.dll - ..\..\..\packages\Microsoft.Net.Http.2.2.29\lib\net45\System.Net.Http.Primitives.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Primitives.dll diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/packages.config b/src/ResourceManager/HDInsight/Commands.HDInsight/packages.config index d7f6d8f5ac8f..96a18b658d2a 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/packages.config +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/packages.config @@ -5,9 +5,12 @@ + + + @@ -15,6 +18,7 @@ + From af47c5d7700651560820e1d34db4c1bb4e911405 Mon Sep 17 00:00:00 2001 From: Shefali Date: Fri, 31 Jul 2015 17:52:33 -0700 Subject: [PATCH 30/38] changing reference to public nuget --- .../Commands.HDInsight.Test.csproj | 10 ++++------ .../UnitTests/ConfigurationTests.cs | 2 +- .../Commands.HDInsight.Test/packages.config | 4 ++-- .../Commands.HDInsight.csproj | 9 +++++++++ .../NewAzureHDInsightClusterCommand.cs | 10 +++++----- .../NewAzureHDInsightClusterConfigCommand.cs | 6 +++--- .../Models/Management/AzureHDInsightConfig.cs | 2 +- .../Commands.HDInsight/packages.config | 18 +++++++----------- .../Commands.SiteRecovery.Test.csproj | 3 +++ 9 files changed, 35 insertions(+), 29 deletions(-) diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj index 689bf204d86f..0a739b7d6bc3 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj +++ b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj @@ -50,13 +50,11 @@ ..\..\..\packages\Microsoft.Azure.Management.Authorization.0.18.2-preview\lib\net40\Microsoft.Azure.Management.Authorization.dll - - False - ..\..\..\packages\Microsoft.Azure.Management.HDInsight.0.0.2-preview\lib\net40\Microsoft.Azure.Management.HDInsight.dll + + ..\..\..\packages\Microsoft.Azure.Management.HDInsight.1.0.1-preview\lib\net40\Microsoft.Azure.Management.HDInsight.dll - - False - ..\..\..\packages\Microsoft.Azure.Management.HDInsight.Job.0.0.1-preview\lib\net40\Microsoft.Azure.Management.HDInsight.Job.dll + + ..\..\..\packages\Microsoft.Azure.Management.HDInsight.Job.1.0.1-preview\lib\net40\Microsoft.Azure.Management.HDInsight.Job.dll ..\..\..\packages\Microsoft.Azure.Management.Storage.2.4.0-preview\lib\net40\Microsoft.Azure.Management.Storage.dll diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/UnitTests/ConfigurationTests.cs b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/UnitTests/ConfigurationTests.cs index 678ea30cd02c..b22a265064de 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/UnitTests/ConfigurationTests.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/UnitTests/ConfigurationTests.cs @@ -54,7 +54,7 @@ public void CanCreateNewConfig() c.ClusterType == HDInsightClusterType.Hadoop && c.AdditionalStorageAccounts.Count == 0 && c.Configurations.Count == 0 && - string.IsNullOrEmpty(c.DataNodeSize) && + string.IsNullOrEmpty(c.WorkerNodeSize) && string.IsNullOrEmpty(c.DefaultStorageAccountKey) && string.IsNullOrEmpty(c.DefaultStorageAccountName) && string.IsNullOrEmpty(c.HeadNodeSize) && diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/packages.config b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/packages.config index ad3aa95d0c34..72b5f01f87f2 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/packages.config +++ b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/packages.config @@ -6,8 +6,8 @@ - - + + diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj index e13f296bab3f..ac6551e97cc6 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj @@ -90,12 +90,21 @@ ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.dll + + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll ..\..\..\packages\Microsoft.Azure.Management.HDInsight.1.0.1-preview\lib\net40\Microsoft.Azure.Management.HDInsight.dll + + ..\..\..\packages\Microsoft.Azure.Management.HDInsight.Job.1.0.1-preview\lib\net40\Microsoft.Azure.Management.HDInsight.Job.dll + + + ..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll + False ..\..\..\packages\Microsoft.Data.Edm.5.6.2\lib\net40\Microsoft.Data.Edm.dll diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterCommand.cs index 06a54ab60b9a..671c58ec312f 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterCommand.cs @@ -126,10 +126,10 @@ public string HeadNodeSize } [Parameter(HelpMessage = "Gets or sets the size of the Data Node.")] - public string DataNodeSize + public string WorkerNodeSize { - get { return parameters.DataNodeSize; } - set { parameters.DataNodeSize = value; } + get { return parameters.WorkerNodeSize; } + set { parameters.WorkerNodeSize = value; } } [Parameter(HelpMessage = "Gets or sets the size of the Zookeeper Node.")] @@ -193,7 +193,7 @@ public AzureHDInsightConfig Config { ClusterType = parameters.ClusterType, DefaultStorageAccountName = parameters.DefaultStorageAccountName, DefaultStorageAccountKey = parameters.DefaultStorageAccountKey, - DataNodeSize = parameters.DataNodeSize, + WorkerNodeSize = parameters.WorkerNodeSize, HeadNodeSize = parameters.HeadNodeSize, ZookeeperNodeSize = parameters.ZookeeperNodeSize, HiveMetastore = HiveMetastore, @@ -217,7 +217,7 @@ var storageAccount in parameters.ClusterType = value.ClusterType; parameters.DefaultStorageAccountName = value.DefaultStorageAccountName; parameters.DefaultStorageAccountKey = value.DefaultStorageAccountKey; - parameters.DataNodeSize = value.DataNodeSize; + parameters.WorkerNodeSize = value.WorkerNodeSize; parameters.HeadNodeSize = value.HeadNodeSize; parameters.ZookeeperNodeSize = value.ZookeeperNodeSize; HiveMetastore = value.HiveMetastore; diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterConfigCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterConfigCommand.cs index b8b355d3368e..05d19a6349bb 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterConfigCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterConfigCommand.cs @@ -65,10 +65,10 @@ public string HeadNodeSize } [Parameter(HelpMessage = "Gets or sets the size of the Data Node.")] - public string DataNodeSize + public string WorkerNodeSize { - get { return _config.DataNodeSize; } - set { _config.DataNodeSize = value; } + get { return _config.WorkerNodeSize; } + set { _config.WorkerNodeSize = value; } } [Parameter(HelpMessage = "Gets or sets the size of the Zookeeper Node.")] diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHDInsightConfig.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHDInsightConfig.cs index d56ad615a276..fc5a36d6195e 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHDInsightConfig.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Models/Management/AzureHDInsightConfig.cs @@ -42,7 +42,7 @@ public class AzureHDInsightConfig /// /// Gets or sets the size of the Data Node. /// - public string DataNodeSize { get; set; } + public string WorkerNodeSize { get; set; } /// /// Gets or sets the size of the Zookeeper Node. diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/packages.config b/src/ResourceManager/HDInsight/Commands.HDInsight/packages.config index 96a18b658d2a..8225517b6111 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/packages.config +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/packages.config @@ -2,25 +2,21 @@ - + - - - - - - + + + - - + - - + + \ No newline at end of file diff --git a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery.Test/Commands.SiteRecovery.Test.csproj b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery.Test/Commands.SiteRecovery.Test.csproj index bdc32cb645d1..bf4de389cdc8 100644 --- a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery.Test/Commands.SiteRecovery.Test.csproj +++ b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery.Test/Commands.SiteRecovery.Test.csproj @@ -161,6 +161,9 @@ Commands.SiteRecovery + + + From b9b71b7fb11e60b0c42bce509ac2b0cb8f66f46f Mon Sep 17 00:00:00 2001 From: Brian Golden Date: Fri, 31 Jul 2015 17:55:47 -0700 Subject: [PATCH 31/38] remove 'published' property from PSDataset --- ...crosoft.Azure.Commands.DataFactories.dll-Help.xml | 5 ----- ...rosoft.Azure.Commands.DataFactories.format.ps1xml | 4 ---- .../Commands.DataFactories/Models/PSDataset.cs | 12 ------------ 3 files changed, 21 deletions(-) diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Microsoft.Azure.Commands.DataFactories.dll-Help.xml b/src/ResourceManager/DataFactories/Commands.DataFactories/Microsoft.Azure.Commands.DataFactories.dll-Help.xml index c81d99837a67..8c513316ffee 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories/Microsoft.Azure.Commands.DataFactories.dll-Help.xml +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Microsoft.Azure.Commands.DataFactories.dll-Help.xml @@ -1775,7 +1775,6 @@ Location : Policy : Structure : {} - Published : False DatasetName : DAWikipediaClickEvents ResourceGroupName : ADF @@ -1784,7 +1783,6 @@ Location : Policy : Structure : {} - Published : False DatasetName : DAWikiAggregatedData ResourceGroupName : ADF @@ -1793,7 +1791,6 @@ Location : Policy : Structure : {} - Published : False This command gets information about all datasets in the data factory named WikiADF. @@ -1818,7 +1815,6 @@ Location : Microsoft.DataFactories.AzureBlobLocation Policy : Microsoft.DataFactories.Policy Structure : {} - Published : False This command gets information about the dataset named DAWikipediaClickEvents in the data factory named WikiADF. @@ -3816,7 +3812,6 @@ Location : Microsoft.DataFactories.AzureBlobLocation Policy : Microsoft.DataFactories.Policy Structure : {} - Published : False This command creates a dataset named DA_WikipediaClickEvents in the data factory named WikiADF. The command bases the dataset on information in the DAWikipediaClickEvents.json file. diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Microsoft.Azure.Commands.DataFactories.format.ps1xml b/src/ResourceManager/DataFactories/Commands.DataFactories/Microsoft.Azure.Commands.DataFactories.format.ps1xml index 2490451643d9..60d4dca0ebfb 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories/Microsoft.Azure.Commands.DataFactories.format.ps1xml +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Microsoft.Azure.Commands.DataFactories.format.ps1xml @@ -72,10 +72,6 @@ Structure - - - Published - Properties diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PSDataset.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PSDataset.cs index 6c112d988fc4..f678ffda5ee4 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PSDataset.cs +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PSDataset.cs @@ -107,18 +107,6 @@ public IList Structure } } - public bool? Published - { - get - { - return this.dataset.Properties.Published; - } - set - { - this.dataset.Properties.Published = value; - } - } - public TableProperties Properties { get From e51d7bf81bffefc5be194abecf470569ee110122 Mon Sep 17 00:00:00 2001 From: Shefali Date: Fri, 31 Jul 2015 17:57:31 -0700 Subject: [PATCH 32/38] add bcl --- .../Commands.HDInsight.Test/Commands.HDInsight.Test.csproj | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj index 0a739b7d6bc3..edc46d66e996 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj +++ b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj @@ -162,6 +162,11 @@ + + + + + From a317ca2bc8126485803a552f294407bb14f22b9c Mon Sep 17 00:00:00 2001 From: Shefali Date: Fri, 31 Jul 2015 18:27:35 -0700 Subject: [PATCH 33/38] update servicemanagement test --- .../Commands.HDInsight.Test/Commands.HDInsight.Test.csproj | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj index 9e3908dca3a7..56937c4e3a96 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj @@ -269,6 +269,10 @@ {4900ec4e-8deb-4412-9108-0bc52f81d457} Commands.Utilities + + {137d404a-865a-43db-930c-6da67da048df} + HDInsight + From 8a9a78c9a8cbef42ab7f755923adcb8ef8e83015 Mon Sep 17 00:00:00 2001 From: Shefali Date: Fri, 31 Jul 2015 19:07:47 -0700 Subject: [PATCH 34/38] update csproj --- .../HDInsight/Commands.HDInsight/Commands.HDInsight.csproj | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj index ac6551e97cc6..cea055ed6df0 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj @@ -79,7 +79,6 @@ - From 48c222026de8e377d8bd0cb32f4ee11fe8267114 Mon Sep 17 00:00:00 2001 From: Shefali Date: Fri, 31 Jul 2015 19:21:28 -0700 Subject: [PATCH 35/38] add snk key --- .../Commands.HDInsight/Commands.HDInsight.csproj | 3 +++ .../Commands.HDInsight/MSSharedLibKey.snk | Bin 0 -> 160 bytes 2 files changed, 3 insertions(+) create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/MSSharedLibKey.snk diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj index cea055ed6df0..2390b715c477 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj @@ -34,6 +34,8 @@ ;$(ProgramFiles)\Microsoft Visual Studio 12.0\Team Tools\Static Analysis Tools\FxCop\Rules true true + MSSharedLibKey.snk + true @@ -80,6 +82,7 @@ + diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/MSSharedLibKey.snk b/src/ResourceManager/HDInsight/Commands.HDInsight/MSSharedLibKey.snk new file mode 100644 index 0000000000000000000000000000000000000000..695f1b38774e839e5b90059bfb7f32df1dff4223 GIT binary patch literal 160 zcmV;R0AK$ABme*efB*oL000060ssI2Bme+XQ$aBR1ONa50098C{E+7Ye`kjtcRG*W zi8#m|)B?I?xgZ^2Sw5D;l4TxtPwG;3)3^j?qDHjEteSTF{rM+4WI`v zCD?tsZ^;k+S&r1&HRMb=j738S=;J$tCKNrc$@P|lZ Date: Fri, 31 Jul 2015 19:33:38 -0700 Subject: [PATCH 36/38] update wxs file --- setup/azurecmdfiles.wxi | 188 +++++++++++++++++++++------------------- 1 file changed, 98 insertions(+), 90 deletions(-) diff --git a/setup/azurecmdfiles.wxi b/setup/azurecmdfiles.wxi index a8a2cfbf001c..4c96fdfb90b1 100644 --- a/setup/azurecmdfiles.wxi +++ b/setup/azurecmdfiles.wxi @@ -1215,6 +1215,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1874,74 +1948,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -5036,6 +5042,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + @@ -5251,28 +5281,6 @@ - - - - - - - - - - - - - - - - - - - - - - From 4960d182fe0c1ddb5d380ccee286570540210681 Mon Sep 17 00:00:00 2001 From: Shefali Date: Fri, 31 Jul 2015 20:09:11 -0700 Subject: [PATCH 37/38] removing async keyword for sync call --- .../JobCommands/WaitAzureHDInsightJobCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/WaitAzureHDInsightJobCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/WaitAzureHDInsightJobCommand.cs index 018dda7fd689..40d108ffe0a6 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/WaitAzureHDInsightJobCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/WaitAzureHDInsightJobCommand.cs @@ -69,7 +69,7 @@ public PSCredential ClusterCredential #endregion - public override async void ExecuteCmdlet() + public override void ExecuteCmdlet() { var jobDetails = WaitJob(); WriteObject(jobDetails); From dceb7769488655a748dc4392c6420718efb2aba4 Mon Sep 17 00:00:00 2001 From: Shefali Date: Fri, 31 Jul 2015 20:31:13 -0700 Subject: [PATCH 38/38] clean then install --- setup/azurecmdfiles.wxi | 8 -------- 1 file changed, 8 deletions(-) diff --git a/setup/azurecmdfiles.wxi b/setup/azurecmdfiles.wxi index 4c96fdfb90b1..10735f2cdd7e 100644 --- a/setup/azurecmdfiles.wxi +++ b/setup/azurecmdfiles.wxi @@ -1276,15 +1276,9 @@ - - - - - - @@ -5062,9 +5056,7 @@ - -