diff --git a/eng/mgmt/mgmtmetadata/deviceupdate_resource-manager.txt b/eng/mgmt/mgmtmetadata/deviceupdate_resource-manager.txt index 0a4e78fd7b30..e494e253a3fb 100644 --- a/eng/mgmt/mgmtmetadata/deviceupdate_resource-manager.txt +++ b/eng/mgmt/mgmtmetadata/deviceupdate_resource-manager.txt @@ -3,12 +3,13 @@ AutoRest installed successfully. Commencing code generation Generating CSharp code Executing AutoRest command -cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/deviceupdate/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=E:\GitHub\azure-sdk-for-net\sdk -2021-03-03 02:46:25 UTC +cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/main/specification/deviceupdate/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=E:\us\dp-sdk\sdk +Autorest CSharp Version: 2.3.82 +2021-11-02 22:34:25 UTC Azure-rest-api-specs repository information GitHub fork: Azure -Branch: master -Commit: 4d1ea13dd5ec9e9e73e8ebabfa2d27a83b7e0e0d +Branch: main +Commit: 0fba9ba4b78d20fc1a7ec251dab889b7a7eb8afd AutoRest information Requested version: v2 -Bootstrapper version: autorest@2.0.4413 +Bootstrapper version: autorest@3.4.2 diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/AccountsOperations.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/AccountsOperations.cs index 50a929c2f867..c0b5805c841f 100644 --- a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/AccountsOperations.cs +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/AccountsOperations.cs @@ -596,6 +596,176 @@ internal AccountsOperations(DeviceUpdateClient client) return _result; } + /// + /// Checks whether account exists. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task HeadWithHttpMessagesAsync(string resourceGroupName, string accountName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (accountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "accountName"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Head", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceUpdate/accounts/{accountName}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// /// Creates or updates Account. /// @@ -1186,7 +1356,7 @@ internal AccountsOperations(DeviceUpdateClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200) + if ((int)_statusCode != 200 && (int)_statusCode != 201) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -1241,6 +1411,24 @@ internal AccountsOperations(DeviceUpdateClient client) throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/AccountsOperationsExtensions.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/AccountsOperationsExtensions.cs index 3723cdf9157e..b5a4935bdc63 100644 --- a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/AccountsOperationsExtensions.cs +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/AccountsOperationsExtensions.cs @@ -123,6 +123,43 @@ public static Account Get(this IAccountsOperations operations, string resourceGr } } + /// + /// Checks whether account exists. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + public static void Head(this IAccountsOperations operations, string resourceGroupName, string accountName) + { + operations.HeadAsync(resourceGroupName, accountName).GetAwaiter().GetResult(); + } + + /// + /// Checks whether account exists. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The cancellation token. + /// + public static async Task HeadAsync(this IAccountsOperations operations, string resourceGroupName, string accountName, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.HeadWithHttpMessagesAsync(resourceGroupName, accountName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + /// /// Creates or updates Account. /// diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/DeviceUpdateClient.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/DeviceUpdateClient.cs index 71663c9ed333..4815bef08fd3 100644 --- a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/DeviceUpdateClient.cs +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/DeviceUpdateClient.cs @@ -20,6 +20,8 @@ namespace Microsoft.Azure.Management.DeviceUpdate using System.Linq; using System.Net; using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; /// /// Microsoft Device Update resource provider. @@ -84,6 +86,21 @@ public partial class DeviceUpdateClient : ServiceClient, IDe /// public virtual IInstancesOperations Instances { get; private set; } + /// + /// Gets the IPrivateEndpointConnectionsOperations. + /// + public virtual IPrivateEndpointConnectionsOperations PrivateEndpointConnections { get; private set; } + + /// + /// Gets the IPrivateLinkResourcesOperations. + /// + public virtual IPrivateLinkResourcesOperations PrivateLinkResources { get; private set; } + + /// + /// Gets the IPrivateEndpointConnectionProxiesOperations. + /// + public virtual IPrivateEndpointConnectionProxiesOperations PrivateEndpointConnectionProxies { get; private set; } + /// /// Gets the IOperations. /// @@ -332,6 +349,9 @@ private void Initialize() { Accounts = new AccountsOperations(this); Instances = new InstancesOperations(this); + PrivateEndpointConnections = new PrivateEndpointConnectionsOperations(this); + PrivateLinkResources = new PrivateLinkResourcesOperations(this); + PrivateEndpointConnectionProxies = new PrivateEndpointConnectionProxiesOperations(this); Operations = new Operations(this); BaseUri = new System.Uri("https://management.azure.com"); ApiVersion = "2020-03-01-preview"; @@ -368,5 +388,192 @@ private void Initialize() DeserializationSettings.Converters.Add(new TransformationJsonConverter()); DeserializationSettings.Converters.Add(new CloudErrorJsonConverter()); } + /// + /// Checks ADU resource name availability. + /// + /// + /// Check Name Availability Request. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> CheckNameAvailabilityWithHttpMessagesAsync(CheckNameAvailabilityRequest request, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.ApiVersion"); + } + if (SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.SubscriptionId"); + } + if (request == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "request"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("request", request); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "CheckNameAvailability", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.DeviceUpdate/checknameavailability").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(SubscriptionId)); + List _queryParameters = new List(); + if (ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (GenerateClientRequestId != null && GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(request != null) + { + _requestContent = SafeJsonConvert.SerializeObject(request, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + } } diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/DeviceUpdateClientExtensions.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/DeviceUpdateClientExtensions.cs new file mode 100644 index 000000000000..813df45e53e4 --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/DeviceUpdateClientExtensions.cs @@ -0,0 +1,59 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for DeviceUpdateClient. + /// + public static partial class DeviceUpdateClientExtensions + { + /// + /// Checks ADU resource name availability. + /// + /// + /// The operations group for this extension method. + /// + /// + /// Check Name Availability Request. + /// + public static CheckNameAvailabilityResponse CheckNameAvailability(this IDeviceUpdateClient operations, CheckNameAvailabilityRequest request) + { + return operations.CheckNameAvailabilityAsync(request).GetAwaiter().GetResult(); + } + + /// + /// Checks ADU resource name availability. + /// + /// + /// The operations group for this extension method. + /// + /// + /// Check Name Availability Request. + /// + /// + /// The cancellation token. + /// + public static async Task CheckNameAvailabilityAsync(this IDeviceUpdateClient operations, CheckNameAvailabilityRequest request, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CheckNameAvailabilityWithHttpMessagesAsync(request, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/IAccountsOperations.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/IAccountsOperations.cs index 046321285640..a4bcec10c5c0 100644 --- a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/IAccountsOperations.cs +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/IAccountsOperations.cs @@ -90,6 +90,28 @@ public partial interface IAccountsOperations /// Task> GetWithHttpMessagesAsync(string resourceGroupName, string accountName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Checks whether account exists. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task HeadWithHttpMessagesAsync(string resourceGroupName, string accountName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Creates or updates Account. /// /// diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/IDeviceUpdateClient.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/IDeviceUpdateClient.cs index 7b34b3d5d5c8..fb9e8a46d6c4 100644 --- a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/IDeviceUpdateClient.cs +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/IDeviceUpdateClient.cs @@ -14,6 +14,10 @@ namespace Microsoft.Azure.Management.DeviceUpdate using Microsoft.Rest.Azure; using Models; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; /// /// Microsoft Device Update resource provider. @@ -79,10 +83,39 @@ public partial interface IDeviceUpdateClient : System.IDisposable /// IInstancesOperations Instances { get; } + /// + /// Gets the IPrivateEndpointConnectionsOperations. + /// + IPrivateEndpointConnectionsOperations PrivateEndpointConnections { get; } + + /// + /// Gets the IPrivateLinkResourcesOperations. + /// + IPrivateLinkResourcesOperations PrivateLinkResources { get; } + + /// + /// Gets the IPrivateEndpointConnectionProxiesOperations. + /// + IPrivateEndpointConnectionProxiesOperations PrivateEndpointConnectionProxies { get; } + /// /// Gets the IOperations. /// IOperations Operations { get; } + /// + /// Checks ADU resource name availability. + /// + /// + /// Check Name Availability Request. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> CheckNameAvailabilityWithHttpMessagesAsync(CheckNameAvailabilityRequest request, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } } diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/IInstancesOperations.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/IInstancesOperations.cs index 4e3df48e9120..4cf97c5fe0dc 100644 --- a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/IInstancesOperations.cs +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/IInstancesOperations.cs @@ -26,6 +26,9 @@ public partial interface IInstancesOperations /// /// Returns instances for the given account name. /// + /// + /// The resource group name. + /// /// /// Account name. /// @@ -44,9 +47,9 @@ public partial interface IInstancesOperations /// /// Thrown when a required parameter is null /// - Task>> ListBySubscriptionWithHttpMessagesAsync(string accountName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task>> ListByAccountWithHttpMessagesAsync(string resourceGroupName, string accountName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Returns instances for the given account name. + /// Returns instance details for the given instance and account name. /// /// /// The resource group name. @@ -54,6 +57,9 @@ public partial interface IInstancesOperations /// /// Account name. /// + /// + /// Instance name. + /// /// /// The headers that will be added to request. /// @@ -69,9 +75,9 @@ public partial interface IInstancesOperations /// /// Thrown when a required parameter is null /// - Task>> ListByAccountWithHttpMessagesAsync(string resourceGroupName, string accountName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetWithHttpMessagesAsync(string resourceGroupName, string accountName, string instanceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Returns instances for the given account and instance name. + /// Checks whether instance exists. /// /// /// The resource group name. @@ -91,13 +97,10 @@ public partial interface IInstancesOperations /// /// Thrown when the operation returned an invalid status code /// - /// - /// Thrown when unable to deserialize the response - /// /// /// Thrown when a required parameter is null /// - Task> GetWithHttpMessagesAsync(string resourceGroupName, string accountName, string instanceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task HeadWithHttpMessagesAsync(string resourceGroupName, string accountName, string instanceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Creates or updates instance. /// @@ -263,28 +266,6 @@ public partial interface IInstancesOperations /// /// Thrown when a required parameter is null /// - Task>> ListBySubscriptionNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Returns instances for the given account name. - /// - /// - /// The NextLink from the previous successful call to List operation. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// Task>> ListByAccountNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); } } diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/IPrivateEndpointConnectionProxiesOperations.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/IPrivateEndpointConnectionProxiesOperations.cs new file mode 100644 index 000000000000..3eda92b3ae6a --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/IPrivateEndpointConnectionProxiesOperations.cs @@ -0,0 +1,229 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// PrivateEndpointConnectionProxiesOperations operations. + /// + public partial interface IPrivateEndpointConnectionProxiesOperations + { + /// + /// (INTERNAL - DO NOT USE) List all private endpoint connection + /// proxies in a device update account. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByAccountWithHttpMessagesAsync(string resourceGroupName, string accountName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// (INTERNAL - DO NOT USE) Validates a private endpoint connection + /// proxy object. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The ID of the private endpoint connection proxy object. + /// + /// + /// The parameters for creating a private endpoint connection proxy. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task ValidateWithHttpMessagesAsync(string resourceGroupName, string accountName, string privateEndpointConnectionProxyId, PrivateEndpointConnectionProxy privateEndpointConnectionProxy, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// (INTERNAL - DO NOT USE) Get the specified private endpoint + /// connection proxy associated with the device update account. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The ID of the private endpoint connection proxy object. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetWithHttpMessagesAsync(string resourceGroupName, string accountName, string privateEndpointConnectionProxyId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// (INTERNAL - DO NOT USE) Creates or updates the specified private + /// endpoint connection proxy resource associated with the device + /// update account. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The ID of the private endpoint connection proxy object. + /// + /// + /// The parameters for creating a private endpoint connection proxy. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string accountName, string privateEndpointConnectionProxyId, PrivateEndpointConnectionProxy privateEndpointConnectionProxy, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// (INTERNAL - DO NOT USE) Deletes the specified private endpoint + /// connection proxy associated with the device update account. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The ID of the private endpoint connection proxy object. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task DeleteWithHttpMessagesAsync(string resourceGroupName, string accountName, string privateEndpointConnectionProxyId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// (INTERNAL - DO NOT USE) Creates or updates the specified private + /// endpoint connection proxy resource associated with the device + /// update account. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The ID of the private endpoint connection proxy object. + /// + /// + /// The parameters for creating a private endpoint connection proxy. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string accountName, string privateEndpointConnectionProxyId, PrivateEndpointConnectionProxy privateEndpointConnectionProxy, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// (INTERNAL - DO NOT USE) Deletes the specified private endpoint + /// connection proxy associated with the device update account. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The ID of the private endpoint connection proxy object. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string accountName, string privateEndpointConnectionProxyId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/IPrivateEndpointConnectionsOperations.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/IPrivateEndpointConnectionsOperations.cs new file mode 100644 index 000000000000..355c8b0221b4 --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/IPrivateEndpointConnectionsOperations.cs @@ -0,0 +1,202 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// PrivateEndpointConnectionsOperations operations. + /// + public partial interface IPrivateEndpointConnectionsOperations + { + /// + /// List all private endpoint connections in a device update account. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByAccountWithHttpMessagesAsync(string resourceGroupName, string accountName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Get the specified private endpoint connection associated with the + /// device update account. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The name of the private endpoint connection associated with the + /// Azure resource + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetWithHttpMessagesAsync(string resourceGroupName, string accountName, string privateEndpointConnectionName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Update the state of specified private endpoint connection + /// associated with the device update account. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The name of the private endpoint connection associated with the + /// Azure resource + /// + /// + /// The parameters for creating a private endpoint connection. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string accountName, string privateEndpointConnectionName, PrivateEndpointConnection privateEndpointConnection, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Deletes the specified private endpoint connection associated with + /// the device update account. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The name of the private endpoint connection associated with the + /// Azure resource + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task DeleteWithHttpMessagesAsync(string resourceGroupName, string accountName, string privateEndpointConnectionName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Update the state of specified private endpoint connection + /// associated with the device update account. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The name of the private endpoint connection associated with the + /// Azure resource + /// + /// + /// The parameters for creating a private endpoint connection. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string accountName, string privateEndpointConnectionName, PrivateEndpointConnection privateEndpointConnection, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Deletes the specified private endpoint connection associated with + /// the device update account. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The name of the private endpoint connection associated with the + /// Azure resource + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string accountName, string privateEndpointConnectionName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/IPrivateLinkResourcesOperations.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/IPrivateLinkResourcesOperations.cs new file mode 100644 index 000000000000..e5055d9921d9 --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/IPrivateLinkResourcesOperations.cs @@ -0,0 +1,81 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// PrivateLinkResourcesOperations operations. + /// + public partial interface IPrivateLinkResourcesOperations + { + /// + /// List all private link resources in a device update account. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByAccountWithHttpMessagesAsync(string resourceGroupName, string accountName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Get the specified private link resource associated with the device + /// update account. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The group ID of the private link resource. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetWithHttpMessagesAsync(string resourceGroupName, string accountName, string groupId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/InstancesOperations.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/InstancesOperations.cs index 606bdcebbadd..9a5e28c40cb2 100644 --- a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/InstancesOperations.cs +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/InstancesOperations.cs @@ -53,6 +53,9 @@ internal InstancesOperations(DeviceUpdateClient client) /// /// Returns instances for the given account name. /// + /// + /// The resource group name. + /// /// /// Account name. /// @@ -77,8 +80,12 @@ internal InstancesOperations(DeviceUpdateClient client) /// /// A response object containing the response body and response headers. /// - public async Task>> ListBySubscriptionWithHttpMessagesAsync(string accountName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>> ListByAccountWithHttpMessagesAsync(string resourceGroupName, string accountName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } if (Client.ApiVersion == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); @@ -98,13 +105,15 @@ internal InstancesOperations(DeviceUpdateClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("accountName", accountName); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListBySubscription", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListByAccount", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.DeviceUpdate/accounts/{accountName}/instances").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceUpdate/accounts/{accountName}/instances").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); List _queryParameters = new List(); @@ -233,7 +242,7 @@ internal InstancesOperations(DeviceUpdateClient client) } /// - /// Returns instances for the given account name. + /// Returns instance details for the given instance and account name. /// /// /// The resource group name. @@ -241,6 +250,9 @@ internal InstancesOperations(DeviceUpdateClient client) /// /// Account name. /// + /// + /// Instance name. + /// /// /// Headers that will be added to request. /// @@ -262,7 +274,7 @@ internal InstancesOperations(DeviceUpdateClient client) /// /// A response object containing the response body and response headers. /// - public async Task>> ListByAccountWithHttpMessagesAsync(string resourceGroupName, string accountName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string accountName, string instanceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { @@ -280,6 +292,10 @@ internal InstancesOperations(DeviceUpdateClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "accountName"); } + if (instanceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "instanceName"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -289,15 +305,17 @@ internal InstancesOperations(DeviceUpdateClient client) Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("accountName", accountName); + tracingParameters.Add("instanceName", instanceName); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByAccount", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceUpdate/accounts/{accountName}/instances").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceUpdate/accounts/{accountName}/instances/{instanceName}").ToString(); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{instanceName}", System.Uri.EscapeDataString(instanceName)); List _queryParameters = new List(); if (Client.ApiVersion != null) { @@ -391,7 +409,7 @@ internal InstancesOperations(DeviceUpdateClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse>(); + var _result = new AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) @@ -404,7 +422,7 @@ internal InstancesOperations(DeviceUpdateClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -424,7 +442,7 @@ internal InstancesOperations(DeviceUpdateClient client) } /// - /// Returns instances for the given account and instance name. + /// Checks whether instance exists. /// /// /// The resource group name. @@ -444,9 +462,6 @@ internal InstancesOperations(DeviceUpdateClient client) /// /// Thrown when the operation returned an invalid status code /// - /// - /// Thrown when unable to deserialize the response - /// /// /// Thrown when a required parameter is null /// @@ -456,7 +471,7 @@ internal InstancesOperations(DeviceUpdateClient client) /// /// A response object containing the response body and response headers. /// - public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string accountName, string instanceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task HeadWithHttpMessagesAsync(string resourceGroupName, string accountName, string instanceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { @@ -489,7 +504,7 @@ internal InstancesOperations(DeviceUpdateClient client) tracingParameters.Add("accountName", accountName); tracingParameters.Add("instanceName", instanceName); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "Head", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; @@ -510,7 +525,7 @@ internal InstancesOperations(DeviceUpdateClient client) // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("HEAD"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -553,7 +568,7 @@ internal InstancesOperations(DeviceUpdateClient client) ServiceClientTracing.SendRequest(_invocationId, _httpRequest); } cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); if (_shouldTrace) { ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); @@ -591,31 +606,13 @@ internal InstancesOperations(DeviceUpdateClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + var _result = new AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) { _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -1285,174 +1282,6 @@ internal InstancesOperations(DeviceUpdateClient client) return _result; } - /// - /// Returns instances for the given account name. - /// - /// - /// The NextLink from the previous successful call to List operation. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task>> ListBySubscriptionNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (nextPageLink == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("nextPageLink", nextPageLink); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListBySubscriptionNext", tracingParameters); - } - // Construct URL - string _url = "{nextLink}"; - _url = _url.Replace("{nextLink}", nextPageLink); - List _queryParameters = new List(); - if (_queryParameters.Count > 0) - { - _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) - { - _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); - } - if (Client.AcceptLanguage != null) - { - if (_httpRequest.Headers.Contains("accept-language")) - { - _httpRequest.Headers.Remove("accept-language"); - } - _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); - } - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Client.Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200) - { - var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - try - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - if (_errorBody != null) - { - ex.Body = _errorBody; - } - } - catch (JsonException) - { - // Ignore the exception - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new AzureOperationResponse>(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - /// /// Returns instances for the given account name. /// diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/InstancesOperationsExtensions.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/InstancesOperationsExtensions.cs index bfeb769bf28f..2d95841233ab 100644 --- a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/InstancesOperationsExtensions.cs +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/InstancesOperationsExtensions.cs @@ -29,12 +29,15 @@ public static partial class InstancesOperationsExtensions /// /// The operations group for this extension method. /// + /// + /// The resource group name. + /// /// /// Account name. /// - public static IPage ListBySubscription(this IInstancesOperations operations, string accountName) + public static IPage ListByAccount(this IInstancesOperations operations, string resourceGroupName, string accountName) { - return operations.ListBySubscriptionAsync(accountName).GetAwaiter().GetResult(); + return operations.ListByAccountAsync(resourceGroupName, accountName).GetAwaiter().GetResult(); } /// @@ -43,22 +46,25 @@ public static IPage ListBySubscription(this IInstancesOperations opera /// /// The operations group for this extension method. /// + /// + /// The resource group name. + /// /// /// Account name. /// /// /// The cancellation token. /// - public static async Task> ListBySubscriptionAsync(this IInstancesOperations operations, string accountName, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task> ListByAccountAsync(this IInstancesOperations operations, string resourceGroupName, string accountName, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListBySubscriptionWithHttpMessagesAsync(accountName, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListByAccountWithHttpMessagesAsync(resourceGroupName, accountName, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// Returns instances for the given account name. + /// Returns instance details for the given instance and account name. /// /// /// The operations group for this extension method. @@ -69,13 +75,16 @@ public static IPage ListBySubscription(this IInstancesOperations opera /// /// Account name. /// - public static IPage ListByAccount(this IInstancesOperations operations, string resourceGroupName, string accountName) + /// + /// Instance name. + /// + public static Instance Get(this IInstancesOperations operations, string resourceGroupName, string accountName, string instanceName) { - return operations.ListByAccountAsync(resourceGroupName, accountName).GetAwaiter().GetResult(); + return operations.GetAsync(resourceGroupName, accountName, instanceName).GetAwaiter().GetResult(); } /// - /// Returns instances for the given account name. + /// Returns instance details for the given instance and account name. /// /// /// The operations group for this extension method. @@ -86,19 +95,22 @@ public static IPage ListByAccount(this IInstancesOperations operations /// /// Account name. /// + /// + /// Instance name. + /// /// /// The cancellation token. /// - public static async Task> ListByAccountAsync(this IInstancesOperations operations, string resourceGroupName, string accountName, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAsync(this IInstancesOperations operations, string resourceGroupName, string accountName, string instanceName, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListByAccountWithHttpMessagesAsync(resourceGroupName, accountName, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, accountName, instanceName, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// Returns instances for the given account and instance name. + /// Checks whether instance exists. /// /// /// The operations group for this extension method. @@ -112,13 +124,13 @@ public static IPage ListByAccount(this IInstancesOperations operations /// /// Instance name. /// - public static Instance Get(this IInstancesOperations operations, string resourceGroupName, string accountName, string instanceName) + public static void Head(this IInstancesOperations operations, string resourceGroupName, string accountName, string instanceName) { - return operations.GetAsync(resourceGroupName, accountName, instanceName).GetAwaiter().GetResult(); + operations.HeadAsync(resourceGroupName, accountName, instanceName).GetAwaiter().GetResult(); } /// - /// Returns instances for the given account and instance name. + /// Checks whether instance exists. /// /// /// The operations group for this extension method. @@ -135,12 +147,9 @@ public static Instance Get(this IInstancesOperations operations, string resource /// /// The cancellation token. /// - public static async Task GetAsync(this IInstancesOperations operations, string resourceGroupName, string accountName, string instanceName, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task HeadAsync(this IInstancesOperations operations, string resourceGroupName, string accountName, string instanceName, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, accountName, instanceName, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } + (await operations.HeadWithHttpMessagesAsync(resourceGroupName, accountName, instanceName, null, cancellationToken).ConfigureAwait(false)).Dispose(); } /// @@ -387,40 +396,6 @@ public static void BeginDelete(this IInstancesOperations operations, string reso (await operations.BeginDeleteWithHttpMessagesAsync(resourceGroupName, accountName, instanceName, null, cancellationToken).ConfigureAwait(false)).Dispose(); } - /// - /// Returns instances for the given account name. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The NextLink from the previous successful call to List operation. - /// - public static IPage ListBySubscriptionNext(this IInstancesOperations operations, string nextPageLink) - { - return operations.ListBySubscriptionNextAsync(nextPageLink).GetAwaiter().GetResult(); - } - - /// - /// Returns instances for the given account name. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The NextLink from the previous successful call to List operation. - /// - /// - /// The cancellation token. - /// - public static async Task> ListBySubscriptionNextAsync(this IInstancesOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListBySubscriptionNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - /// /// Returns instances for the given account name. /// diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/Account.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/Account.cs index 775570668718..fa86a62e43ac 100644 --- a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/Account.cs +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/Account.cs @@ -42,16 +42,25 @@ public Account() /// The type of the resource. E.g. /// "Microsoft.Compute/virtualMachines" or /// "Microsoft.Storage/storageAccounts" + /// Azure Resource Manager metadata containing + /// createdBy and modifiedBy information. /// Resource tags. /// Provisioning state. Possible values /// include: 'Succeeded', 'Deleted', 'Failed', 'Canceled', 'Accepted', /// 'Creating' /// API host name. - public Account(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string provisioningState = default(string), string hostName = default(string)) - : base(location, id, name, type, tags) + /// Whether or not public network + /// access is allowed for the container registry. Possible values + /// include: 'Enabled', 'Disabled' + /// The type of identity used for the + /// resource. + public Account(string location, string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), IDictionary tags = default(IDictionary), string provisioningState = default(string), string hostName = default(string), string publicNetworkAccess = default(string), ManagedServiceIdentity identity = default(ManagedServiceIdentity)) + : base(location, id, name, type, systemData, tags) { ProvisioningState = provisioningState; HostName = hostName; + PublicNetworkAccess = publicNetworkAccess; + Identity = identity; CustomInit(); } @@ -73,5 +82,19 @@ public Account() [JsonProperty(PropertyName = "properties.hostName")] public string HostName { get; private set; } + /// + /// Gets or sets whether or not public network access is allowed for + /// the container registry. Possible values include: 'Enabled', + /// 'Disabled' + /// + [JsonProperty(PropertyName = "properties.publicNetworkAccess")] + public string PublicNetworkAccess { get; set; } + + /// + /// Gets or sets the type of identity used for the resource. + /// + [JsonProperty(PropertyName = "identity")] + public ManagedServiceIdentity Identity { get; set; } + } } diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/AccountUpdate.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/AccountUpdate.cs index d859ea3e037d..5560a819edbc 100644 --- a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/AccountUpdate.cs +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/AccountUpdate.cs @@ -33,11 +33,14 @@ public AccountUpdate() /// /// List of key value pairs that describe the /// resource. This will overwrite the existing tags. + /// The type of identity used for the + /// resource. /// The geo-location where the resource /// lives - public AccountUpdate(IDictionary tags = default(IDictionary), string location = default(string)) + public AccountUpdate(IDictionary tags = default(IDictionary), ManagedServiceIdentity identity = default(ManagedServiceIdentity), string location = default(string)) : base(tags) { + Identity = identity; Location = location; CustomInit(); } @@ -47,6 +50,12 @@ public AccountUpdate() /// partial void CustomInit(); + /// + /// Gets or sets the type of identity used for the resource. + /// + [JsonProperty(PropertyName = "identity")] + public ManagedServiceIdentity Identity { get; set; } + /// /// Gets or sets the geo-location where the resource lives /// diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/AzureEntityResource.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/AzureEntityResource.cs index ccc8f00303cc..c742270e9006 100644 --- a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/AzureEntityResource.cs +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/AzureEntityResource.cs @@ -39,9 +39,11 @@ public AzureEntityResource() /// The type of the resource. E.g. /// "Microsoft.Compute/virtualMachines" or /// "Microsoft.Storage/storageAccounts" + /// Azure Resource Manager metadata containing + /// createdBy and modifiedBy information. /// Resource Etag. - public AzureEntityResource(string id = default(string), string name = default(string), string type = default(string), string etag = default(string)) - : base(id, name, type) + public AzureEntityResource(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string etag = default(string)) + : base(id, name, type, systemData) { Etag = etag; CustomInit(); diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/CheckNameAvailabilityReason.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/CheckNameAvailabilityReason.cs new file mode 100644 index 000000000000..3efcc2436f2d --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/CheckNameAvailabilityReason.cs @@ -0,0 +1,22 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate.Models +{ + + /// + /// Defines values for CheckNameAvailabilityReason. + /// + public static class CheckNameAvailabilityReason + { + public const string Invalid = "Invalid"; + public const string AlreadyExists = "AlreadyExists"; + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/CheckNameAvailabilityRequest.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/CheckNameAvailabilityRequest.cs new file mode 100644 index 000000000000..2967d694c99e --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/CheckNameAvailabilityRequest.cs @@ -0,0 +1,63 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// The check availability request body. + /// + public partial class CheckNameAvailabilityRequest + { + /// + /// Initializes a new instance of the CheckNameAvailabilityRequest + /// class. + /// + public CheckNameAvailabilityRequest() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the CheckNameAvailabilityRequest + /// class. + /// + /// The name of the resource for which availability + /// needs to be checked. + /// The resource type. + public CheckNameAvailabilityRequest(string name = default(string), string type = default(string)) + { + Name = name; + Type = type; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the name of the resource for which availability needs + /// to be checked. + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } + + /// + /// Gets or sets the resource type. + /// + [JsonProperty(PropertyName = "type")] + public string Type { get; set; } + + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/CheckNameAvailabilityResponse.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/CheckNameAvailabilityResponse.cs new file mode 100644 index 000000000000..f12b9ae6bfef --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/CheckNameAvailabilityResponse.cs @@ -0,0 +1,74 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// The check availability result. + /// + public partial class CheckNameAvailabilityResponse + { + /// + /// Initializes a new instance of the CheckNameAvailabilityResponse + /// class. + /// + public CheckNameAvailabilityResponse() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the CheckNameAvailabilityResponse + /// class. + /// + /// Indicates if the resource name is + /// available. + /// The reason why the given name is not + /// available. Possible values include: 'Invalid', + /// 'AlreadyExists' + /// Detailed reason why the given name is + /// available. + public CheckNameAvailabilityResponse(bool? nameAvailable = default(bool?), string reason = default(string), string message = default(string)) + { + NameAvailable = nameAvailable; + Reason = reason; + Message = message; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets indicates if the resource name is available. + /// + [JsonProperty(PropertyName = "nameAvailable")] + public bool? NameAvailable { get; set; } + + /// + /// Gets or sets the reason why the given name is not available. + /// Possible values include: 'Invalid', 'AlreadyExists' + /// + [JsonProperty(PropertyName = "reason")] + public string Reason { get; set; } + + /// + /// Gets or sets detailed reason why the given name is available. + /// + [JsonProperty(PropertyName = "message")] + public string Message { get; set; } + + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/ConnectionDetails.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/ConnectionDetails.cs new file mode 100644 index 000000000000..27fd6b8ad96e --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/ConnectionDetails.cs @@ -0,0 +1,83 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Private endpoint connection proxy object properties. + /// + public partial class ConnectionDetails + { + /// + /// Initializes a new instance of the ConnectionDetails class. + /// + public ConnectionDetails() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ConnectionDetails class. + /// + /// Connection details ID. + /// Private IP address. + /// Link ID. + /// Group ID. + /// Member name. + public ConnectionDetails(string id = default(string), string privateIpAddress = default(string), string linkIdentifier = default(string), string groupId = default(string), string memberName = default(string)) + { + Id = id; + PrivateIpAddress = privateIpAddress; + LinkIdentifier = linkIdentifier; + GroupId = groupId; + MemberName = memberName; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets connection details ID. + /// + [JsonProperty(PropertyName = "id")] + public string Id { get; private set; } + + /// + /// Gets private IP address. + /// + [JsonProperty(PropertyName = "privateIpAddress")] + public string PrivateIpAddress { get; private set; } + + /// + /// Gets link ID. + /// + [JsonProperty(PropertyName = "linkIdentifier")] + public string LinkIdentifier { get; private set; } + + /// + /// Gets group ID. + /// + [JsonProperty(PropertyName = "groupId")] + public string GroupId { get; private set; } + + /// + /// Gets member name. + /// + [JsonProperty(PropertyName = "memberName")] + public string MemberName { get; private set; } + + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/CreatedByType.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/CreatedByType.cs new file mode 100644 index 000000000000..efe9aa839fa9 --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/CreatedByType.cs @@ -0,0 +1,24 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate.Models +{ + + /// + /// Defines values for CreatedByType. + /// + public static class CreatedByType + { + public const string User = "User"; + public const string Application = "Application"; + public const string ManagedIdentity = "ManagedIdentity"; + public const string Key = "Key"; + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/DiagnosticStorageProperties.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/DiagnosticStorageProperties.cs new file mode 100644 index 000000000000..9f7459e2eb0d --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/DiagnosticStorageProperties.cs @@ -0,0 +1,76 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Customer-initiated diagnostic log collection storage properties + /// + public partial class DiagnosticStorageProperties + { + /// + /// Initializes a new instance of the DiagnosticStorageProperties + /// class. + /// + public DiagnosticStorageProperties() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the DiagnosticStorageProperties + /// class. + /// + /// ResourceId of the diagnostic storage + /// account + /// ConnectionString of the diagnostic + /// storage account + public DiagnosticStorageProperties(string resourceId, string connectionString = default(string)) + { + ConnectionString = connectionString; + ResourceId = resourceId; + CustomInit(); + } + /// + /// Static constructor for DiagnosticStorageProperties class. + /// + static DiagnosticStorageProperties() + { + AuthenticationType = "KeyBased"; + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets connectionString of the diagnostic storage account + /// + [JsonProperty(PropertyName = "connectionString")] + public string ConnectionString { get; set; } + + /// + /// Gets or sets resourceId of the diagnostic storage account + /// + [JsonProperty(PropertyName = "resourceId")] + public string ResourceId { get; set; } + + /// + /// Authentication Type + /// + [JsonProperty(PropertyName = "authenticationType")] + public static string AuthenticationType { get; private set; } + + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/ErrorAdditionalInfo.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/ErrorAdditionalInfo.cs new file mode 100644 index 000000000000..69522f376a91 --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/ErrorAdditionalInfo.cs @@ -0,0 +1,59 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// The resource management error additional info. + /// + public partial class ErrorAdditionalInfo + { + /// + /// Initializes a new instance of the ErrorAdditionalInfo class. + /// + public ErrorAdditionalInfo() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ErrorAdditionalInfo class. + /// + /// The additional info type. + /// The additional info. + public ErrorAdditionalInfo(string type = default(string), object info = default(object)) + { + Type = type; + Info = info; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets the additional info type. + /// + [JsonProperty(PropertyName = "type")] + public string Type { get; private set; } + + /// + /// Gets the additional info. + /// + [JsonProperty(PropertyName = "info")] + public object Info { get; private set; } + + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/ErrorDefinition.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/ErrorDefinition.cs deleted file mode 100644 index c4d3fb9415ab..000000000000 --- a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/ErrorDefinition.cs +++ /dev/null @@ -1,69 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DeviceUpdate.Models -{ - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// Error definition. - /// - public partial class ErrorDefinition - { - /// - /// Initializes a new instance of the ErrorDefinition class. - /// - public ErrorDefinition() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the ErrorDefinition class. - /// - /// Error status code. - /// Error message. - /// Error details. - public ErrorDefinition(string code = default(string), string message = default(string), IList details = default(IList)) - { - Code = code; - Message = message; - Details = details; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets error status code. - /// - [JsonProperty(PropertyName = "code")] - public string Code { get; private set; } - - /// - /// Gets error message. - /// - [JsonProperty(PropertyName = "message")] - public string Message { get; private set; } - - /// - /// Gets or sets error details. - /// - [JsonProperty(PropertyName = "details")] - public IList Details { get; set; } - - } -} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/ErrorDetail.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/ErrorDetail.cs new file mode 100644 index 000000000000..5aada779027d --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/ErrorDetail.cs @@ -0,0 +1,85 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// The error detail. + /// + public partial class ErrorDetail + { + /// + /// Initializes a new instance of the ErrorDetail class. + /// + public ErrorDetail() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ErrorDetail class. + /// + /// The error code. + /// The error message. + /// The error target. + /// The error details. + /// The error additional info. + public ErrorDetail(string code = default(string), string message = default(string), string target = default(string), IList details = default(IList), IList additionalInfo = default(IList)) + { + Code = code; + Message = message; + Target = target; + Details = details; + AdditionalInfo = additionalInfo; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets the error code. + /// + [JsonProperty(PropertyName = "code")] + public string Code { get; private set; } + + /// + /// Gets the error message. + /// + [JsonProperty(PropertyName = "message")] + public string Message { get; private set; } + + /// + /// Gets the error target. + /// + [JsonProperty(PropertyName = "target")] + public string Target { get; private set; } + + /// + /// Gets the error details. + /// + [JsonProperty(PropertyName = "details")] + public IList Details { get; private set; } + + /// + /// Gets the error additional info. + /// + [JsonProperty(PropertyName = "additionalInfo")] + public IList AdditionalInfo { get; private set; } + + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/ErrorResponse.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/ErrorResponse.cs index 0523c368121a..3fffc19cf5a2 100644 --- a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/ErrorResponse.cs +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/ErrorResponse.cs @@ -14,9 +14,13 @@ namespace Microsoft.Azure.Management.DeviceUpdate.Models using System.Linq; /// - /// Error response indicates that the service is not able to process the - /// incoming request. + /// Error response /// + /// + /// Common error response for all Azure Resource Manager APIs to return + /// error details for failed operations. (This also follows the OData error + /// response format.). + /// public partial class ErrorResponse { /// @@ -30,11 +34,9 @@ public ErrorResponse() /// /// Initializes a new instance of the ErrorResponse class. /// - /// Error status code. - /// Error details. - public ErrorResponse(string code = default(string), ErrorDefinition error = default(ErrorDefinition)) + /// The error object. + public ErrorResponse(ErrorDetail error = default(ErrorDetail)) { - Code = code; Error = error; CustomInit(); } @@ -45,16 +47,10 @@ public ErrorResponse() partial void CustomInit(); /// - /// Gets error status code. - /// - [JsonProperty(PropertyName = "code")] - public string Code { get; private set; } - - /// - /// Gets error details. + /// Gets or sets the error object. /// [JsonProperty(PropertyName = "error")] - public ErrorDefinition Error { get; private set; } + public ErrorDetail Error { get; set; } } } diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/GroupConnectivityInformation.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/GroupConnectivityInformation.cs new file mode 100644 index 000000000000..2fad076960c8 --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/GroupConnectivityInformation.cs @@ -0,0 +1,80 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Group connectivity details. + /// + public partial class GroupConnectivityInformation + { + /// + /// Initializes a new instance of the GroupConnectivityInformation + /// class. + /// + public GroupConnectivityInformation() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the GroupConnectivityInformation + /// class. + /// + /// Group ID. + /// Member name. + /// List of customer visible + /// FQDNs. + /// Internal FQDN. + public GroupConnectivityInformation(string groupId = default(string), string memberName = default(string), IList customerVisibleFqdns = default(IList), string internalFqdn = default(string)) + { + GroupId = groupId; + MemberName = memberName; + CustomerVisibleFqdns = customerVisibleFqdns; + InternalFqdn = internalFqdn; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets group ID. + /// + [JsonProperty(PropertyName = "groupId")] + public string GroupId { get; private set; } + + /// + /// Gets member name. + /// + [JsonProperty(PropertyName = "memberName")] + public string MemberName { get; private set; } + + /// + /// Gets or sets list of customer visible FQDNs. + /// + [JsonProperty(PropertyName = "customerVisibleFqdns")] + public IList CustomerVisibleFqdns { get; set; } + + /// + /// Gets internal FQDN. + /// + [JsonProperty(PropertyName = "internalFqdn")] + public string InternalFqdn { get; private set; } + + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/GroupIdProvisioningState.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/GroupIdProvisioningState.cs new file mode 100644 index 000000000000..28e6fdd5c391 --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/GroupIdProvisioningState.cs @@ -0,0 +1,23 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate.Models +{ + + /// + /// Defines values for GroupIdProvisioningState. + /// + public static class GroupIdProvisioningState + { + public const string Succeeded = "Succeeded"; + public const string Failed = "Failed"; + public const string Canceled = "Canceled"; + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/GroupInformation.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/GroupInformation.cs new file mode 100644 index 000000000000..ac94b4e0988f --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/GroupInformation.cs @@ -0,0 +1,94 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// The group information for creating a private endpoint on an Account + /// + [Rest.Serialization.JsonTransformation] + public partial class GroupInformation : ProxyResource + { + /// + /// Initializes a new instance of the GroupInformation class. + /// + public GroupInformation() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the GroupInformation class. + /// + /// Fully qualified resource ID for the resource. Ex - + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// The name of the resource + /// The type of the resource. E.g. + /// "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" + /// Azure Resource Manager metadata containing + /// createdBy and modifiedBy information. + /// The private link resource group id. + /// The private link resource required + /// member names. + /// The private link resource Private + /// link DNS zone name. + /// The provisioning state of private + /// link group ID. Possible values include: 'Succeeded', 'Failed', + /// 'Canceled' + public GroupInformation(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string groupId = default(string), IList requiredMembers = default(IList), IList requiredZoneNames = default(IList), string provisioningState = default(string)) + : base(id, name, type, systemData) + { + GroupId = groupId; + RequiredMembers = requiredMembers; + RequiredZoneNames = requiredZoneNames; + ProvisioningState = provisioningState; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets the private link resource group id. + /// + [JsonProperty(PropertyName = "properties.groupId")] + public string GroupId { get; private set; } + + /// + /// Gets the private link resource required member names. + /// + [JsonProperty(PropertyName = "properties.requiredMembers")] + public IList RequiredMembers { get; private set; } + + /// + /// Gets or sets the private link resource Private link DNS zone name. + /// + [JsonProperty(PropertyName = "properties.requiredZoneNames")] + public IList RequiredZoneNames { get; set; } + + /// + /// Gets the provisioning state of private link group ID. Possible + /// values include: 'Succeeded', 'Failed', 'Canceled' + /// + [JsonProperty(PropertyName = "properties.provisioningState")] + public string ProvisioningState { get; private set; } + + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/Instance.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/Instance.cs index 2388f859e207..527d6879b463 100644 --- a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/Instance.cs +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/Instance.cs @@ -42,6 +42,8 @@ public Instance() /// The type of the resource. E.g. /// "Microsoft.Compute/virtualMachines" or /// "Microsoft.Storage/storageAccounts" + /// Azure Resource Manager metadata containing + /// createdBy and modifiedBy information. /// Resource tags. /// Provisioning state. Possible values /// include: 'Succeeded', 'Deleted', 'Failed', 'Canceled', 'Accepted', @@ -50,12 +52,16 @@ public Instance() /// Instance belongs to. /// List of IoT Hubs associated with the /// account. - public Instance(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string provisioningState = default(string), string accountName = default(string), IList iotHubs = default(IList)) - : base(location, id, name, type, tags) + /// Enables or Disables the diagnostic + /// logs collection + public Instance(string location, string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), IDictionary tags = default(IDictionary), string provisioningState = default(string), string accountName = default(string), IList iotHubs = default(IList), bool? enableDiagnostics = default(bool?), DiagnosticStorageProperties diagnosticStorageProperties = default(DiagnosticStorageProperties)) + : base(location, id, name, type, systemData, tags) { ProvisioningState = provisioningState; AccountName = accountName; IotHubs = iotHubs; + EnableDiagnostics = enableDiagnostics; + DiagnosticStorageProperties = diagnosticStorageProperties; CustomInit(); } @@ -83,5 +89,16 @@ public Instance() [JsonProperty(PropertyName = "properties.iotHubs")] public IList IotHubs { get; set; } + /// + /// Gets or sets enables or Disables the diagnostic logs collection + /// + [JsonProperty(PropertyName = "properties.enableDiagnostics")] + public bool? EnableDiagnostics { get; set; } + + /// + /// + [JsonProperty(PropertyName = "properties.diagnosticStorageProperties")] + public DiagnosticStorageProperties DiagnosticStorageProperties { get; set; } + } } diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/ManagedServiceIdentity.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/ManagedServiceIdentity.cs new file mode 100644 index 000000000000..079c33965459 --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/ManagedServiceIdentity.cs @@ -0,0 +1,85 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Managed service identity (system assigned and/or user assigned + /// identities) + /// + public partial class ManagedServiceIdentity + { + /// + /// Initializes a new instance of the ManagedServiceIdentity class. + /// + public ManagedServiceIdentity() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ManagedServiceIdentity class. + /// + /// Possible values include: 'None', + /// 'SystemAssigned', 'UserAssigned', + /// 'SystemAssigned,UserAssigned' + /// The service principal ID of the system + /// assigned identity. This property will only be provided for a system + /// assigned identity. + /// The tenant ID of the system assigned + /// identity. This property will only be provided for a system assigned + /// identity. + public ManagedServiceIdentity(string type, System.Guid? principalId = default(System.Guid?), System.Guid? tenantId = default(System.Guid?), IDictionary userAssignedIdentities = default(IDictionary)) + { + PrincipalId = principalId; + TenantId = tenantId; + Type = type; + UserAssignedIdentities = userAssignedIdentities; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets the service principal ID of the system assigned identity. This + /// property will only be provided for a system assigned identity. + /// + [JsonProperty(PropertyName = "principalId")] + public System.Guid? PrincipalId { get; private set; } + + /// + /// Gets the tenant ID of the system assigned identity. This property + /// will only be provided for a system assigned identity. + /// + [JsonProperty(PropertyName = "tenantId")] + public System.Guid? TenantId { get; private set; } + + /// + /// Gets or sets possible values include: 'None', 'SystemAssigned', + /// 'UserAssigned', 'SystemAssigned,UserAssigned' + /// + [JsonProperty(PropertyName = "type")] + public string Type { get; set; } + + /// + /// + [JsonProperty(PropertyName = "userAssignedIdentities")] + public IDictionary UserAssignedIdentities { get; set; } + + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/ManagedServiceIdentityType.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/ManagedServiceIdentityType.cs new file mode 100644 index 000000000000..f415deaedc08 --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/ManagedServiceIdentityType.cs @@ -0,0 +1,24 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate.Models +{ + + /// + /// Defines values for ManagedServiceIdentityType. + /// + public static class ManagedServiceIdentityType + { + public const string None = "None"; + public const string SystemAssigned = "SystemAssigned"; + public const string UserAssigned = "UserAssigned"; + public const string SystemAssignedUserAssigned = "SystemAssigned,UserAssigned"; + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/Page1.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/Page1.cs new file mode 100644 index 000000000000..59a261f1abb7 --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/Page1.cs @@ -0,0 +1,53 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + + /// + /// Defines a page in Azure responses. + /// + /// Type of the page content items + [JsonObject] + public class Page1 : IPage + { + /// + /// Gets the link to the next page. + /// + [JsonProperty("")] + public string NextPageLink { get; private set; } + + [JsonProperty("value")] + private IList Items{ get; set; } + + /// + /// Returns an enumerator that iterates through the collection. + /// + /// A an enumerator that can be used to iterate through the collection. + public IEnumerator GetEnumerator() + { + return Items == null ? System.Linq.Enumerable.Empty().GetEnumerator() : Items.GetEnumerator(); + } + + /// + /// Returns an enumerator that iterates through the collection. + /// + /// A an enumerator that can be used to iterate through the collection. + IEnumerator IEnumerable.GetEnumerator() + { + return GetEnumerator(); + } + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PrivateEndpoint.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PrivateEndpoint.cs new file mode 100644 index 000000000000..dde095f0fcdb --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PrivateEndpoint.cs @@ -0,0 +1,51 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// The Private Endpoint resource. + /// + public partial class PrivateEndpoint + { + /// + /// Initializes a new instance of the PrivateEndpoint class. + /// + public PrivateEndpoint() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the PrivateEndpoint class. + /// + /// The ARM identifier for Private Endpoint + public PrivateEndpoint(string id = default(string)) + { + Id = id; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets the ARM identifier for Private Endpoint + /// + [JsonProperty(PropertyName = "id")] + public string Id { get; private set; } + + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PrivateEndpointConnection.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PrivateEndpointConnection.cs new file mode 100644 index 000000000000..706723c6c69b --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PrivateEndpointConnection.cs @@ -0,0 +1,87 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// The Private Endpoint Connection resource. + /// + [Rest.Serialization.JsonTransformation] + public partial class PrivateEndpointConnection : Resource + { + /// + /// Initializes a new instance of the PrivateEndpointConnection class. + /// + public PrivateEndpointConnection() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the PrivateEndpointConnection class. + /// + /// A collection of + /// information about the state of the connection between service + /// consumer and provider. + /// Fully qualified resource ID for the resource. Ex - + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// The name of the resource + /// The type of the resource. E.g. + /// "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" + /// Azure Resource Manager metadata containing + /// createdBy and modifiedBy information. + /// The resource of private end + /// point. + /// The provisioning state of the + /// private endpoint connection resource. Possible values include: + /// 'Succeeded', 'Creating', 'Deleting', 'Failed' + public PrivateEndpointConnection(PrivateLinkServiceConnectionState privateLinkServiceConnectionState, string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), PrivateEndpoint privateEndpoint = default(PrivateEndpoint), string provisioningState = default(string)) + : base(id, name, type, systemData) + { + PrivateEndpoint = privateEndpoint; + PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; + ProvisioningState = provisioningState; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the resource of private end point. + /// + [JsonProperty(PropertyName = "properties.privateEndpoint")] + public PrivateEndpoint PrivateEndpoint { get; set; } + + /// + /// Gets or sets a collection of information about the state of the + /// connection between service consumer and provider. + /// + [JsonProperty(PropertyName = "properties.privateLinkServiceConnectionState")] + public PrivateLinkServiceConnectionState PrivateLinkServiceConnectionState { get; set; } + + /// + /// Gets or sets the provisioning state of the private endpoint + /// connection resource. Possible values include: 'Succeeded', + /// 'Creating', 'Deleting', 'Failed' + /// + [JsonProperty(PropertyName = "properties.provisioningState")] + public string ProvisioningState { get; set; } + + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PrivateEndpointConnectionProvisioningState.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PrivateEndpointConnectionProvisioningState.cs new file mode 100644 index 000000000000..631a74469059 --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PrivateEndpointConnectionProvisioningState.cs @@ -0,0 +1,24 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate.Models +{ + + /// + /// Defines values for PrivateEndpointConnectionProvisioningState. + /// + public static class PrivateEndpointConnectionProvisioningState + { + public const string Succeeded = "Succeeded"; + public const string Creating = "Creating"; + public const string Deleting = "Deleting"; + public const string Failed = "Failed"; + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PrivateEndpointConnectionProxy.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PrivateEndpointConnectionProxy.cs new file mode 100644 index 000000000000..b8f93d18cf12 --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PrivateEndpointConnectionProxy.cs @@ -0,0 +1,74 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Private endpoint connection proxy details. + /// + public partial class PrivateEndpointConnectionProxy + { + /// + /// Initializes a new instance of the PrivateEndpointConnectionProxy + /// class. + /// + public PrivateEndpointConnectionProxy() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the PrivateEndpointConnectionProxy + /// class. + /// + /// ETag from NRP. + /// Remote private endpoint + /// details. + /// The provisioning state of the + /// private endpoint connection proxy resource. Possible values + /// include: 'Succeeded', 'Creating', 'Deleting', 'Failed' + public PrivateEndpointConnectionProxy(string eTag = default(string), RemotePrivateEndpoint remotePrivateEndpoint = default(RemotePrivateEndpoint), string provisioningState = default(string)) + { + ETag = eTag; + RemotePrivateEndpoint = remotePrivateEndpoint; + ProvisioningState = provisioningState; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets eTag from NRP. + /// + [JsonProperty(PropertyName = "eTag")] + public string ETag { get; private set; } + + /// + /// Gets or sets remote private endpoint details. + /// + [JsonProperty(PropertyName = "remotePrivateEndpoint")] + public RemotePrivateEndpoint RemotePrivateEndpoint { get; set; } + + /// + /// Gets or sets the provisioning state of the private endpoint + /// connection proxy resource. Possible values include: 'Succeeded', + /// 'Creating', 'Deleting', 'Failed' + /// + [JsonProperty(PropertyName = "provisioningState")] + public string ProvisioningState { get; set; } + + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PrivateEndpointConnectionProxyProperties.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PrivateEndpointConnectionProxyProperties.cs new file mode 100644 index 000000000000..69b067870fe9 --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PrivateEndpointConnectionProxyProperties.cs @@ -0,0 +1,74 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Private endpoint connection proxy object properties. + /// + public partial class PrivateEndpointConnectionProxyProperties + { + /// + /// Initializes a new instance of the + /// PrivateEndpointConnectionProxyProperties class. + /// + public PrivateEndpointConnectionProxyProperties() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// PrivateEndpointConnectionProxyProperties class. + /// + /// ETag from NRP. + /// Remote private endpoint + /// details. + /// The provisioning state of the + /// private endpoint connection proxy resource. Possible values + /// include: 'Succeeded', 'Creating', 'Deleting', 'Failed' + public PrivateEndpointConnectionProxyProperties(string eTag = default(string), RemotePrivateEndpoint remotePrivateEndpoint = default(RemotePrivateEndpoint), string provisioningState = default(string)) + { + ETag = eTag; + RemotePrivateEndpoint = remotePrivateEndpoint; + ProvisioningState = provisioningState; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets eTag from NRP. + /// + [JsonProperty(PropertyName = "eTag")] + public string ETag { get; private set; } + + /// + /// Gets or sets remote private endpoint details. + /// + [JsonProperty(PropertyName = "remotePrivateEndpoint")] + public RemotePrivateEndpoint RemotePrivateEndpoint { get; set; } + + /// + /// Gets or sets the provisioning state of the private endpoint + /// connection proxy resource. Possible values include: 'Succeeded', + /// 'Creating', 'Deleting', 'Failed' + /// + [JsonProperty(PropertyName = "provisioningState")] + public string ProvisioningState { get; set; } + + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PrivateEndpointConnectionProxyProvisioningState.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PrivateEndpointConnectionProxyProvisioningState.cs new file mode 100644 index 000000000000..050058b17d14 --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PrivateEndpointConnectionProxyProvisioningState.cs @@ -0,0 +1,24 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate.Models +{ + + /// + /// Defines values for PrivateEndpointConnectionProxyProvisioningState. + /// + public static class PrivateEndpointConnectionProxyProvisioningState + { + public const string Succeeded = "Succeeded"; + public const string Creating = "Creating"; + public const string Deleting = "Deleting"; + public const string Failed = "Failed"; + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PrivateEndpointServiceConnectionStatus.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PrivateEndpointServiceConnectionStatus.cs new file mode 100644 index 000000000000..f8076abb83bd --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PrivateEndpointServiceConnectionStatus.cs @@ -0,0 +1,23 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate.Models +{ + + /// + /// Defines values for PrivateEndpointServiceConnectionStatus. + /// + public static class PrivateEndpointServiceConnectionStatus + { + public const string Pending = "Pending"; + public const string Approved = "Approved"; + public const string Rejected = "Rejected"; + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PrivateLinkResourceProperties.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PrivateLinkResourceProperties.cs new file mode 100644 index 000000000000..d851945b94ee --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PrivateLinkResourceProperties.cs @@ -0,0 +1,73 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Properties of a private link resource. + /// + public partial class PrivateLinkResourceProperties + { + /// + /// Initializes a new instance of the PrivateLinkResourceProperties + /// class. + /// + public PrivateLinkResourceProperties() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the PrivateLinkResourceProperties + /// class. + /// + /// The private link resource group id. + /// The private link resource required + /// member names. + /// The private link resource Private + /// link DNS zone name. + public PrivateLinkResourceProperties(string groupId = default(string), IList requiredMembers = default(IList), IList requiredZoneNames = default(IList)) + { + GroupId = groupId; + RequiredMembers = requiredMembers; + RequiredZoneNames = requiredZoneNames; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets the private link resource group id. + /// + [JsonProperty(PropertyName = "groupId")] + public string GroupId { get; private set; } + + /// + /// Gets the private link resource required member names. + /// + [JsonProperty(PropertyName = "requiredMembers")] + public IList RequiredMembers { get; private set; } + + /// + /// Gets or sets the private link resource Private link DNS zone name. + /// + [JsonProperty(PropertyName = "requiredZoneNames")] + public IList RequiredZoneNames { get; set; } + + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PrivateLinkServiceConnection.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PrivateLinkServiceConnection.cs new file mode 100644 index 000000000000..5923fefc44c9 --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PrivateLinkServiceConnection.cs @@ -0,0 +1,71 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Private link service connection details. + /// + public partial class PrivateLinkServiceConnection + { + /// + /// Initializes a new instance of the PrivateLinkServiceConnection + /// class. + /// + public PrivateLinkServiceConnection() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the PrivateLinkServiceConnection + /// class. + /// + /// Private link service connection name. + /// List of group IDs. + /// Request message. + public PrivateLinkServiceConnection(string name = default(string), IList groupIds = default(IList), string requestMessage = default(string)) + { + Name = name; + GroupIds = groupIds; + RequestMessage = requestMessage; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets private link service connection name. + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } + + /// + /// Gets or sets list of group IDs. + /// + [JsonProperty(PropertyName = "groupIds")] + public IList GroupIds { get; set; } + + /// + /// Gets or sets request message. + /// + [JsonProperty(PropertyName = "requestMessage")] + public string RequestMessage { get; set; } + + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PrivateLinkServiceConnectionState.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PrivateLinkServiceConnectionState.cs new file mode 100644 index 000000000000..16f564511181 --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PrivateLinkServiceConnectionState.cs @@ -0,0 +1,77 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// A collection of information about the state of the connection between + /// service consumer and provider. + /// + public partial class PrivateLinkServiceConnectionState + { + /// + /// Initializes a new instance of the PrivateLinkServiceConnectionState + /// class. + /// + public PrivateLinkServiceConnectionState() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the PrivateLinkServiceConnectionState + /// class. + /// + /// Indicates whether the connection has been + /// Approved/Rejected/Removed by the owner of the service. Possible + /// values include: 'Pending', 'Approved', 'Rejected' + /// The reason for approval/rejection of the + /// connection. + /// A message indicating if changes on + /// the service provider require any updates on the consumer. + public PrivateLinkServiceConnectionState(string status = default(string), string description = default(string), string actionsRequired = default(string)) + { + Status = status; + Description = description; + ActionsRequired = actionsRequired; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets indicates whether the connection has been + /// Approved/Rejected/Removed by the owner of the service. Possible + /// values include: 'Pending', 'Approved', 'Rejected' + /// + [JsonProperty(PropertyName = "status")] + public string Status { get; set; } + + /// + /// Gets or sets the reason for approval/rejection of the connection. + /// + [JsonProperty(PropertyName = "description")] + public string Description { get; set; } + + /// + /// Gets or sets a message indicating if changes on the service + /// provider require any updates on the consumer. + /// + [JsonProperty(PropertyName = "actionsRequired")] + public string ActionsRequired { get; set; } + + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PrivateLinkServiceProxy.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PrivateLinkServiceProxy.cs new file mode 100644 index 000000000000..c3586f4e0737 --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PrivateLinkServiceProxy.cs @@ -0,0 +1,80 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Private link service proxy details. + /// + public partial class PrivateLinkServiceProxy + { + /// + /// Initializes a new instance of the PrivateLinkServiceProxy class. + /// + public PrivateLinkServiceProxy() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the PrivateLinkServiceProxy class. + /// + /// NRP resource ID. + /// Remote + /// private link service connection state + /// Remote private + /// endpoint connection details. + /// Group connectivity + /// information. + public PrivateLinkServiceProxy(string id = default(string), PrivateLinkServiceConnectionState remotePrivateLinkServiceConnectionState = default(PrivateLinkServiceConnectionState), PrivateLinkServiceProxyRemotePrivateEndpointConnection remotePrivateEndpointConnection = default(PrivateLinkServiceProxyRemotePrivateEndpointConnection), IList groupConnectivityInformation = default(IList)) + { + Id = id; + RemotePrivateLinkServiceConnectionState = remotePrivateLinkServiceConnectionState; + RemotePrivateEndpointConnection = remotePrivateEndpointConnection; + GroupConnectivityInformation = groupConnectivityInformation; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets NRP resource ID. + /// + [JsonProperty(PropertyName = "id")] + public string Id { get; set; } + + /// + /// Gets or sets remote private link service connection state + /// + [JsonProperty(PropertyName = "remotePrivateLinkServiceConnectionState")] + public PrivateLinkServiceConnectionState RemotePrivateLinkServiceConnectionState { get; set; } + + /// + /// Gets or sets remote private endpoint connection details. + /// + [JsonProperty(PropertyName = "remotePrivateEndpointConnection")] + public PrivateLinkServiceProxyRemotePrivateEndpointConnection RemotePrivateEndpointConnection { get; set; } + + /// + /// Gets or sets group connectivity information. + /// + [JsonProperty(PropertyName = "groupConnectivityInformation")] + public IList GroupConnectivityInformation { get; set; } + + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PrivateLinkServiceProxyRemotePrivateEndpointConnection.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PrivateLinkServiceProxyRemotePrivateEndpointConnection.cs new file mode 100644 index 000000000000..b555a1b88cf9 --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PrivateLinkServiceProxyRemotePrivateEndpointConnection.cs @@ -0,0 +1,46 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate.Models +{ + using System.Linq; + + /// + /// Remote private endpoint connection details. + /// + public partial class PrivateLinkServiceProxyRemotePrivateEndpointConnection : RemotePrivateEndpointConnection + { + /// + /// Initializes a new instance of the + /// PrivateLinkServiceProxyRemotePrivateEndpointConnection class. + /// + public PrivateLinkServiceProxyRemotePrivateEndpointConnection() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// PrivateLinkServiceProxyRemotePrivateEndpointConnection class. + /// + /// Remote private endpoint connection ID. + public PrivateLinkServiceProxyRemotePrivateEndpointConnection(string id = default(string)) + : base(id) + { + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/ProxyResource.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/ProxyResource.cs index 8e3a9a1646a8..6e9ab4185d07 100644 --- a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/ProxyResource.cs +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/ProxyResource.cs @@ -38,8 +38,10 @@ public ProxyResource() /// The type of the resource. E.g. /// "Microsoft.Compute/virtualMachines" or /// "Microsoft.Storage/storageAccounts" - public ProxyResource(string id = default(string), string name = default(string), string type = default(string)) - : base(id, name, type) + /// Azure Resource Manager metadata containing + /// createdBy and modifiedBy information. + public ProxyResource(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData)) + : base(id, name, type, systemData) { CustomInit(); } diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PublicNetworkAccess.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PublicNetworkAccess.cs new file mode 100644 index 000000000000..689aeeef76e3 --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/PublicNetworkAccess.cs @@ -0,0 +1,22 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate.Models +{ + + /// + /// Defines values for PublicNetworkAccess. + /// + public static class PublicNetworkAccess + { + public const string Enabled = "Enabled"; + public const string Disabled = "Disabled"; + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/RemotePrivateEndpoint.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/RemotePrivateEndpoint.cs new file mode 100644 index 000000000000..e22ddfddd21b --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/RemotePrivateEndpoint.cs @@ -0,0 +1,98 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Remote private endpoint details. + /// + public partial class RemotePrivateEndpoint + { + /// + /// Initializes a new instance of the RemotePrivateEndpoint class. + /// + public RemotePrivateEndpoint() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the RemotePrivateEndpoint class. + /// + /// Remote endpoint resource ID. + /// Virtual network traffic tag. + /// List of private + /// link service connections that need manual approval. + /// List of automatically + /// approved private link service connections. + /// List of private link + /// service proxies. + /// List of connection details. + public RemotePrivateEndpoint(string id = default(string), string vnetTrafficTag = default(string), IList manualPrivateLinkServiceConnections = default(IList), IList privateLinkServiceConnections = default(IList), IList privateLinkServiceProxies = default(IList), IList connectionDetails = default(IList)) + { + Id = id; + VnetTrafficTag = vnetTrafficTag; + ManualPrivateLinkServiceConnections = manualPrivateLinkServiceConnections; + PrivateLinkServiceConnections = privateLinkServiceConnections; + PrivateLinkServiceProxies = privateLinkServiceProxies; + ConnectionDetails = connectionDetails; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets remote endpoint resource ID. + /// + [JsonProperty(PropertyName = "id")] + public string Id { get; set; } + + /// + /// Gets virtual network traffic tag. + /// + [JsonProperty(PropertyName = "vnetTrafficTag")] + public string VnetTrafficTag { get; private set; } + + /// + /// Gets or sets list of private link service connections that need + /// manual approval. + /// + [JsonProperty(PropertyName = "manualPrivateLinkServiceConnections")] + public IList ManualPrivateLinkServiceConnections { get; set; } + + /// + /// Gets or sets list of automatically approved private link service + /// connections. + /// + [JsonProperty(PropertyName = "privateLinkServiceConnections")] + public IList PrivateLinkServiceConnections { get; set; } + + /// + /// Gets or sets list of private link service proxies. + /// + [JsonProperty(PropertyName = "privateLinkServiceProxies")] + public IList PrivateLinkServiceProxies { get; set; } + + /// + /// Gets or sets list of connection details. + /// + [JsonProperty(PropertyName = "connectionDetails")] + public IList ConnectionDetails { get; set; } + + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/RemotePrivateEndpointConnection.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/RemotePrivateEndpointConnection.cs new file mode 100644 index 000000000000..d57bfeda3494 --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/RemotePrivateEndpointConnection.cs @@ -0,0 +1,53 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Remote private endpoint connection details. + /// + public partial class RemotePrivateEndpointConnection + { + /// + /// Initializes a new instance of the RemotePrivateEndpointConnection + /// class. + /// + public RemotePrivateEndpointConnection() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the RemotePrivateEndpointConnection + /// class. + /// + /// Remote private endpoint connection ID. + public RemotePrivateEndpointConnection(string id = default(string)) + { + Id = id; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets remote private endpoint connection ID. + /// + [JsonProperty(PropertyName = "id")] + public string Id { get; private set; } + + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/Resource.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/Resource.cs index a06d89a1ec26..3e563f1026d3 100644 --- a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/Resource.cs +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/Resource.cs @@ -41,11 +41,14 @@ public Resource() /// The type of the resource. E.g. /// "Microsoft.Compute/virtualMachines" or /// "Microsoft.Storage/storageAccounts" - public Resource(string id = default(string), string name = default(string), string type = default(string)) + /// Azure Resource Manager metadata containing + /// createdBy and modifiedBy information. + public Resource(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData)) { Id = id; Name = name; Type = type; + SystemData = systemData; CustomInit(); } @@ -75,5 +78,12 @@ public Resource() [JsonProperty(PropertyName = "type")] public string Type { get; private set; } + /// + /// Gets azure Resource Manager metadata containing createdBy and + /// modifiedBy information. + /// + [JsonProperty(PropertyName = "systemData")] + public SystemData SystemData { get; private set; } + } } diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/SystemData.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/SystemData.cs new file mode 100644 index 000000000000..07ec58e13818 --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/SystemData.cs @@ -0,0 +1,103 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + public partial class SystemData + { + /// + /// Initializes a new instance of the SystemData class. + /// + public SystemData() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the SystemData class. + /// + /// The identity that created the + /// resource. + /// The type of identity that created the + /// resource. Possible values include: 'User', 'Application', + /// 'ManagedIdentity', 'Key' + /// The timestamp of resource creation + /// (UTC). + /// The identity that last modified the + /// resource. + /// The type of identity that last + /// modified the resource. Possible values include: 'User', + /// 'Application', 'ManagedIdentity', 'Key' + /// The timestamp of resource last + /// modification (UTC) + public SystemData(string createdBy = default(string), string createdByType = default(string), System.DateTime? createdAt = default(System.DateTime?), string lastModifiedBy = default(string), string lastModifiedByType = default(string), System.DateTime? lastModifiedAt = default(System.DateTime?)) + { + CreatedBy = createdBy; + CreatedByType = createdByType; + CreatedAt = createdAt; + LastModifiedBy = lastModifiedBy; + LastModifiedByType = lastModifiedByType; + LastModifiedAt = lastModifiedAt; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the identity that created the resource. + /// + [JsonProperty(PropertyName = "createdBy")] + public string CreatedBy { get; set; } + + /// + /// Gets or sets the type of identity that created the resource. + /// Possible values include: 'User', 'Application', 'ManagedIdentity', + /// 'Key' + /// + [JsonProperty(PropertyName = "createdByType")] + public string CreatedByType { get; set; } + + /// + /// Gets or sets the timestamp of resource creation (UTC). + /// + [JsonProperty(PropertyName = "createdAt")] + public System.DateTime? CreatedAt { get; set; } + + /// + /// Gets or sets the identity that last modified the resource. + /// + [JsonProperty(PropertyName = "lastModifiedBy")] + public string LastModifiedBy { get; set; } + + /// + /// Gets or sets the type of identity that last modified the resource. + /// Possible values include: 'User', 'Application', 'ManagedIdentity', + /// 'Key' + /// + [JsonProperty(PropertyName = "lastModifiedByType")] + public string LastModifiedByType { get; set; } + + /// + /// Gets or sets the timestamp of resource last modification (UTC) + /// + [JsonProperty(PropertyName = "lastModifiedAt")] + public System.DateTime? LastModifiedAt { get; set; } + + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/TrackedResource.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/TrackedResource.cs index 78b5ed6bfc12..dfaa2ebdc100 100644 --- a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/TrackedResource.cs +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/TrackedResource.cs @@ -43,9 +43,11 @@ public TrackedResource() /// The type of the resource. E.g. /// "Microsoft.Compute/virtualMachines" or /// "Microsoft.Storage/storageAccounts" + /// Azure Resource Manager metadata containing + /// createdBy and modifiedBy information. /// Resource tags. - public TrackedResource(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary)) - : base(id, name, type) + public TrackedResource(string location, string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), IDictionary tags = default(IDictionary)) + : base(id, name, type, systemData) { Tags = tags; Location = location; diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/UserAssignedIdentity.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/UserAssignedIdentity.cs new file mode 100644 index 000000000000..45d718895ac5 --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/Models/UserAssignedIdentity.cs @@ -0,0 +1,61 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// User assigned identity properties + /// + public partial class UserAssignedIdentity + { + /// + /// Initializes a new instance of the UserAssignedIdentity class. + /// + public UserAssignedIdentity() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the UserAssignedIdentity class. + /// + /// The principal ID of the assigned + /// identity. + /// The client ID of the assigned + /// identity. + public UserAssignedIdentity(System.Guid? principalId = default(System.Guid?), System.Guid? clientId = default(System.Guid?)) + { + PrincipalId = principalId; + ClientId = clientId; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets the principal ID of the assigned identity. + /// + [JsonProperty(PropertyName = "principalId")] + public System.Guid? PrincipalId { get; private set; } + + /// + /// Gets the client ID of the assigned identity. + /// + [JsonProperty(PropertyName = "clientId")] + public System.Guid? ClientId { get; private set; } + + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/PrivateEndpointConnectionProxiesOperations.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/PrivateEndpointConnectionProxiesOperations.cs new file mode 100644 index 000000000000..fd0fb48cbd2c --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/PrivateEndpointConnectionProxiesOperations.cs @@ -0,0 +1,1091 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// PrivateEndpointConnectionProxiesOperations operations. + /// + internal partial class PrivateEndpointConnectionProxiesOperations : IServiceOperations, IPrivateEndpointConnectionProxiesOperations + { + /// + /// Initializes a new instance of the PrivateEndpointConnectionProxiesOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal PrivateEndpointConnectionProxiesOperations(DeviceUpdateClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the DeviceUpdateClient + /// + public DeviceUpdateClient Client { get; private set; } + + /// + /// (INTERNAL - DO NOT USE) List all private endpoint connection proxies in a + /// device update account. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByAccountWithHttpMessagesAsync(string resourceGroupName, string accountName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (accountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "accountName"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByAccount", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceUpdate/accounts/{accountName}/privateEndpointConnectionProxies").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// (INTERNAL - DO NOT USE) Validates a private endpoint connection proxy + /// object. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The ID of the private endpoint connection proxy object. + /// + /// + /// The parameters for creating a private endpoint connection proxy. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task ValidateWithHttpMessagesAsync(string resourceGroupName, string accountName, string privateEndpointConnectionProxyId, PrivateEndpointConnectionProxy privateEndpointConnectionProxy, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (accountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "accountName"); + } + if (privateEndpointConnectionProxyId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "privateEndpointConnectionProxyId"); + } + if (privateEndpointConnectionProxy == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "privateEndpointConnectionProxy"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("privateEndpointConnectionProxyId", privateEndpointConnectionProxyId); + tracingParameters.Add("privateEndpointConnectionProxy", privateEndpointConnectionProxy); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Validate", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceUpdate/accounts/{accountName}/privateEndpointConnectionProxies/{privateEndpointConnectionProxyId}/validate").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{privateEndpointConnectionProxyId}", System.Uri.EscapeDataString(privateEndpointConnectionProxyId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(privateEndpointConnectionProxy != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(privateEndpointConnectionProxy, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// (INTERNAL - DO NOT USE) Get the specified private endpoint connection proxy + /// associated with the device update account. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The ID of the private endpoint connection proxy object. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string accountName, string privateEndpointConnectionProxyId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (accountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "accountName"); + } + if (privateEndpointConnectionProxyId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "privateEndpointConnectionProxyId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("privateEndpointConnectionProxyId", privateEndpointConnectionProxyId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceUpdate/accounts/{accountName}/privateEndpointConnectionProxies/{privateEndpointConnectionProxyId}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{privateEndpointConnectionProxyId}", System.Uri.EscapeDataString(privateEndpointConnectionProxyId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// (INTERNAL - DO NOT USE) Creates or updates the specified private endpoint + /// connection proxy resource associated with the device update account. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The ID of the private endpoint connection proxy object. + /// + /// + /// The parameters for creating a private endpoint connection proxy. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string accountName, string privateEndpointConnectionProxyId, PrivateEndpointConnectionProxy privateEndpointConnectionProxy, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send Request + AzureOperationResponse _response = await BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, accountName, privateEndpointConnectionProxyId, privateEndpointConnectionProxy, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPutOrPatchOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// (INTERNAL - DO NOT USE) Deletes the specified private endpoint connection + /// proxy associated with the device update account. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The ID of the private endpoint connection proxy object. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task DeleteWithHttpMessagesAsync(string resourceGroupName, string accountName, string privateEndpointConnectionProxyId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send request + AzureOperationResponse _response = await BeginDeleteWithHttpMessagesAsync(resourceGroupName, accountName, privateEndpointConnectionProxyId, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// (INTERNAL - DO NOT USE) Creates or updates the specified private endpoint + /// connection proxy resource associated with the device update account. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The ID of the private endpoint connection proxy object. + /// + /// + /// The parameters for creating a private endpoint connection proxy. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string accountName, string privateEndpointConnectionProxyId, PrivateEndpointConnectionProxy privateEndpointConnectionProxy, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (accountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "accountName"); + } + if (privateEndpointConnectionProxyId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "privateEndpointConnectionProxyId"); + } + if (privateEndpointConnectionProxy == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "privateEndpointConnectionProxy"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("privateEndpointConnectionProxyId", privateEndpointConnectionProxyId); + tracingParameters.Add("privateEndpointConnectionProxy", privateEndpointConnectionProxy); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "BeginCreateOrUpdate", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceUpdate/accounts/{accountName}/privateEndpointConnectionProxies/{privateEndpointConnectionProxyId}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{privateEndpointConnectionProxyId}", System.Uri.EscapeDataString(privateEndpointConnectionProxyId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(privateEndpointConnectionProxy != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(privateEndpointConnectionProxy, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 201) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// (INTERNAL - DO NOT USE) Deletes the specified private endpoint connection + /// proxy associated with the device update account. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The ID of the private endpoint connection proxy object. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string accountName, string privateEndpointConnectionProxyId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (accountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "accountName"); + } + if (privateEndpointConnectionProxyId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "privateEndpointConnectionProxyId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("privateEndpointConnectionProxyId", privateEndpointConnectionProxyId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "BeginDelete", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceUpdate/accounts/{accountName}/privateEndpointConnectionProxies/{privateEndpointConnectionProxyId}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{privateEndpointConnectionProxyId}", System.Uri.EscapeDataString(privateEndpointConnectionProxyId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 204) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/PrivateEndpointConnectionProxiesOperationsExtensions.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/PrivateEndpointConnectionProxiesOperationsExtensions.cs new file mode 100644 index 000000000000..158ba972062d --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/PrivateEndpointConnectionProxiesOperationsExtensions.cs @@ -0,0 +1,366 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for PrivateEndpointConnectionProxiesOperations. + /// + public static partial class PrivateEndpointConnectionProxiesOperationsExtensions + { + /// + /// (INTERNAL - DO NOT USE) List all private endpoint connection proxies in a + /// device update account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + public static IEnumerable ListByAccount(this IPrivateEndpointConnectionProxiesOperations operations, string resourceGroupName, string accountName) + { + return operations.ListByAccountAsync(resourceGroupName, accountName).GetAwaiter().GetResult(); + } + + /// + /// (INTERNAL - DO NOT USE) List all private endpoint connection proxies in a + /// device update account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByAccountAsync(this IPrivateEndpointConnectionProxiesOperations operations, string resourceGroupName, string accountName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByAccountWithHttpMessagesAsync(resourceGroupName, accountName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// (INTERNAL - DO NOT USE) Validates a private endpoint connection proxy + /// object. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The ID of the private endpoint connection proxy object. + /// + /// + /// The parameters for creating a private endpoint connection proxy. + /// + public static void Validate(this IPrivateEndpointConnectionProxiesOperations operations, string resourceGroupName, string accountName, string privateEndpointConnectionProxyId, PrivateEndpointConnectionProxy privateEndpointConnectionProxy) + { + operations.ValidateAsync(resourceGroupName, accountName, privateEndpointConnectionProxyId, privateEndpointConnectionProxy).GetAwaiter().GetResult(); + } + + /// + /// (INTERNAL - DO NOT USE) Validates a private endpoint connection proxy + /// object. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The ID of the private endpoint connection proxy object. + /// + /// + /// The parameters for creating a private endpoint connection proxy. + /// + /// + /// The cancellation token. + /// + public static async Task ValidateAsync(this IPrivateEndpointConnectionProxiesOperations operations, string resourceGroupName, string accountName, string privateEndpointConnectionProxyId, PrivateEndpointConnectionProxy privateEndpointConnectionProxy, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.ValidateWithHttpMessagesAsync(resourceGroupName, accountName, privateEndpointConnectionProxyId, privateEndpointConnectionProxy, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// (INTERNAL - DO NOT USE) Get the specified private endpoint connection proxy + /// associated with the device update account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The ID of the private endpoint connection proxy object. + /// + public static PrivateEndpointConnectionProxy Get(this IPrivateEndpointConnectionProxiesOperations operations, string resourceGroupName, string accountName, string privateEndpointConnectionProxyId) + { + return operations.GetAsync(resourceGroupName, accountName, privateEndpointConnectionProxyId).GetAwaiter().GetResult(); + } + + /// + /// (INTERNAL - DO NOT USE) Get the specified private endpoint connection proxy + /// associated with the device update account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The ID of the private endpoint connection proxy object. + /// + /// + /// The cancellation token. + /// + public static async Task GetAsync(this IPrivateEndpointConnectionProxiesOperations operations, string resourceGroupName, string accountName, string privateEndpointConnectionProxyId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, accountName, privateEndpointConnectionProxyId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// (INTERNAL - DO NOT USE) Creates or updates the specified private endpoint + /// connection proxy resource associated with the device update account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The ID of the private endpoint connection proxy object. + /// + /// + /// The parameters for creating a private endpoint connection proxy. + /// + public static PrivateEndpointConnectionProxy CreateOrUpdate(this IPrivateEndpointConnectionProxiesOperations operations, string resourceGroupName, string accountName, string privateEndpointConnectionProxyId, PrivateEndpointConnectionProxy privateEndpointConnectionProxy) + { + return operations.CreateOrUpdateAsync(resourceGroupName, accountName, privateEndpointConnectionProxyId, privateEndpointConnectionProxy).GetAwaiter().GetResult(); + } + + /// + /// (INTERNAL - DO NOT USE) Creates or updates the specified private endpoint + /// connection proxy resource associated with the device update account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The ID of the private endpoint connection proxy object. + /// + /// + /// The parameters for creating a private endpoint connection proxy. + /// + /// + /// The cancellation token. + /// + public static async Task CreateOrUpdateAsync(this IPrivateEndpointConnectionProxiesOperations operations, string resourceGroupName, string accountName, string privateEndpointConnectionProxyId, PrivateEndpointConnectionProxy privateEndpointConnectionProxy, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, accountName, privateEndpointConnectionProxyId, privateEndpointConnectionProxy, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// (INTERNAL - DO NOT USE) Deletes the specified private endpoint connection + /// proxy associated with the device update account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The ID of the private endpoint connection proxy object. + /// + public static void Delete(this IPrivateEndpointConnectionProxiesOperations operations, string resourceGroupName, string accountName, string privateEndpointConnectionProxyId) + { + operations.DeleteAsync(resourceGroupName, accountName, privateEndpointConnectionProxyId).GetAwaiter().GetResult(); + } + + /// + /// (INTERNAL - DO NOT USE) Deletes the specified private endpoint connection + /// proxy associated with the device update account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The ID of the private endpoint connection proxy object. + /// + /// + /// The cancellation token. + /// + public static async Task DeleteAsync(this IPrivateEndpointConnectionProxiesOperations operations, string resourceGroupName, string accountName, string privateEndpointConnectionProxyId, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, accountName, privateEndpointConnectionProxyId, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// (INTERNAL - DO NOT USE) Creates or updates the specified private endpoint + /// connection proxy resource associated with the device update account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The ID of the private endpoint connection proxy object. + /// + /// + /// The parameters for creating a private endpoint connection proxy. + /// + public static PrivateEndpointConnectionProxy BeginCreateOrUpdate(this IPrivateEndpointConnectionProxiesOperations operations, string resourceGroupName, string accountName, string privateEndpointConnectionProxyId, PrivateEndpointConnectionProxy privateEndpointConnectionProxy) + { + return operations.BeginCreateOrUpdateAsync(resourceGroupName, accountName, privateEndpointConnectionProxyId, privateEndpointConnectionProxy).GetAwaiter().GetResult(); + } + + /// + /// (INTERNAL - DO NOT USE) Creates or updates the specified private endpoint + /// connection proxy resource associated with the device update account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The ID of the private endpoint connection proxy object. + /// + /// + /// The parameters for creating a private endpoint connection proxy. + /// + /// + /// The cancellation token. + /// + public static async Task BeginCreateOrUpdateAsync(this IPrivateEndpointConnectionProxiesOperations operations, string resourceGroupName, string accountName, string privateEndpointConnectionProxyId, PrivateEndpointConnectionProxy privateEndpointConnectionProxy, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, accountName, privateEndpointConnectionProxyId, privateEndpointConnectionProxy, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// (INTERNAL - DO NOT USE) Deletes the specified private endpoint connection + /// proxy associated with the device update account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The ID of the private endpoint connection proxy object. + /// + public static void BeginDelete(this IPrivateEndpointConnectionProxiesOperations operations, string resourceGroupName, string accountName, string privateEndpointConnectionProxyId) + { + operations.BeginDeleteAsync(resourceGroupName, accountName, privateEndpointConnectionProxyId).GetAwaiter().GetResult(); + } + + /// + /// (INTERNAL - DO NOT USE) Deletes the specified private endpoint connection + /// proxy associated with the device update account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The ID of the private endpoint connection proxy object. + /// + /// + /// The cancellation token. + /// + public static async Task BeginDeleteAsync(this IPrivateEndpointConnectionProxiesOperations operations, string resourceGroupName, string accountName, string privateEndpointConnectionProxyId, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.BeginDeleteWithHttpMessagesAsync(resourceGroupName, accountName, privateEndpointConnectionProxyId, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/PrivateEndpointConnectionsOperations.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/PrivateEndpointConnectionsOperations.cs new file mode 100644 index 000000000000..72d6f424f391 --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/PrivateEndpointConnectionsOperations.cs @@ -0,0 +1,901 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// PrivateEndpointConnectionsOperations operations. + /// + internal partial class PrivateEndpointConnectionsOperations : IServiceOperations, IPrivateEndpointConnectionsOperations + { + /// + /// Initializes a new instance of the PrivateEndpointConnectionsOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal PrivateEndpointConnectionsOperations(DeviceUpdateClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the DeviceUpdateClient + /// + public DeviceUpdateClient Client { get; private set; } + + /// + /// List all private endpoint connections in a device update account. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByAccountWithHttpMessagesAsync(string resourceGroupName, string accountName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (accountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "accountName"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByAccount", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceUpdate/accounts/{accountName}/privateEndpointConnections").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Get the specified private endpoint connection associated with the device + /// update account. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The name of the private endpoint connection associated with the Azure + /// resource + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string accountName, string privateEndpointConnectionName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (accountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "accountName"); + } + if (privateEndpointConnectionName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "privateEndpointConnectionName"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("privateEndpointConnectionName", privateEndpointConnectionName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceUpdate/accounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{privateEndpointConnectionName}", System.Uri.EscapeDataString(privateEndpointConnectionName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Update the state of specified private endpoint connection associated with + /// the device update account. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The name of the private endpoint connection associated with the Azure + /// resource + /// + /// + /// The parameters for creating a private endpoint connection. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string accountName, string privateEndpointConnectionName, PrivateEndpointConnection privateEndpointConnection, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send Request + AzureOperationResponse _response = await BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, accountName, privateEndpointConnectionName, privateEndpointConnection, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPutOrPatchOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Deletes the specified private endpoint connection associated with the + /// device update account. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The name of the private endpoint connection associated with the Azure + /// resource + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task DeleteWithHttpMessagesAsync(string resourceGroupName, string accountName, string privateEndpointConnectionName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send request + AzureOperationResponse _response = await BeginDeleteWithHttpMessagesAsync(resourceGroupName, accountName, privateEndpointConnectionName, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Update the state of specified private endpoint connection associated with + /// the device update account. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The name of the private endpoint connection associated with the Azure + /// resource + /// + /// + /// The parameters for creating a private endpoint connection. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string accountName, string privateEndpointConnectionName, PrivateEndpointConnection privateEndpointConnection, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (accountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "accountName"); + } + if (privateEndpointConnectionName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "privateEndpointConnectionName"); + } + if (privateEndpointConnection == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "privateEndpointConnection"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("privateEndpointConnectionName", privateEndpointConnectionName); + tracingParameters.Add("privateEndpointConnection", privateEndpointConnection); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "BeginCreateOrUpdate", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceUpdate/accounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{privateEndpointConnectionName}", System.Uri.EscapeDataString(privateEndpointConnectionName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(privateEndpointConnection != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(privateEndpointConnection, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 201) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Deletes the specified private endpoint connection associated with the + /// device update account. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The name of the private endpoint connection associated with the Azure + /// resource + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string accountName, string privateEndpointConnectionName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (accountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "accountName"); + } + if (privateEndpointConnectionName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "privateEndpointConnectionName"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("privateEndpointConnectionName", privateEndpointConnectionName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "BeginDelete", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceUpdate/accounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{privateEndpointConnectionName}", System.Uri.EscapeDataString(privateEndpointConnectionName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 204) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/PrivateEndpointConnectionsOperationsExtensions.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/PrivateEndpointConnectionsOperationsExtensions.cs new file mode 100644 index 000000000000..cfaec7e37680 --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/PrivateEndpointConnectionsOperationsExtensions.cs @@ -0,0 +1,323 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for PrivateEndpointConnectionsOperations. + /// + public static partial class PrivateEndpointConnectionsOperationsExtensions + { + /// + /// List all private endpoint connections in a device update account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + public static IEnumerable ListByAccount(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string accountName) + { + return operations.ListByAccountAsync(resourceGroupName, accountName).GetAwaiter().GetResult(); + } + + /// + /// List all private endpoint connections in a device update account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByAccountAsync(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string accountName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByAccountWithHttpMessagesAsync(resourceGroupName, accountName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Get the specified private endpoint connection associated with the device + /// update account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The name of the private endpoint connection associated with the Azure + /// resource + /// + public static PrivateEndpointConnection Get(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string accountName, string privateEndpointConnectionName) + { + return operations.GetAsync(resourceGroupName, accountName, privateEndpointConnectionName).GetAwaiter().GetResult(); + } + + /// + /// Get the specified private endpoint connection associated with the device + /// update account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The name of the private endpoint connection associated with the Azure + /// resource + /// + /// + /// The cancellation token. + /// + public static async Task GetAsync(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string accountName, string privateEndpointConnectionName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, accountName, privateEndpointConnectionName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Update the state of specified private endpoint connection associated with + /// the device update account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The name of the private endpoint connection associated with the Azure + /// resource + /// + /// + /// The parameters for creating a private endpoint connection. + /// + public static PrivateEndpointConnection CreateOrUpdate(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string accountName, string privateEndpointConnectionName, PrivateEndpointConnection privateEndpointConnection) + { + return operations.CreateOrUpdateAsync(resourceGroupName, accountName, privateEndpointConnectionName, privateEndpointConnection).GetAwaiter().GetResult(); + } + + /// + /// Update the state of specified private endpoint connection associated with + /// the device update account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The name of the private endpoint connection associated with the Azure + /// resource + /// + /// + /// The parameters for creating a private endpoint connection. + /// + /// + /// The cancellation token. + /// + public static async Task CreateOrUpdateAsync(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string accountName, string privateEndpointConnectionName, PrivateEndpointConnection privateEndpointConnection, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, accountName, privateEndpointConnectionName, privateEndpointConnection, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Deletes the specified private endpoint connection associated with the + /// device update account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The name of the private endpoint connection associated with the Azure + /// resource + /// + public static void Delete(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string accountName, string privateEndpointConnectionName) + { + operations.DeleteAsync(resourceGroupName, accountName, privateEndpointConnectionName).GetAwaiter().GetResult(); + } + + /// + /// Deletes the specified private endpoint connection associated with the + /// device update account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The name of the private endpoint connection associated with the Azure + /// resource + /// + /// + /// The cancellation token. + /// + public static async Task DeleteAsync(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string accountName, string privateEndpointConnectionName, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, accountName, privateEndpointConnectionName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Update the state of specified private endpoint connection associated with + /// the device update account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The name of the private endpoint connection associated with the Azure + /// resource + /// + /// + /// The parameters for creating a private endpoint connection. + /// + public static PrivateEndpointConnection BeginCreateOrUpdate(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string accountName, string privateEndpointConnectionName, PrivateEndpointConnection privateEndpointConnection) + { + return operations.BeginCreateOrUpdateAsync(resourceGroupName, accountName, privateEndpointConnectionName, privateEndpointConnection).GetAwaiter().GetResult(); + } + + /// + /// Update the state of specified private endpoint connection associated with + /// the device update account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The name of the private endpoint connection associated with the Azure + /// resource + /// + /// + /// The parameters for creating a private endpoint connection. + /// + /// + /// The cancellation token. + /// + public static async Task BeginCreateOrUpdateAsync(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string accountName, string privateEndpointConnectionName, PrivateEndpointConnection privateEndpointConnection, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, accountName, privateEndpointConnectionName, privateEndpointConnection, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Deletes the specified private endpoint connection associated with the + /// device update account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The name of the private endpoint connection associated with the Azure + /// resource + /// + public static void BeginDelete(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string accountName, string privateEndpointConnectionName) + { + operations.BeginDeleteAsync(resourceGroupName, accountName, privateEndpointConnectionName).GetAwaiter().GetResult(); + } + + /// + /// Deletes the specified private endpoint connection associated with the + /// device update account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The name of the private endpoint connection associated with the Azure + /// resource + /// + /// + /// The cancellation token. + /// + public static async Task BeginDeleteAsync(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string accountName, string privateEndpointConnectionName, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.BeginDeleteWithHttpMessagesAsync(resourceGroupName, accountName, privateEndpointConnectionName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/PrivateLinkResourcesOperations.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/PrivateLinkResourcesOperations.cs new file mode 100644 index 000000000000..285929d0ad81 --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/PrivateLinkResourcesOperations.cs @@ -0,0 +1,446 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// PrivateLinkResourcesOperations operations. + /// + internal partial class PrivateLinkResourcesOperations : IServiceOperations, IPrivateLinkResourcesOperations + { + /// + /// Initializes a new instance of the PrivateLinkResourcesOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal PrivateLinkResourcesOperations(DeviceUpdateClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the DeviceUpdateClient + /// + public DeviceUpdateClient Client { get; private set; } + + /// + /// List all private link resources in a device update account. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByAccountWithHttpMessagesAsync(string resourceGroupName, string accountName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (accountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "accountName"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByAccount", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceUpdate/accounts/{accountName}/privateLinkResources").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Get the specified private link resource associated with the device update + /// account. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The group ID of the private link resource. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string accountName, string groupId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (accountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "accountName"); + } + if (groupId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "groupId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("groupId", groupId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceUpdate/accounts/{accountName}/privateLinkResources/{groupId}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{groupId}", System.Uri.EscapeDataString(groupId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/PrivateLinkResourcesOperationsExtensions.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/PrivateLinkResourcesOperationsExtensions.cs new file mode 100644 index 000000000000..091a93036639 --- /dev/null +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/PrivateLinkResourcesOperationsExtensions.cs @@ -0,0 +1,115 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DeviceUpdate +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for PrivateLinkResourcesOperations. + /// + public static partial class PrivateLinkResourcesOperationsExtensions + { + /// + /// List all private link resources in a device update account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + public static IEnumerable ListByAccount(this IPrivateLinkResourcesOperations operations, string resourceGroupName, string accountName) + { + return operations.ListByAccountAsync(resourceGroupName, accountName).GetAwaiter().GetResult(); + } + + /// + /// List all private link resources in a device update account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByAccountAsync(this IPrivateLinkResourcesOperations operations, string resourceGroupName, string accountName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByAccountWithHttpMessagesAsync(resourceGroupName, accountName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Get the specified private link resource associated with the device update + /// account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The group ID of the private link resource. + /// + public static GroupInformation Get(this IPrivateLinkResourcesOperations operations, string resourceGroupName, string accountName, string groupId) + { + return operations.GetAsync(resourceGroupName, accountName, groupId).GetAwaiter().GetResult(); + } + + /// + /// Get the specified private link resource associated with the device update + /// account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The resource group name. + /// + /// + /// Account name. + /// + /// + /// The group ID of the private link resource. + /// + /// + /// The cancellation token. + /// + public static async Task GetAsync(this IPrivateLinkResourcesOperations operations, string resourceGroupName, string accountName, string groupId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, accountName, groupId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/SdkInfo_DeviceUpdate.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/SdkInfo_DeviceUpdate.cs index 3857f18d5fad..271a06694ccd 100644 --- a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/SdkInfo_DeviceUpdate.cs +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Generated/SdkInfo_DeviceUpdate.cs @@ -20,18 +20,22 @@ public static IEnumerable> ApiInfo_DeviceUpdate return new Tuple[] { new Tuple("DeviceUpdate", "Accounts", "2020-03-01-preview"), + new Tuple("DeviceUpdate", "CheckNameAvailability", "2020-03-01-preview"), new Tuple("DeviceUpdate", "Instances", "2020-03-01-preview"), new Tuple("DeviceUpdate", "Operations", "2020-03-01-preview"), + new Tuple("DeviceUpdate", "PrivateEndpointConnectionProxies", "2020-03-01-preview"), + new Tuple("DeviceUpdate", "PrivateEndpointConnections", "2020-03-01-preview"), + new Tuple("DeviceUpdate", "PrivateLinkResources", "2020-03-01-preview"), }.AsEnumerable(); } } // BEGIN: Code Generation Metadata Section public static readonly String AutoRestVersion = "v2"; - public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4413"; - public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/deviceupdate/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=E:\\GitHub\\azure-sdk-for-net\\sdk"; + public static readonly String AutoRestBootStrapperVersion = "autorest@3.4.2"; + public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/main/specification/deviceupdate/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=E:\\Sdk\\azure-sdk-for-net\\sdk"; public static readonly String GithubForkName = "Azure"; - public static readonly String GithubBranchName = "master"; - public static readonly String GithubCommidId = "4d1ea13dd5ec9e9e73e8ebabfa2d27a83b7e0e0d"; + public static readonly String GithubBranchName = "main"; + public static readonly String GithubCommidId = "0fba9ba4b78d20fc1a7ec251dab889b7a7eb8afd"; public static readonly String CodeGenerationErrors = ""; public static readonly String GithubRepoName = "azure-rest-api-specs"; // END: Code Generation Metadata Section diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Microsoft.Azure.Management.DeviceUpdate.csproj b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Microsoft.Azure.Management.DeviceUpdate.csproj index 8c0cfeb7807b..564c52f79071 100644 --- a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Microsoft.Azure.Management.DeviceUpdate.csproj +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/src/Microsoft.Azure.Management.DeviceUpdate.csproj @@ -12,9 +12,9 @@ Provides management capabilities for Microsoft Azure Device Update for IoT Hub. Microsoft Azure Device Update for IoT Hub Management Microsoft.Azure.Management.DeviceUpdate - 1.0.1-beta.1 + 1.0.1-beta.2 Microsoft Azure Device Update for IoT Hub - Device Update for IoT Hub public preview release management SDK + Device Update for IoT Hub public preview refresh release management SDK diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/tests/ScenarioTests/AccountOperationsTests.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/tests/ScenarioTests/AccountOperationsTests.cs index 281f97abf893..b01595ccb74c 100644 --- a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/tests/ScenarioTests/AccountOperationsTests.cs +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/tests/ScenarioTests/AccountOperationsTests.cs @@ -11,7 +11,7 @@ namespace Microsoft.Azure.Management.DeviceUpdate.Tests.ScenarioTests { public class AccountOperationsTests : DeviceUpdateTestBase { - private const string AccountName = "aducpsdktestaccount1"; + private const string AccountName = "aducpsdktestaccount3"; [Fact] public async Task AccountCrudTests() diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/tests/ScenarioTests/InstanceOperationsTests.cs b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/tests/ScenarioTests/InstanceOperationsTests.cs index ecb44a0b11fe..cbe4f0f3d065 100644 --- a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/tests/ScenarioTests/InstanceOperationsTests.cs +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/tests/ScenarioTests/InstanceOperationsTests.cs @@ -10,7 +10,7 @@ namespace Microsoft.Azure.Management.DeviceUpdate.Tests.ScenarioTests { public class InstanceOperationsTests : DeviceUpdateTestBase { - private const string AccountName = "aducpsdktestaccount2"; + private const string AccountName = "aducpsdktestaccount4"; private const string InstanceName = "orange"; [Fact] @@ -33,9 +33,9 @@ public async Task InstanceCrudTests() IotHubs = new[] { new IotHubSettings( - resourceId: "/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.Devices/IotHubs/orange-aducpsdktestaccount2-iothub", - ioTHubConnectionString: "HostName=orange-aducpsdktestaccount2-iothub.azure-devices.net;SharedAccessKeyName=deviceupdateservice;SharedAccessKey=xyz=", - eventHubConnectionString: "Endpoint=sb://orange-aducpsdktestaccount2-b93fc34123.servicebus.windows.net/;SharedAccessKeyName=iothubowner;SharedAccessKey=xyz=;EntityPath=orange-aducpsdktestaccount2") + resourceId: "/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.Devices/IotHubs/orange-aducpsdktestaccount4-iothub", + ioTHubConnectionString: "", + eventHubConnectionString: "") } }; diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/tests/SessionRecords/AccountOperationsTests/AccountCrudTests.json b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/tests/SessionRecords/AccountOperationsTests/AccountCrudTests.json index a89e38b9545e..dab8eb199e5f 100644 --- a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/tests/SessionRecords/AccountOperationsTests/AccountCrudTests.json +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/tests/SessionRecords/AccountOperationsTests/AccountCrudTests.json @@ -1,22 +1,22 @@ { "Entries": [ { - "RequestUri": "/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount1?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2JhMDk3YTAtZTFjZS00YzQzLThiZjYtYTlkYzc3ODI3OGUwL3Jlc291cmNlR3JvdXBzL0RldmljZVVwZGF0ZVJlc291cmNlR3JvdXAvcHJvdmlkZXJzL01pY3Jvc29mdC5EZXZpY2VVcGRhdGUvYWNjb3VudHMvYWR1Y3BzZGt0ZXN0YWNjb3VudDE/YXBpLXZlcnNpb249MjAyMC0wMy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount3?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzU3NDc3NWMtNWJiZS00MzMyLWFiOTItYmQ0MWZmNmRmODgyL3Jlc291cmNlR3JvdXBzL0RldmljZVVwZGF0ZVJlc291cmNlR3JvdXAvcHJvdmlkZXJzL01pY3Jvc29mdC5EZXZpY2VVcGRhdGUvYWNjb3VudHMvYWR1Y3BzZGt0ZXN0YWNjb3VudDM/YXBpLXZlcnNpb249MjAyMC0wMy0wMS1wcmV2aWV3", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"westus2\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "4248173b-de3e-46d7-ad7b-62762f9849b0" + "0b1195ce-9531-4f39-b10c-cb36ba923055" ], - "Accept-Language": [ + "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -29,15 +29,21 @@ "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:25:21 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"01009f94-0000-0800-0000-604031050000\"" + "\"30004abd-0000-0800-0000-6181c8e10000\"" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-providerhub-traffic": [ + "True" + ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], @@ -48,28 +54,22 @@ "2020-03-01-preview" ], "Azure-AsyncOperation": [ - "https://management.azure.com/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/573ebee7-5d5e-42e2-a8c0-2eb3c5968d01?api-version=2020-03-01-preview" + "https://management.azure.com/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/f095e305-598c-4f78-808c-1761ca02b342*116D1AE14F89F4BF0D3CB7129EC49AC5765BD072A76C03C231F926C597E2585F?api-version=2020-03-01-preview" ], "x-ms-request-id": [ - "573ebee7-5d5e-42e2-a8c0-2eb3c5968d01" + "f095e305-598c-4f78-808c-1761ca02b342" ], "x-ms-correlation-request-id": [ - "b5c6391e-40c6-482d-a286-5680c428d6f3" - ], - "Server": [ - "Kestrel" + "af58364c-08a9-4a1e-b768-c47701de5614" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T005949Z:b5c6391e-40c6-482d-a286-5680c428d6f3" + "WESTUS:20211102T232522Z:af58364c-08a9-4a1e-b768-c47701de5614" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 00:59:48 GMT" - ], "Content-Length": [ - "349" + "636" ], "Content-Type": [ "application/json; charset=utf-8" @@ -78,46 +78,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount1\",\r\n \"name\": \"aducpsdktestaccount1\",\r\n \"type\": \"Microsoft.DeviceUpdate/accounts\",\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Accepted\",\r\n \"hostName\": \"aducpsdktestaccount1.api.adu.microsoft.com\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount3\",\r\n \"name\": \"aducpsdktestaccount3\",\r\n \"type\": \"microsoft.deviceupdate/accounts\",\r\n \"location\": \"westus2\",\r\n \"systemData\": {\r\n \"createdBy\": \"71318fd3-e515-4267-979a-98e06d2b139e\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2021-11-02T23:25:19.8389133Z\",\r\n \"lastModifiedBy\": \"71318fd3-e515-4267-979a-98e06d2b139e\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2021-11-02T23:25:19.8389133Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Accepted\",\r\n \"hostName\": \"aducpsdktestaccount3.api.adu.microsoft.com\"\r\n }\r\n}", "StatusCode": 201 }, { - "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/573ebee7-5d5e-42e2-a8c0-2eb3c5968d01?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzU3M2ViZWU3LTVkNWUtNDJlMi1hOGMwLTJlYjNjNTk2OGQwMT9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/f095e305-598c-4f78-808c-1761ca02b342*116D1AE14F89F4BF0D3CB7129EC49AC5765BD072A76C03C231F926C597E2585F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzL2YwOTVlMzA1LTU5OGMtNGY3OC04MDhjLTE3NjFjYTAyYjM0MioxMTZEMUFFMTRGODlGNEJGMEQzQ0I3MTI5RUM0OUFDNTc2NUJEMDcyQTc2QzAzQzIzMUY5MjZDNTk3RTI1ODVGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:25:55 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0c006f8c-0000-0800-0000-604031210000\"" + "\"3e00c84b-0000-0800-0000-6181c8fc0000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], "x-ms-request-id": [ - "6f4ef983-d9f9-440f-a716-fe51a43026b3" + "c0ac1c1f-5055-433e-9cf9-3a7b3b4a865f" ], "x-ms-correlation-request-id": [ - "13880f2a-e23f-4612-9f86-5a6ef40c7840" - ], - "Server": [ - "Kestrel" + "9003132d-2db6-469a-a8bb-6c98ae2f3817" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T010019Z:13880f2a-e23f-4612-9f86-5a6ef40c7840" + "WESTUS:20211102T232556Z:9003132d-2db6-469a-a8bb-6c98ae2f3817" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -125,11 +125,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:00:19 GMT" - ], "Content-Length": [ - "446" + "584" ], "Content-Type": [ "application/json; charset=utf-8" @@ -138,46 +135,49 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/573ebee7-5d5e-42e2-a8c0-2eb3c5968d01\",\r\n \"name\": \"573ebee7-5d5e-42e2-a8c0-2eb3c5968d01\",\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount1\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2021-03-04T00:59:49.1724584Z\",\r\n \"endTime\": \"2021-03-04T01:00:17.2605661Z\",\r\n \"properties\": null\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/f095e305-598c-4f78-808c-1761ca02b342*116D1AE14F89F4BF0D3CB7129EC49AC5765BD072A76C03C231F926C597E2585F\",\r\n \"name\": \"f095e305-598c-4f78-808c-1761ca02b342*116D1AE14F89F4BF0D3CB7129EC49AC5765BD072A76C03C231F926C597E2585F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount3\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2021-11-02T23:25:21.220612Z\",\r\n \"endTime\": \"2021-11-02T23:25:48.7086662Z\",\r\n \"properties\": null\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount1?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2JhMDk3YTAtZTFjZS00YzQzLThiZjYtYTlkYzc3ODI3OGUwL3Jlc291cmNlR3JvdXBzL0RldmljZVVwZGF0ZVJlc291cmNlR3JvdXAvcHJvdmlkZXJzL01pY3Jvc29mdC5EZXZpY2VVcGRhdGUvYWNjb3VudHMvYWR1Y3BzZGt0ZXN0YWNjb3VudDE/YXBpLXZlcnNpb249MjAyMC0wMy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount3?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzU3NDc3NWMtNWJiZS00MzMyLWFiOTItYmQ0MWZmNmRmODgyL3Jlc291cmNlR3JvdXBzL0RldmljZVVwZGF0ZVJlc291cmNlR3JvdXAvcHJvdmlkZXJzL01pY3Jvc29mdC5EZXZpY2VVcGRhdGUvYWNjb3VudHMvYWR1Y3BzZGt0ZXN0YWNjb3VudDM/YXBpLXZlcnNpb249MjAyMC0wMy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:25:56 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0100ab94-0000-0800-0000-604031210000\"" + "\"300075bd-0000-0800-0000-6181c8fc0000\"" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-providerhub-traffic": [ + "True" + ], "x-ms-request-id": [ - "559e1744-ec21-4769-826b-710534133785" + "6b341ca1-d065-464c-8298-478d260357e0" ], "x-ms-correlation-request-id": [ - "8fd12c5e-0437-4996-a1e3-55c2f4cbc73b" - ], - "Server": [ - "Kestrel" + "e29c33bc-fa28-4804-8736-6bf52489d391" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T010019Z:8fd12c5e-0437-4996-a1e3-55c2f4cbc73b" + "WESTUS:20211102T232556Z:e29c33bc-fa28-4804-8736-6bf52489d391" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -185,11 +185,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:00:19 GMT" - ], "Content-Length": [ - "350" + "637" ], "Content-Type": [ "application/json; charset=utf-8" @@ -198,52 +195,55 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount1\",\r\n \"name\": \"aducpsdktestaccount1\",\r\n \"type\": \"Microsoft.DeviceUpdate/accounts\",\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"hostName\": \"aducpsdktestaccount1.api.adu.microsoft.com\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount3\",\r\n \"name\": \"aducpsdktestaccount3\",\r\n \"type\": \"microsoft.deviceupdate/accounts\",\r\n \"location\": \"westus2\",\r\n \"systemData\": {\r\n \"createdBy\": \"71318fd3-e515-4267-979a-98e06d2b139e\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2021-11-02T23:25:19.8389133Z\",\r\n \"lastModifiedBy\": \"71318fd3-e515-4267-979a-98e06d2b139e\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2021-11-02T23:25:19.8389133Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"hostName\": \"aducpsdktestaccount3.api.adu.microsoft.com\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount1?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2JhMDk3YTAtZTFjZS00YzQzLThiZjYtYTlkYzc3ODI3OGUwL3Jlc291cmNlR3JvdXBzL0RldmljZVVwZGF0ZVJlc291cmNlR3JvdXAvcHJvdmlkZXJzL01pY3Jvc29mdC5EZXZpY2VVcGRhdGUvYWNjb3VudHMvYWR1Y3BzZGt0ZXN0YWNjb3VudDE/YXBpLXZlcnNpb249MjAyMC0wMy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount3?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzU3NDc3NWMtNWJiZS00MzMyLWFiOTItYmQ0MWZmNmRmODgyL3Jlc291cmNlR3JvdXBzL0RldmljZVVwZGF0ZVJlc291cmNlR3JvdXAvcHJvdmlkZXJzL01pY3Jvc29mdC5EZXZpY2VVcGRhdGUvYWNjb3VudHMvYWR1Y3BzZGt0ZXN0YWNjb3VudDM/YXBpLXZlcnNpb249MjAyMC0wMy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "84edbad1-3d86-4051-8cb5-0d83aa835cc6" + "682c8635-c690-4e18-969b-e82fae1492f5" ], - "Accept-Language": [ + "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:26:03 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0100ab94-0000-0800-0000-604031210000\"" + "\"300075bd-0000-0800-0000-6181c8fc0000\"" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-providerhub-traffic": [ + "True" + ], "x-ms-request-id": [ - "ec659f9a-2eaf-4b80-8459-fffce0067d6b" + "ead911c4-a959-4280-ae70-517abdf7541b" ], "x-ms-correlation-request-id": [ - "86c240b6-7ab9-4344-8285-2ef57acd2055" - ], - "Server": [ - "Kestrel" + "e97533ee-b969-422b-8cc3-03f6b3c6a854" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T010020Z:86c240b6-7ab9-4344-8285-2ef57acd2055" + "WESTUS:20211102T232603Z:e97533ee-b969-422b-8cc3-03f6b3c6a854" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -251,11 +251,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:00:19 GMT" - ], "Content-Length": [ - "350" + "637" ], "Content-Type": [ "application/json; charset=utf-8" @@ -264,49 +261,55 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount1\",\r\n \"name\": \"aducpsdktestaccount1\",\r\n \"type\": \"Microsoft.DeviceUpdate/accounts\",\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"hostName\": \"aducpsdktestaccount1.api.adu.microsoft.com\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount3\",\r\n \"name\": \"aducpsdktestaccount3\",\r\n \"type\": \"microsoft.deviceupdate/accounts\",\r\n \"location\": \"westus2\",\r\n \"systemData\": {\r\n \"createdBy\": \"71318fd3-e515-4267-979a-98e06d2b139e\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2021-11-02T23:25:19.8389133Z\",\r\n \"lastModifiedBy\": \"71318fd3-e515-4267-979a-98e06d2b139e\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2021-11-02T23:25:19.8389133Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"hostName\": \"aducpsdktestaccount3.api.adu.microsoft.com\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2JhMDk3YTAtZTFjZS00YzQzLThiZjYtYTlkYzc3ODI3OGUwL3Jlc291cmNlR3JvdXBzL0RldmljZVVwZGF0ZVJlc291cmNlR3JvdXAvcHJvdmlkZXJzL01pY3Jvc29mdC5EZXZpY2VVcGRhdGUvYWNjb3VudHM/YXBpLXZlcnNpb249MjAyMC0wMy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzU3NDc3NWMtNWJiZS00MzMyLWFiOTItYmQ0MWZmNmRmODgyL3Jlc291cmNlR3JvdXBzL0RldmljZVVwZGF0ZVJlc291cmNlR3JvdXAvcHJvdmlkZXJzL01pY3Jvc29mdC5EZXZpY2VVcGRhdGUvYWNjb3VudHM/YXBpLXZlcnNpb249MjAyMC0wMy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "7277fe2d-4640-4c57-b7c2-93dc7b6dc4ff" + "3e654f7d-d8bd-407b-94a1-df2971b4d754" ], - "Accept-Language": [ + "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:26:06 GMT" + ], "Pragma": [ "no-cache" ], + "x-ms-original-request-ids": [ + "07da0cec-d117-4d68-98a6-651bb5d3409f", + "ee7f18da-74ba-45c4-a8a3-2f6b8084fcb1", + "c49a1eeb-c969-42f2-890c-4642b6b91bb1", + "8f304e9e-5be0-4c13-a826-15fec32ad372" + ], "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], "x-ms-request-id": [ - "197c2410-0c3c-4ffe-8d7b-46b874442b88" + "fc105148-6861-4aca-81b8-ad37fdb7c16e" ], "x-ms-correlation-request-id": [ - "84e65e2a-a1a5-4b74-a2b6-57ffeda8b3d1" - ], - "Server": [ - "Kestrel" + "fc105148-6861-4aca-81b8-ad37fdb7c16e" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T010020Z:84e65e2a-a1a5-4b74-a2b6-57ffeda8b3d1" + "WESTUS:20211102T232607Z:fc105148-6861-4aca-81b8-ad37fdb7c16e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -314,11 +317,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:00:19 GMT" - ], "Content-Length": [ - "1397" + "649" ], "Content-Type": [ "application/json; charset=utf-8" @@ -327,55 +327,61 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount1\",\r\n \"name\": \"aducpsdktestaccount1\",\r\n \"type\": \"Microsoft.DeviceUpdate/accounts\",\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"hostName\": \"aducpsdktestaccount1.api.adu.microsoft.com\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount3\",\r\n \"name\": \"aducpsdktestaccount3\",\r\n \"type\": \"microsoft.deviceupdate/accounts\",\r\n \"location\": \"westus2\",\r\n \"systemData\": {\r\n \"createdBy\": \"71318fd3-e515-4267-979a-98e06d2b139e\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2021-11-02T23:25:19.8389133Z\",\r\n \"lastModifiedBy\": \"71318fd3-e515-4267-979a-98e06d2b139e\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2021-11-02T23:25:19.8389133Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"hostName\": \"aducpsdktestaccount3.api.adu.microsoft.com\"\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount1?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2JhMDk3YTAtZTFjZS00YzQzLThiZjYtYTlkYzc3ODI3OGUwL3Jlc291cmNlR3JvdXBzL0RldmljZVVwZGF0ZVJlc291cmNlR3JvdXAvcHJvdmlkZXJzL01pY3Jvc29mdC5EZXZpY2VVcGRhdGUvYWNjb3VudHMvYWR1Y3BzZGt0ZXN0YWNjb3VudDE/YXBpLXZlcnNpb249MjAyMC0wMy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount3?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzU3NDc3NWMtNWJiZS00MzMyLWFiOTItYmQ0MWZmNmRmODgyL3Jlc291cmNlR3JvdXBzL0RldmljZVVwZGF0ZVJlc291cmNlR3JvdXAvcHJvdmlkZXJzL01pY3Jvc29mdC5EZXZpY2VVcGRhdGUvYWNjb3VudHMvYWR1Y3BzZGt0ZXN0YWNjb3VudDM/YXBpLXZlcnNpb249MjAyMC0wMy0wMS1wcmV2aWV3", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "8f672cec-d6d7-4843-96a9-3fd47c2b557d" + "2459fad8-d8dd-4eca-8343-089a368be7c0" ], - "Accept-Language": [ + "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:26:16 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0100ae94-0000-0800-0000-604031240000\"" + "\"30009cbd-0000-0800-0000-6181c9190000\"" ], "Location": [ - "https://management.azure.com/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/d4270eb3-1c69-485d-aa05-9829ef2be7e0?api-version=2020-03-01-preview" + "https://management.azure.com/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/fb096644-fd22-4354-b7ae-426f703c3e35*116D1AE14F89F4BF0D3CB7129EC49AC5765BD072A76C03C231F926C597E2585F?api-version=2020-03-01-preview" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-providerhub-traffic": [ + "True" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/fb096644-fd22-4354-b7ae-426f703c3e35*116D1AE14F89F4BF0D3CB7129EC49AC5765BD072A76C03C231F926C597E2585F?api-version=2020-03-01-preview" + ], "x-ms-request-id": [ - "d4270eb3-1c69-485d-aa05-9829ef2be7e0" + "fb096644-fd22-4354-b7ae-426f703c3e35" ], "x-ms-correlation-request-id": [ - "6f115f1f-717c-4220-b32e-0a3086aa2cb3" - ], - "Server": [ - "Kestrel" + "6d351246-cdbe-4f99-839d-42a1f85baac5" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T010020Z:6f115f1f-717c-4220-b32e-0a3086aa2cb3" + "WESTUS:20211102T232617Z:6d351246-cdbe-4f99-839d-42a1f85baac5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -383,9 +389,6 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:00:20 GMT" - ], "Content-Length": [ "4" ], @@ -400,42 +403,42 @@ "StatusCode": 202 }, { - "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/d4270eb3-1c69-485d-aa05-9829ef2be7e0?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzL2Q0MjcwZWIzLTFjNjktNDg1ZC1hYTA1LTk4MjllZjJiZTdlMD9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/fb096644-fd22-4354-b7ae-426f703c3e35*116D1AE14F89F4BF0D3CB7129EC49AC5765BD072A76C03C231F926C597E2585F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzL2ZiMDk2NjQ0LWZkMjItNDM1NC1iN2FlLTQyNmY3MDNjM2UzNSoxMTZEMUFFMTRGODlGNEJGMEQzQ0I3MTI5RUM0OUFDNTc2NUJEMDcyQTc2QzAzQzIzMUY5MjZDNTk3RTI1ODVGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:26:47 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0c007b8c-0000-0800-0000-604031240000\"" + "\"3e00a04c-0000-0800-0000-6181c9190000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], "x-ms-request-id": [ - "9a391cbb-d1f6-43b2-923b-395fb31b1ce3" + "564cf7b4-9963-4e24-b11e-d1b8f3155bf5" ], "x-ms-correlation-request-id": [ - "0db98f05-69dc-4c82-8b53-ebd905da4a9f" - ], - "Server": [ - "Kestrel" + "8483110d-f7c4-426a-8bfa-b6f5cdbbdf4b" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T010050Z:0db98f05-69dc-4c82-8b53-ebd905da4a9f" + "WESTUS:20211102T232647Z:8483110d-f7c4-426a-8bfa-b6f5cdbbdf4b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -443,11 +446,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:00:49 GMT" - ], "Content-Length": [ - "386" + "525" ], "Content-Type": [ "application/json; charset=utf-8" @@ -456,46 +456,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/d4270eb3-1c69-485d-aa05-9829ef2be7e0\",\r\n \"name\": \"d4270eb3-1c69-485d-aa05-9829ef2be7e0\",\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount1\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-03-04T01:00:20.4866626Z\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/fb096644-fd22-4354-b7ae-426f703c3e35*116D1AE14F89F4BF0D3CB7129EC49AC5765BD072A76C03C231F926C597E2585F\",\r\n \"name\": \"fb096644-fd22-4354-b7ae-426f703c3e35*116D1AE14F89F4BF0D3CB7129EC49AC5765BD072A76C03C231F926C597E2585F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount3\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-11-02T23:26:17.1259316Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/d4270eb3-1c69-485d-aa05-9829ef2be7e0?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzL2Q0MjcwZWIzLTFjNjktNDg1ZC1hYTA1LTk4MjllZjJiZTdlMD9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/fb096644-fd22-4354-b7ae-426f703c3e35*116D1AE14F89F4BF0D3CB7129EC49AC5765BD072A76C03C231F926C597E2585F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzL2ZiMDk2NjQ0LWZkMjItNDM1NC1iN2FlLTQyNmY3MDNjM2UzNSoxMTZEMUFFMTRGODlGNEJGMEQzQ0I3MTI5RUM0OUFDNTc2NUJEMDcyQTc2QzAzQzIzMUY5MjZDNTk3RTI1ODVGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:27:17 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0c00e58c-0000-0800-0000-604031480000\"" + "\"3e00d94d-0000-0800-0000-6181c93f0000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], "x-ms-request-id": [ - "76619ade-5670-4a78-adb3-a1e1785d308b" + "0cdd6a52-dfce-4a25-92c8-f62ef295b4fa" ], "x-ms-correlation-request-id": [ - "2088bcba-f945-47ec-9858-2620295edbad" - ], - "Server": [ - "Kestrel" + "e97f10b2-7721-48b7-a0c2-335750337ef9" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T010120Z:2088bcba-f945-47ec-9858-2620295edbad" + "WESTUS:20211102T232717Z:e97f10b2-7721-48b7-a0c2-335750337ef9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -503,11 +503,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:01:20 GMT" - ], "Content-Length": [ - "405" + "544" ], "Content-Type": [ "application/json; charset=utf-8" @@ -516,46 +513,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/d4270eb3-1c69-485d-aa05-9829ef2be7e0\",\r\n \"name\": \"d4270eb3-1c69-485d-aa05-9829ef2be7e0\",\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount1\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2021-03-04T01:00:20.4866626Z\",\r\n \"properties\": null\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/fb096644-fd22-4354-b7ae-426f703c3e35*116D1AE14F89F4BF0D3CB7129EC49AC5765BD072A76C03C231F926C597E2585F\",\r\n \"name\": \"fb096644-fd22-4354-b7ae-426f703c3e35*116D1AE14F89F4BF0D3CB7129EC49AC5765BD072A76C03C231F926C597E2585F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount3\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2021-11-02T23:26:17.1259316Z\",\r\n \"properties\": null\r\n}", "StatusCode": 200 }, { - "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/d4270eb3-1c69-485d-aa05-9829ef2be7e0?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzL2Q0MjcwZWIzLTFjNjktNDg1ZC1hYTA1LTk4MjllZjJiZTdlMD9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/fb096644-fd22-4354-b7ae-426f703c3e35*116D1AE14F89F4BF0D3CB7129EC49AC5765BD072A76C03C231F926C597E2585F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzL2ZiMDk2NjQ0LWZkMjItNDM1NC1iN2FlLTQyNmY3MDNjM2UzNSoxMTZEMUFFMTRGODlGNEJGMEQzQ0I3MTI5RUM0OUFDNTc2NUJEMDcyQTc2QzAzQzIzMUY5MjZDNTk3RTI1ODVGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:27:17 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0c00e58c-0000-0800-0000-604031480000\"" + "\"3e00d94d-0000-0800-0000-6181c93f0000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ "11996" ], "x-ms-request-id": [ - "3da3fdde-ee98-4497-a49f-62967bfcb020" + "8644b790-4698-43e2-b2c1-db55a41298ca" ], "x-ms-correlation-request-id": [ - "115721ac-2f36-4aef-aa5a-9f1cb67a6a2a" - ], - "Server": [ - "Kestrel" + "bf8c3da9-e3cf-42eb-a24d-8ef1d8bd7b7e" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T010120Z:115721ac-2f36-4aef-aa5a-9f1cb67a6a2a" + "WESTUS:20211102T232717Z:bf8c3da9-e3cf-42eb-a24d-8ef1d8bd7b7e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -563,11 +560,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:01:20 GMT" - ], "Content-Length": [ - "405" + "544" ], "Content-Type": [ "application/json; charset=utf-8" @@ -576,12 +570,12 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/d4270eb3-1c69-485d-aa05-9829ef2be7e0\",\r\n \"name\": \"d4270eb3-1c69-485d-aa05-9829ef2be7e0\",\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount1\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2021-03-04T01:00:20.4866626Z\",\r\n \"properties\": null\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/fb096644-fd22-4354-b7ae-426f703c3e35*116D1AE14F89F4BF0D3CB7129EC49AC5765BD072A76C03C231F926C597E2585F\",\r\n \"name\": \"fb096644-fd22-4354-b7ae-426f703c3e35*116D1AE14F89F4BF0D3CB7129EC49AC5765BD072A76C03C231F926C597E2585F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount3\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2021-11-02T23:26:17.1259316Z\",\r\n \"properties\": null\r\n}", "StatusCode": 200 } ], "Names": {}, "Variables": { - "SubscriptionId": "cba097a0-e1ce-4c43-8bf6-a9dc778278e0" + "SubscriptionId": "c574775c-5bbe-4332-ab92-bd41ff6df882" } -} +} \ No newline at end of file diff --git a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/tests/SessionRecords/InstanceOperationsTests/InstanceCrudTests.json b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/tests/SessionRecords/InstanceOperationsTests/InstanceCrudTests.json index d51da8796e0f..56e048e4a3ef 100644 --- a/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/tests/SessionRecords/InstanceOperationsTests/InstanceCrudTests.json +++ b/sdk/deviceupdate/Microsoft.Azure.Management.DeviceUpdate/tests/SessionRecords/InstanceOperationsTests/InstanceCrudTests.json @@ -1,22 +1,22 @@ { "Entries": [ { - "RequestUri": "/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2JhMDk3YTAtZTFjZS00YzQzLThiZjYtYTlkYzc3ODI3OGUwL3Jlc291cmNlR3JvdXBzL0RldmljZVVwZGF0ZVJlc291cmNlR3JvdXAvcHJvdmlkZXJzL01pY3Jvc29mdC5EZXZpY2VVcGRhdGUvYWNjb3VudHMvYWR1Y3BzZGt0ZXN0YWNjb3VudDI/YXBpLXZlcnNpb249MjAyMC0wMy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzU3NDc3NWMtNWJiZS00MzMyLWFiOTItYmQ0MWZmNmRmODgyL3Jlc291cmNlR3JvdXBzL0RldmljZVVwZGF0ZVJlc291cmNlR3JvdXAvcHJvdmlkZXJzL01pY3Jvc29mdC5EZXZpY2VVcGRhdGUvYWNjb3VudHMvYWR1Y3BzZGt0ZXN0YWNjb3VudDQ/YXBpLXZlcnNpb249MjAyMC0wMy0wMS1wcmV2aWV3", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"westus2\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "283e0729-cf3a-416a-b64c-ab48073364a4" + "0a2e6cfe-d8b6-4a42-ace4-b245fa7f75b1" ], - "Accept-Language": [ + "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -29,15 +29,21 @@ "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:38:46 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"01007695-0000-0800-0000-604033d60000\"" + "\"300025c4-0000-0800-0000-6181cc060000\"" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-providerhub-traffic": [ + "True" + ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], @@ -48,28 +54,22 @@ "2020-03-01-preview" ], "Azure-AsyncOperation": [ - "https://management.azure.com/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/bae6322f-9353-4b5f-ae33-7ac8eb719773?api-version=2020-03-01-preview" + "https://management.azure.com/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/28609584-d044-4dbb-9e3b-02ff71df7cee*1F1DF448F62C921FAFCA94B85031BE54E83D62079BDF6F200F04D841E3BC862C?api-version=2020-03-01-preview" ], "x-ms-request-id": [ - "bae6322f-9353-4b5f-ae33-7ac8eb719773" + "28609584-d044-4dbb-9e3b-02ff71df7cee" ], "x-ms-correlation-request-id": [ - "77bb4049-7ff3-444e-862d-63992b458d3a" - ], - "Server": [ - "Kestrel" + "4af15db7-c16f-4d1b-8e36-63e1ed5762ea" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T011150Z:77bb4049-7ff3-444e-862d-63992b458d3a" + "WESTUS:20211102T233847Z:4af15db7-c16f-4d1b-8e36-63e1ed5762ea" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:11:50 GMT" - ], "Content-Length": [ - "349" + "636" ], "Content-Type": [ "application/json; charset=utf-8" @@ -78,46 +78,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2\",\r\n \"name\": \"aducpsdktestaccount2\",\r\n \"type\": \"Microsoft.DeviceUpdate/accounts\",\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Accepted\",\r\n \"hostName\": \"aducpsdktestaccount2.api.adu.microsoft.com\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4\",\r\n \"name\": \"aducpsdktestaccount4\",\r\n \"type\": \"microsoft.deviceupdate/accounts\",\r\n \"location\": \"westus2\",\r\n \"systemData\": {\r\n \"createdBy\": \"71318fd3-e515-4267-979a-98e06d2b139e\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2021-11-02T23:38:45.1564219Z\",\r\n \"lastModifiedBy\": \"71318fd3-e515-4267-979a-98e06d2b139e\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2021-11-02T23:38:45.1564219Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Accepted\",\r\n \"hostName\": \"aducpsdktestaccount4.api.adu.microsoft.com\"\r\n }\r\n}", "StatusCode": 201 }, { - "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/bae6322f-9353-4b5f-ae33-7ac8eb719773?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzL2JhZTYzMjJmLTkzNTMtNGI1Zi1hZTMzLTdhYzhlYjcxOTc3Mz9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/28609584-d044-4dbb-9e3b-02ff71df7cee*1F1DF448F62C921FAFCA94B85031BE54E83D62079BDF6F200F04D841E3BC862C?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzI4NjA5NTg0LWQwNDQtNGRiYi05ZTNiLTAyZmY3MWRmN2NlZSoxRjFERjQ0OEY2MkM5MjFGQUZDQTk0Qjg1MDMxQkU1NEU4M0Q2MjA3OUJERjZGMjAwRjA0RDg0MUUzQkM4NjJDP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:39:17 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0c000e95-0000-0800-0000-604033ed0000\"" + "\"3e00025f-0000-0800-0000-6181cc0e0000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], "x-ms-request-id": [ - "a4f1a3eb-9e91-41af-99d8-4e34e25166ee" + "8cd472b5-22f5-4e89-b89b-8d071eb45a21" ], "x-ms-correlation-request-id": [ - "6306e428-3518-496a-a7e2-9fb1aac7bbf9" - ], - "Server": [ - "Kestrel" + "08b589fb-498a-4411-b893-632c552aa0dc" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T011220Z:6306e428-3518-496a-a7e2-9fb1aac7bbf9" + "WESTUS:20211102T233917Z:08b589fb-498a-4411-b893-632c552aa0dc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -125,11 +125,65 @@ "X-Content-Type-Options": [ "nosniff" ], + "Content-Length": [ + "525" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/28609584-d044-4dbb-9e3b-02ff71df7cee*1F1DF448F62C921FAFCA94B85031BE54E83D62079BDF6F200F04D841E3BC862C\",\r\n \"name\": \"28609584-d044-4dbb-9e3b-02ff71df7cee*1F1DF448F62C921FAFCA94B85031BE54E83D62079BDF6F200F04D841E3BC862C\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4\",\r\n \"status\": \"Creating\",\r\n \"startTime\": \"2021-11-02T23:38:46.4291348Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/28609584-d044-4dbb-9e3b-02ff71df7cee*1F1DF448F62C921FAFCA94B85031BE54E83D62079BDF6F200F04D841E3BC862C?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzI4NjA5NTg0LWQwNDQtNGRiYi05ZTNiLTAyZmY3MWRmN2NlZSoxRjFERjQ0OEY2MkM5MjFGQUZDQTk0Qjg1MDMxQkU1NEU4M0Q2MjA3OUJERjZGMjAwRjA0RDg0MUUzQkM4NjJDP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], "Date": [ - "Thu, 04 Mar 2021 01:12:19 GMT" + "Tue, 02 Nov 2021 23:39:47 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"3e00b25f-0000-0800-0000-6181cc2f0000\"" + ], + "x-ms-ratelimit-remaining-tenant-reads": [ + "11998" + ], + "x-ms-request-id": [ + "0040c37c-4bc7-4dc5-9dd0-cd172c5a16a0" + ], + "x-ms-correlation-request-id": [ + "78278530-2d71-4b65-9511-3cc404b95839" + ], + "x-ms-routing-request-id": [ + "WESTUS:20211102T233947Z:78278530-2d71-4b65-9511-3cc404b95839" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" ], "Content-Length": [ - "446" + "585" ], "Content-Type": [ "application/json; charset=utf-8" @@ -138,46 +192,49 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/bae6322f-9353-4b5f-ae33-7ac8eb719773\",\r\n \"name\": \"bae6322f-9353-4b5f-ae33-7ac8eb719773\",\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2021-03-04T01:11:49.9582723Z\",\r\n \"endTime\": \"2021-03-04T01:12:13.1364947Z\",\r\n \"properties\": null\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/28609584-d044-4dbb-9e3b-02ff71df7cee*1F1DF448F62C921FAFCA94B85031BE54E83D62079BDF6F200F04D841E3BC862C\",\r\n \"name\": \"28609584-d044-4dbb-9e3b-02ff71df7cee*1F1DF448F62C921FAFCA94B85031BE54E83D62079BDF6F200F04D841E3BC862C\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2021-11-02T23:38:46.4291348Z\",\r\n \"endTime\": \"2021-11-02T23:39:27.8827649Z\",\r\n \"properties\": null\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2JhMDk3YTAtZTFjZS00YzQzLThiZjYtYTlkYzc3ODI3OGUwL3Jlc291cmNlR3JvdXBzL0RldmljZVVwZGF0ZVJlc291cmNlR3JvdXAvcHJvdmlkZXJzL01pY3Jvc29mdC5EZXZpY2VVcGRhdGUvYWNjb3VudHMvYWR1Y3BzZGt0ZXN0YWNjb3VudDI/YXBpLXZlcnNpb249MjAyMC0wMy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzU3NDc3NWMtNWJiZS00MzMyLWFiOTItYmQ0MWZmNmRmODgyL3Jlc291cmNlR3JvdXBzL0RldmljZVVwZGF0ZVJlc291cmNlR3JvdXAvcHJvdmlkZXJzL01pY3Jvc29mdC5EZXZpY2VVcGRhdGUvYWNjb3VudHMvYWR1Y3BzZGt0ZXN0YWNjb3VudDQ/YXBpLXZlcnNpb249MjAyMC0wMy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:39:47 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"01007e95-0000-0800-0000-604033ed0000\"" + "\"30005ac4-0000-0800-0000-6181cc2f0000\"" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-providerhub-traffic": [ + "True" + ], "x-ms-request-id": [ - "03f2e74f-19e1-4a4e-96dc-a53c94851836" + "db443ca9-9c61-499e-8905-8ea3edb9d58d" ], "x-ms-correlation-request-id": [ - "77a0d639-2c92-4659-a30c-03e8961e51a1" - ], - "Server": [ - "Kestrel" + "16df8b17-c5ef-4adf-b6af-0ee462a95caf" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T011220Z:77a0d639-2c92-4659-a30c-03e8961e51a1" + "WESTUS:20211102T233948Z:16df8b17-c5ef-4adf-b6af-0ee462a95caf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -185,11 +242,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:12:20 GMT" - ], "Content-Length": [ - "350" + "637" ], "Content-Type": [ "application/json; charset=utf-8" @@ -198,79 +252,73 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2\",\r\n \"name\": \"aducpsdktestaccount2\",\r\n \"type\": \"Microsoft.DeviceUpdate/accounts\",\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"hostName\": \"aducpsdktestaccount2.api.adu.microsoft.com\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4\",\r\n \"name\": \"aducpsdktestaccount4\",\r\n \"type\": \"microsoft.deviceupdate/accounts\",\r\n \"location\": \"westus2\",\r\n \"systemData\": {\r\n \"createdBy\": \"71318fd3-e515-4267-979a-98e06d2b139e\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2021-11-02T23:38:45.1564219Z\",\r\n \"lastModifiedBy\": \"71318fd3-e515-4267-979a-98e06d2b139e\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2021-11-02T23:38:45.1564219Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"hostName\": \"aducpsdktestaccount4.api.adu.microsoft.com\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2/instances/orange?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2JhMDk3YTAtZTFjZS00YzQzLThiZjYtYTlkYzc3ODI3OGUwL3Jlc291cmNlR3JvdXBzL0RldmljZVVwZGF0ZVJlc291cmNlR3JvdXAvcHJvdmlkZXJzL01pY3Jvc29mdC5EZXZpY2VVcGRhdGUvYWNjb3VudHMvYWR1Y3BzZGt0ZXN0YWNjb3VudDIvaW5zdGFuY2VzL29yYW5nZT9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzU3NDc3NWMtNWJiZS00MzMyLWFiOTItYmQ0MWZmNmRmODgyL3Jlc291cmNlR3JvdXBzL0RldmljZVVwZGF0ZVJlc291cmNlR3JvdXAvcHJvdmlkZXJzL01pY3Jvc29mdC5EZXZpY2VVcGRhdGUvYWNjb3VudHMvYWR1Y3BzZGt0ZXN0YWNjb3VudDQvaW5zdGFuY2VzL29yYW5nZT9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"iotHubs\": [\r\n {\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.Devices/IotHubs/orange-aducpsdktestaccount2-iothub\",\r\n \"ioTHubConnectionString\": \"HostName=orange-aducpsdktestaccount2-iothub.azure-devices.net;SharedAccessKeyName=deviceupdateservice;SharedAccessKey=xyz=\",\r\n \"eventHubConnectionString\": \"Endpoint=sb://orange-aducpsdktestaccount2-b93fc34123.servicebus.windows.net/;SharedAccessKeyName=iothubowner;SharedAccessKey=xyz=;EntityPath=orange-aducpsdktestaccount2\"\r\n }\r\n ]\r\n },\r\n \"location\": \"westus2\"\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"iotHubs\": [\r\n {\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.Devices/IotHubs/orange-aducpsdktestaccount4-iothub\",\r\n \"ioTHubConnectionString\": \"\",\r\n \"eventHubConnectionString\": \"\"\r\n }\r\n ]\r\n },\r\n \"location\": \"westus2\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "785d71d5-aa18-466b-9fe2-e3bed6b989ec" + "44fdd2ad-52ff-4288-be6f-e7999aabbcb9" ], - "Accept-Language": [ + "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ], "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "723" + "366" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:39:51 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0000b197-0000-0800-0000-604033f70000\"" + "\"2d001d3f-0000-0800-0000-6181cc470000\"" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-async-operation-timeout": [ - "PT2H30M" - ], - "api-supported-versions": [ - "2020-03-01-preview" + "x-ms-providerhub-traffic": [ + "True" ], "Azure-AsyncOperation": [ - "https://management.azure.com/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/49b6dae6-7130-4f81-90e8-bd5e20bccbdf?api-version=2020-03-01-preview" + "https://management.azure.com/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/2126d086-6ae1-41d5-a334-d23b9bd492f9*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview" ], "x-ms-request-id": [ - "49b6dae6-7130-4f81-90e8-bd5e20bccbdf" + "2126d086-6ae1-41d5-a334-d23b9bd492f9" ], "x-ms-correlation-request-id": [ - "508ff7a2-72d0-45c8-bdcd-c28e5b1aebba" - ], - "Server": [ - "Kestrel" + "31b9b34e-441f-462e-bd4d-e6acd73b297e" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T011223Z:508ff7a2-72d0-45c8-bdcd-c28e5b1aebba" + "WESTUS:20211102T233952Z:31b9b34e-441f-462e-bd4d-e6acd73b297e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:12:22 GMT" - ], "Content-Length": [ - "525" + "786" ], "Content-Type": [ "application/json; charset=utf-8" @@ -279,46 +327,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2/instances/orange\",\r\n \"name\": \"orange\",\r\n \"type\": \"Microsoft.DeviceUpdate/accounts/instances\",\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Accepted\",\r\n \"accountName\": \"aducpsdktestaccount2\",\r\n \"iotHubs\": [\r\n {\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.Devices/IotHubs/orange-aducpsdktestaccount2-iothub\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"name\": \"orange\",\r\n \"type\": \"microsoft.deviceupdate/accounts/instances\",\r\n \"location\": \"westus2\",\r\n \"systemData\": {\r\n \"createdBy\": \"71318fd3-e515-4267-979a-98e06d2b139e\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2021-11-02T23:39:49.3898656Z\",\r\n \"lastModifiedBy\": \"71318fd3-e515-4267-979a-98e06d2b139e\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2021-11-02T23:39:49.3898656Z\"\r\n },\r\n \"properties\": {\r\n \"iotHubs\": [\r\n {\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.Devices/IotHubs/orange-aducpsdktestaccount4-iothub\"\r\n }\r\n ],\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n}", "StatusCode": 201 }, { - "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/49b6dae6-7130-4f81-90e8-bd5e20bccbdf?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzQ5YjZkYWU2LTcxMzAtNGY4MS05MGU4LWJkNWUyMGJjY2JkZj9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/2126d086-6ae1-41d5-a334-d23b9bd492f9*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzIxMjZkMDg2LTZhZTEtNDFkNS1hMzM0LWQyM2I5YmQ0OTJmOSpGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:40:21 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0c002b95-0000-0800-0000-604033f70000\"" + "\"3e004d60-0000-0800-0000-6181cc470000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ - "11998" + "11997" ], "x-ms-request-id": [ - "d8b697dc-8877-4e46-b53b-575596735e5e" + "23b476e2-3440-4a2b-9c97-c21ffe9597d0" ], "x-ms-correlation-request-id": [ - "d4d418fb-7ad6-49dc-ab83-fa73238b5301" - ], - "Server": [ - "Kestrel" + "b3f8341e-0e2f-412b-a7e9-78d470dedfe1" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T011253Z:d4d418fb-7ad6-49dc-ab83-fa73238b5301" + "WESTUS:20211102T234022Z:b3f8341e-0e2f-412b-a7e9-78d470dedfe1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -326,11 +374,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:12:53 GMT" - ], "Content-Length": [ - "403" + "542" ], "Content-Type": [ "application/json; charset=utf-8" @@ -339,46 +384,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/49b6dae6-7130-4f81-90e8-bd5e20bccbdf\",\r\n \"name\": \"49b6dae6-7130-4f81-90e8-bd5e20bccbdf\",\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2/instances/orange\",\r\n \"status\": \"Creating\",\r\n \"startTime\": \"2021-03-04T01:12:23.0018408Z\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/2126d086-6ae1-41d5-a334-d23b9bd492f9*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"2126d086-6ae1-41d5-a334-d23b9bd492f9*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Accepted\",\r\n \"startTime\": \"2021-11-02T23:39:51.4213018Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/49b6dae6-7130-4f81-90e8-bd5e20bccbdf?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzQ5YjZkYWU2LTcxMzAtNGY4MS05MGU4LWJkNWUyMGJjY2JkZj9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/2126d086-6ae1-41d5-a334-d23b9bd492f9*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzIxMjZkMDg2LTZhZTEtNDFkNS1hMzM0LWQyM2I5YmQ0OTJmOSpGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:40:52 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0c002b95-0000-0800-0000-604033f70000\"" + "\"3e004d60-0000-0800-0000-6181cc470000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ - "11997" + "11996" ], "x-ms-request-id": [ - "d4b9416d-8cb5-43bd-9b94-848b78bfd6c2" + "e21ab22a-5c0b-46d9-93d7-d2484506dbb3" ], "x-ms-correlation-request-id": [ - "7011d5e6-919d-4bb2-a0cf-007fd214b6d4" - ], - "Server": [ - "Kestrel" + "dc4f47eb-e238-451f-bc67-31180989ddea" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T011323Z:7011d5e6-919d-4bb2-a0cf-007fd214b6d4" + "WESTUS:20211102T234052Z:dc4f47eb-e238-451f-bc67-31180989ddea" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -386,11 +431,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:13:22 GMT" - ], "Content-Length": [ - "403" + "542" ], "Content-Type": [ "application/json; charset=utf-8" @@ -399,46 +441,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/49b6dae6-7130-4f81-90e8-bd5e20bccbdf\",\r\n \"name\": \"49b6dae6-7130-4f81-90e8-bd5e20bccbdf\",\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2/instances/orange\",\r\n \"status\": \"Creating\",\r\n \"startTime\": \"2021-03-04T01:12:23.0018408Z\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/2126d086-6ae1-41d5-a334-d23b9bd492f9*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"2126d086-6ae1-41d5-a334-d23b9bd492f9*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Accepted\",\r\n \"startTime\": \"2021-11-02T23:39:51.4213018Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/49b6dae6-7130-4f81-90e8-bd5e20bccbdf?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzQ5YjZkYWU2LTcxMzAtNGY4MS05MGU4LWJkNWUyMGJjY2JkZj9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/2126d086-6ae1-41d5-a334-d23b9bd492f9*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzIxMjZkMDg2LTZhZTEtNDFkNS1hMzM0LWQyM2I5YmQ0OTJmOSpGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:41:21 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0c002b95-0000-0800-0000-604033f70000\"" + "\"3e004d60-0000-0800-0000-6181cc470000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ - "11996" + "11995" ], "x-ms-request-id": [ - "408b5d5c-7c21-456a-8c73-2a549aa9c82d" + "893ff4b4-4268-44ae-8381-be3715fc4e69" ], "x-ms-correlation-request-id": [ - "a8c2b9ac-1c7c-4efa-82fd-f2beaf91aba2" - ], - "Server": [ - "Kestrel" + "d569876e-96ab-4216-baab-356f55494473" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T011353Z:a8c2b9ac-1c7c-4efa-82fd-f2beaf91aba2" + "WESTUS:20211102T234122Z:d569876e-96ab-4216-baab-356f55494473" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -446,11 +488,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:13:53 GMT" - ], "Content-Length": [ - "403" + "542" ], "Content-Type": [ "application/json; charset=utf-8" @@ -459,46 +498,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/49b6dae6-7130-4f81-90e8-bd5e20bccbdf\",\r\n \"name\": \"49b6dae6-7130-4f81-90e8-bd5e20bccbdf\",\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2/instances/orange\",\r\n \"status\": \"Creating\",\r\n \"startTime\": \"2021-03-04T01:12:23.0018408Z\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/2126d086-6ae1-41d5-a334-d23b9bd492f9*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"2126d086-6ae1-41d5-a334-d23b9bd492f9*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Accepted\",\r\n \"startTime\": \"2021-11-02T23:39:51.4213018Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/49b6dae6-7130-4f81-90e8-bd5e20bccbdf?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzQ5YjZkYWU2LTcxMzAtNGY4MS05MGU4LWJkNWUyMGJjY2JkZj9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/2126d086-6ae1-41d5-a334-d23b9bd492f9*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzIxMjZkMDg2LTZhZTEtNDFkNS1hMzM0LWQyM2I5YmQ0OTJmOSpGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:41:51 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0c002b95-0000-0800-0000-604033f70000\"" + "\"3e004d60-0000-0800-0000-6181cc470000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ - "11995" + "11994" ], "x-ms-request-id": [ - "b72c1f38-66ed-4a47-b0d4-13bdb54fe3e6" + "fd09a22f-47ab-4a79-bb80-cc617a6c2da8" ], "x-ms-correlation-request-id": [ - "f147d2ad-bfb1-4370-bd91-82bceb1cb4d4" - ], - "Server": [ - "Kestrel" + "e4525e00-9e95-41f8-9a6b-4b26c28db4c3" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T011423Z:f147d2ad-bfb1-4370-bd91-82bceb1cb4d4" + "WESTUS:20211102T234152Z:e4525e00-9e95-41f8-9a6b-4b26c28db4c3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -506,11 +545,65 @@ "X-Content-Type-Options": [ "nosniff" ], + "Content-Length": [ + "542" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/2126d086-6ae1-41d5-a334-d23b9bd492f9*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"2126d086-6ae1-41d5-a334-d23b9bd492f9*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Accepted\",\r\n \"startTime\": \"2021-11-02T23:39:51.4213018Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/2126d086-6ae1-41d5-a334-d23b9bd492f9*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzIxMjZkMDg2LTZhZTEtNDFkNS1hMzM0LWQyM2I5YmQ0OTJmOSpGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], "Date": [ - "Thu, 04 Mar 2021 01:14:22 GMT" + "Tue, 02 Nov 2021 23:42:22 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"3e004d60-0000-0800-0000-6181cc470000\"" + ], + "x-ms-ratelimit-remaining-tenant-reads": [ + "11993" + ], + "x-ms-request-id": [ + "bab89480-dc83-4821-8f76-4c294ed1fd65" + ], + "x-ms-correlation-request-id": [ + "0c3710c5-9a96-4ce5-8cab-0180cf294a8f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20211102T234222Z:0c3710c5-9a96-4ce5-8cab-0180cf294a8f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" ], "Content-Length": [ - "403" + "542" ], "Content-Type": [ "application/json; charset=utf-8" @@ -519,46 +612,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/49b6dae6-7130-4f81-90e8-bd5e20bccbdf\",\r\n \"name\": \"49b6dae6-7130-4f81-90e8-bd5e20bccbdf\",\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2/instances/orange\",\r\n \"status\": \"Creating\",\r\n \"startTime\": \"2021-03-04T01:12:23.0018408Z\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/2126d086-6ae1-41d5-a334-d23b9bd492f9*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"2126d086-6ae1-41d5-a334-d23b9bd492f9*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Accepted\",\r\n \"startTime\": \"2021-11-02T23:39:51.4213018Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/49b6dae6-7130-4f81-90e8-bd5e20bccbdf?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzQ5YjZkYWU2LTcxMzAtNGY4MS05MGU4LWJkNWUyMGJjY2JkZj9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/2126d086-6ae1-41d5-a334-d23b9bd492f9*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzIxMjZkMDg2LTZhZTEtNDFkNS1hMzM0LWQyM2I5YmQ0OTJmOSpGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:42:52 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0c002b95-0000-0800-0000-604033f70000\"" + "\"3e004d60-0000-0800-0000-6181cc470000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ - "11994" + "11992" ], "x-ms-request-id": [ - "99c30c59-b034-4498-adbb-a69c5f02c72a" + "b4b0ddd1-8ad1-48fe-8a22-9b2a8b561ae0" ], "x-ms-correlation-request-id": [ - "5178ccb0-415b-4371-aef9-7a08a615bb7a" - ], - "Server": [ - "Kestrel" + "eef4bf7f-f6e3-4894-9c44-8413be61e351" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T011453Z:5178ccb0-415b-4371-aef9-7a08a615bb7a" + "WESTUS:20211102T234252Z:eef4bf7f-f6e3-4894-9c44-8413be61e351" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -566,11 +659,65 @@ "X-Content-Type-Options": [ "nosniff" ], + "Content-Length": [ + "542" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/2126d086-6ae1-41d5-a334-d23b9bd492f9*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"2126d086-6ae1-41d5-a334-d23b9bd492f9*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Accepted\",\r\n \"startTime\": \"2021-11-02T23:39:51.4213018Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/2126d086-6ae1-41d5-a334-d23b9bd492f9*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzIxMjZkMDg2LTZhZTEtNDFkNS1hMzM0LWQyM2I5YmQ0OTJmOSpGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], "Date": [ - "Thu, 04 Mar 2021 01:14:53 GMT" + "Tue, 02 Nov 2021 23:43:21 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"3e004d60-0000-0800-0000-6181cc470000\"" + ], + "x-ms-ratelimit-remaining-tenant-reads": [ + "11991" + ], + "x-ms-request-id": [ + "79a5d0e3-813a-4fd4-9b9c-b7f8f1ce5474" + ], + "x-ms-correlation-request-id": [ + "5a66ddbf-88c7-44a8-9247-bbb5dc4a768c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20211102T234322Z:5a66ddbf-88c7-44a8-9247-bbb5dc4a768c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" ], "Content-Length": [ - "403" + "542" ], "Content-Type": [ "application/json; charset=utf-8" @@ -579,46 +726,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/49b6dae6-7130-4f81-90e8-bd5e20bccbdf\",\r\n \"name\": \"49b6dae6-7130-4f81-90e8-bd5e20bccbdf\",\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2/instances/orange\",\r\n \"status\": \"Creating\",\r\n \"startTime\": \"2021-03-04T01:12:23.0018408Z\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/2126d086-6ae1-41d5-a334-d23b9bd492f9*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"2126d086-6ae1-41d5-a334-d23b9bd492f9*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Accepted\",\r\n \"startTime\": \"2021-11-02T23:39:51.4213018Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/49b6dae6-7130-4f81-90e8-bd5e20bccbdf?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzQ5YjZkYWU2LTcxMzAtNGY4MS05MGU4LWJkNWUyMGJjY2JkZj9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/2126d086-6ae1-41d5-a334-d23b9bd492f9*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzIxMjZkMDg2LTZhZTEtNDFkNS1hMzM0LWQyM2I5YmQ0OTJmOSpGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:43:52 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0c002497-0000-0800-0000-6040349b0000\"" + "\"3e004d60-0000-0800-0000-6181cc470000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ - "11993" + "11990" ], "x-ms-request-id": [ - "05aeb7e2-7184-45b7-92ee-8223bc85bde3" + "c3cb8752-3945-46c5-95cc-4fe3a2cb1937" ], "x-ms-correlation-request-id": [ - "64dcd40c-4696-4e92-ad64-832a863e3288" - ], - "Server": [ - "Kestrel" + "da45d1d1-c863-4547-8f68-27cbb4604a51" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T011523Z:64dcd40c-4696-4e92-ad64-832a863e3288" + "WESTUS:20211102T234352Z:da45d1d1-c863-4547-8f68-27cbb4604a51" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -626,11 +773,65 @@ "X-Content-Type-Options": [ "nosniff" ], + "Content-Length": [ + "542" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/2126d086-6ae1-41d5-a334-d23b9bd492f9*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"2126d086-6ae1-41d5-a334-d23b9bd492f9*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Accepted\",\r\n \"startTime\": \"2021-11-02T23:39:51.4213018Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/2126d086-6ae1-41d5-a334-d23b9bd492f9*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzIxMjZkMDg2LTZhZTEtNDFkNS1hMzM0LWQyM2I5YmQ0OTJmOSpGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], "Date": [ - "Thu, 04 Mar 2021 01:15:22 GMT" + "Tue, 02 Nov 2021 23:44:22 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"3e006066-0000-0800-0000-6181cd450000\"" + ], + "x-ms-ratelimit-remaining-tenant-reads": [ + "11989" + ], + "x-ms-request-id": [ + "bd3d45da-a6a8-4aa7-aea5-622a6e1cfff9" + ], + "x-ms-correlation-request-id": [ + "3ec5c3db-81a6-476a-ad35-3157f7fff2b7" + ], + "x-ms-routing-request-id": [ + "WESTUS:20211102T234423Z:3ec5c3db-81a6-476a-ad35-3157f7fff2b7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" ], "Content-Length": [ - "463" + "561" ], "Content-Type": [ "application/json; charset=utf-8" @@ -639,46 +840,652 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/49b6dae6-7130-4f81-90e8-bd5e20bccbdf\",\r\n \"name\": \"49b6dae6-7130-4f81-90e8-bd5e20bccbdf\",\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2/instances/orange\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2021-03-04T01:12:23.0018408Z\",\r\n \"endTime\": \"2021-03-04T01:15:07.8963218Z\",\r\n \"properties\": null\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/2126d086-6ae1-41d5-a334-d23b9bd492f9*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"2126d086-6ae1-41d5-a334-d23b9bd492f9*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2021-11-02T23:39:51.4213018Z\",\r\n \"properties\": null\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2/instances/orange?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2JhMDk3YTAtZTFjZS00YzQzLThiZjYtYTlkYzc3ODI3OGUwL3Jlc291cmNlR3JvdXBzL0RldmljZVVwZGF0ZVJlc291cmNlR3JvdXAvcHJvdmlkZXJzL01pY3Jvc29mdC5EZXZpY2VVcGRhdGUvYWNjb3VudHMvYWR1Y3BzZGt0ZXN0YWNjb3VudDIvaW5zdGFuY2VzL29yYW5nZT9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzU3NDc3NWMtNWJiZS00MzMyLWFiOTItYmQ0MWZmNmRmODgyL3Jlc291cmNlR3JvdXBzL0RldmljZVVwZGF0ZVJlc291cmNlR3JvdXAvcHJvdmlkZXJzL01pY3Jvc29mdC5EZXZpY2VVcGRhdGUvYWNjb3VudHMvYWR1Y3BzZGt0ZXN0YWNjb3VudDQvaW5zdGFuY2VzL29yYW5nZT9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:44:22 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"2d00cd43-0000-0800-0000-6181cd220000\"" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-providerhub-traffic": [ + "True" + ], + "x-ms-request-id": [ + "47bedbe8-2c1a-4885-9db0-897f2e70925a" + ], + "x-ms-correlation-request-id": [ + "2fedfca0-5298-44c8-acf6-e944b16b6778" + ], + "x-ms-routing-request-id": [ + "WESTUS:20211102T234423Z:2fedfca0-5298-44c8-acf6-e944b16b6778" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "824" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"name\": \"orange\",\r\n \"type\": \"microsoft.deviceupdate/accounts/instances\",\r\n \"location\": \"westus2\",\r\n \"systemData\": {\r\n \"createdBy\": \"71318fd3-e515-4267-979a-98e06d2b139e\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2021-11-02T23:39:49.3898656Z\",\r\n \"lastModifiedBy\": \"71318fd3-e515-4267-979a-98e06d2b139e\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2021-11-02T23:39:49.3898656Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"accountName\": \"aducpsdktestaccount4\",\r\n \"iotHubs\": [\r\n {\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.Devices/IotHubs/orange-aducpsdktestaccount4-iothub\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzU3NDc3NWMtNWJiZS00MzMyLWFiOTItYmQ0MWZmNmRmODgyL3Jlc291cmNlR3JvdXBzL0RldmljZVVwZGF0ZVJlc291cmNlR3JvdXAvcHJvdmlkZXJzL01pY3Jvc29mdC5EZXZpY2VVcGRhdGUvYWNjb3VudHMvYWR1Y3BzZGt0ZXN0YWNjb3VudDQvaW5zdGFuY2VzL29yYW5nZT9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "24036339-4158-4cbe-b7aa-6ff2df3779f3" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 02 Nov 2021 23:44:32 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"2d00cd43-0000-0800-0000-6181cd220000\"" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-providerhub-traffic": [ + "True" + ], + "x-ms-request-id": [ + "3b843f14-80ce-4510-961f-4a83045437f7" + ], + "x-ms-correlation-request-id": [ + "ead2b205-f319-4f3a-b2fa-969101e6fbd7" + ], + "x-ms-routing-request-id": [ + "WESTUS:20211102T234433Z:ead2b205-f319-4f3a-b2fa-969101e6fbd7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "824" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"name\": \"orange\",\r\n \"type\": \"microsoft.deviceupdate/accounts/instances\",\r\n \"location\": \"westus2\",\r\n \"systemData\": {\r\n \"createdBy\": \"71318fd3-e515-4267-979a-98e06d2b139e\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2021-11-02T23:39:49.3898656Z\",\r\n \"lastModifiedBy\": \"71318fd3-e515-4267-979a-98e06d2b139e\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2021-11-02T23:39:49.3898656Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"accountName\": \"aducpsdktestaccount4\",\r\n \"iotHubs\": [\r\n {\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.Devices/IotHubs/orange-aducpsdktestaccount4-iothub\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzU3NDc3NWMtNWJiZS00MzMyLWFiOTItYmQ0MWZmNmRmODgyL3Jlc291cmNlR3JvdXBzL0RldmljZVVwZGF0ZVJlc291cmNlR3JvdXAvcHJvdmlkZXJzL01pY3Jvc29mdC5EZXZpY2VVcGRhdGUvYWNjb3VudHMvYWR1Y3BzZGt0ZXN0YWNjb3VudDQvaW5zdGFuY2VzP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "8a68af47-07c4-4210-a82d-a4bb74a36d25" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 02 Nov 2021 23:44:36 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-original-request-ids": [ + "4b279cae-155c-462a-a27f-c38c9a2c81f7", + "e31b84aa-693c-44cb-92de-506ac4c81f9b", + "9bb2193c-6786-4d74-82a1-6491b0389f85", + "d42f3a0b-a58d-4ab1-aa12-64ef5c83ddee" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "7ed55042-b1ca-4c49-b2f3-2621c359dbbf" + ], + "x-ms-correlation-request-id": [ + "7ed55042-b1ca-4c49-b2f3-2621c359dbbf" + ], + "x-ms-routing-request-id": [ + "WESTUS:20211102T234437Z:7ed55042-b1ca-4c49-b2f3-2621c359dbbf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "836" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"name\": \"orange\",\r\n \"type\": \"microsoft.deviceupdate/accounts/instances\",\r\n \"location\": \"westus2\",\r\n \"systemData\": {\r\n \"createdBy\": \"71318fd3-e515-4267-979a-98e06d2b139e\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2021-11-02T23:39:49.3898656Z\",\r\n \"lastModifiedBy\": \"71318fd3-e515-4267-979a-98e06d2b139e\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2021-11-02T23:39:49.3898656Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"accountName\": \"aducpsdktestaccount4\",\r\n \"iotHubs\": [\r\n {\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.Devices/IotHubs/orange-aducpsdktestaccount4-iothub\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzU3NDc3NWMtNWJiZS00MzMyLWFiOTItYmQ0MWZmNmRmODgyL3Jlc291cmNlR3JvdXBzL0RldmljZVVwZGF0ZVJlc291cmNlR3JvdXAvcHJvdmlkZXJzL01pY3Jvc29mdC5EZXZpY2VVcGRhdGUvYWNjb3VudHMvYWR1Y3BzZGt0ZXN0YWNjb3VudDQvaW5zdGFuY2VzL29yYW5nZT9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "da3d5255-4be3-411b-8a57-b69fdf276351" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 02 Nov 2021 23:44:41 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"2d004545-0000-0800-0000-6181cd6a0000\"" + ], + "Location": [ + "https://management.azure.com/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-providerhub-traffic": [ + "True" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview" + ], + "x-ms-request-id": [ + "6ed58e62-c4d6-424e-8597-1da848399952" + ], + "x-ms-correlation-request-id": [ + "0ac4b72b-31d2-41da-9fdf-9d4f2322058f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20211102T234442Z:0ac4b72b-31d2-41da-9fdf-9d4f2322058f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "4" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "null", + "StatusCode": 202 + }, + { + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzZlZDU4ZTYyLWM0ZDYtNDI0ZS04NTk3LTFkYTg0ODM5OTk1MipGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 02 Nov 2021 23:45:11 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"3e002b67-0000-0800-0000-6181cd6a0000\"" + ], + "x-ms-ratelimit-remaining-tenant-reads": [ + "11988" + ], + "x-ms-request-id": [ + "e57d11e3-2d69-403b-9e05-76d525ca44dd" + ], + "x-ms-correlation-request-id": [ + "dd14457a-bd42-4514-b9a4-1a33942ea1fe" + ], + "x-ms-routing-request-id": [ + "WESTUS:20211102T234512Z:dd14457a-bd42-4514-b9a4-1a33942ea1fe" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "542" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-11-02T23:44:42.3904404Z\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzZlZDU4ZTYyLWM0ZDYtNDI0ZS04NTk3LTFkYTg0ODM5OTk1MipGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 02 Nov 2021 23:45:42 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"3e002b67-0000-0800-0000-6181cd6a0000\"" + ], + "x-ms-ratelimit-remaining-tenant-reads": [ + "11987" + ], + "x-ms-routing-request-id": [ + "WESTUS:20211102T234542Z:e2275952-1b5d-4052-9cbb-bee9adccce52" + ], + "x-ms-request-id": [ + "cbca8d84-1963-4c27-9aa6-cd2ea0721b7f" + ], + "x-ms-correlation-request-id": [ + "e2275952-1b5d-4052-9cbb-bee9adccce52" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "542" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-11-02T23:44:42.3904404Z\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzZlZDU4ZTYyLWM0ZDYtNDI0ZS04NTk3LTFkYTg0ODM5OTk1MipGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 02 Nov 2021 23:46:12 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"3e002b67-0000-0800-0000-6181cd6a0000\"" + ], + "x-ms-ratelimit-remaining-tenant-reads": [ + "11986" + ], + "x-ms-request-id": [ + "4d06fea9-78c8-4653-bfc5-4d54b3b803c3" + ], + "x-ms-correlation-request-id": [ + "039bf9d7-77fe-4360-bf62-a5ce1840e060" + ], + "x-ms-routing-request-id": [ + "WESTUS:20211102T234612Z:039bf9d7-77fe-4360-bf62-a5ce1840e060" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "542" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-11-02T23:44:42.3904404Z\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzZlZDU4ZTYyLWM0ZDYtNDI0ZS04NTk3LTFkYTg0ODM5OTk1MipGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 02 Nov 2021 23:46:41 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"3e002b67-0000-0800-0000-6181cd6a0000\"" + ], + "x-ms-ratelimit-remaining-tenant-reads": [ + "11985" + ], + "x-ms-request-id": [ + "a154f5b3-705c-4d3b-afa4-ce8bdfa52c76" + ], + "x-ms-correlation-request-id": [ + "45bb6639-b6ed-43dd-9d34-18c6663138f0" + ], + "x-ms-routing-request-id": [ + "WESTUS:20211102T234642Z:45bb6639-b6ed-43dd-9d34-18c6663138f0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "542" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-11-02T23:44:42.3904404Z\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzZlZDU4ZTYyLWM0ZDYtNDI0ZS04NTk3LTFkYTg0ODM5OTk1MipGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 02 Nov 2021 23:47:12 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"3e002b67-0000-0800-0000-6181cd6a0000\"" + ], + "x-ms-ratelimit-remaining-tenant-reads": [ + "11984" + ], + "x-ms-request-id": [ + "03ee49a9-d5d7-47dc-a1be-1d3963f121c8" + ], + "x-ms-correlation-request-id": [ + "5fd9a2db-5ae9-4174-96a5-bd7451aa2ec2" + ], + "x-ms-routing-request-id": [ + "WESTUS:20211102T234713Z:5fd9a2db-5ae9-4174-96a5-bd7451aa2ec2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "542" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-11-02T23:44:42.3904404Z\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzZlZDU4ZTYyLWM0ZDYtNDI0ZS04NTk3LTFkYTg0ODM5OTk1MipGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 02 Nov 2021 23:47:42 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"3e002b67-0000-0800-0000-6181cd6a0000\"" + ], + "x-ms-ratelimit-remaining-tenant-reads": [ + "11983" + ], + "x-ms-request-id": [ + "47ac585e-f0fc-4534-87d2-9e63e0329f96" + ], + "x-ms-correlation-request-id": [ + "86b3d542-41b0-43f7-b1f9-67e8c28255b7" + ], + "x-ms-routing-request-id": [ + "WESTUS:20211102T234743Z:86b3d542-41b0-43f7-b1f9-67e8c28255b7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "542" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-11-02T23:44:42.3904404Z\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzZlZDU4ZTYyLWM0ZDYtNDI0ZS04NTk3LTFkYTg0ODM5OTk1MipGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 02 Nov 2021 23:48:13 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0000c697-0000-0800-0000-6040349b0000\"" + "\"3e002b67-0000-0800-0000-6181cd6a0000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11998" + "x-ms-ratelimit-remaining-tenant-reads": [ + "11982" ], "x-ms-request-id": [ - "75df2b8b-cbcb-43ce-b506-98163ed2bfef" + "c7fdac6c-9667-4f73-a715-d6e3607fa94d" ], "x-ms-correlation-request-id": [ - "b142a176-cf64-4fbc-a17e-1e4bc3a92399" - ], - "Server": [ - "Kestrel" + "8f3b0104-55aa-4e5a-9b40-468ed3f2ee62" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T011523Z:b142a176-cf64-4fbc-a17e-1e4bc3a92399" + "WESTUS:20211102T234813Z:8f3b0104-55aa-4e5a-9b40-468ed3f2ee62" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -686,11 +1493,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:15:23 GMT" - ], "Content-Length": [ - "526" + "542" ], "Content-Type": [ "application/json; charset=utf-8" @@ -699,52 +1503,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2/instances/orange\",\r\n \"name\": \"orange\",\r\n \"type\": \"Microsoft.DeviceUpdate/accounts/instances\",\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"accountName\": \"aducpsdktestaccount2\",\r\n \"iotHubs\": [\r\n {\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.Devices/IotHubs/orange-aducpsdktestaccount2-iothub\"\r\n }\r\n ]\r\n }\r\n}", - "StatusCode": 200 + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-11-02T23:44:42.3904404Z\"\r\n}", + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2/instances/orange?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2JhMDk3YTAtZTFjZS00YzQzLThiZjYtYTlkYzc3ODI3OGUwL3Jlc291cmNlR3JvdXBzL0RldmljZVVwZGF0ZVJlc291cmNlR3JvdXAvcHJvdmlkZXJzL01pY3Jvc29mdC5EZXZpY2VVcGRhdGUvYWNjb3VudHMvYWR1Y3BzZGt0ZXN0YWNjb3VudDIvaW5zdGFuY2VzL29yYW5nZT9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzZlZDU4ZTYyLWM0ZDYtNDI0ZS04NTk3LTFkYTg0ODM5OTk1MipGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { - "x-ms-client-request-id": [ - "a8b1e7d9-50f4-432a-bec1-55657e776552" - ], - "Accept-Language": [ - "en-US" - ], "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:48:43 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0000c697-0000-0800-0000-6040349b0000\"" + "\"3e002b67-0000-0800-0000-6181cd6a0000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11997" + "x-ms-ratelimit-remaining-tenant-reads": [ + "11981" ], "x-ms-request-id": [ - "67b58988-ab94-446d-b116-efc7dcc2da71" + "f3f7595c-ccbc-4d52-b461-ff4f0ce463b6" ], "x-ms-correlation-request-id": [ - "38cb2611-3e31-46d6-a80e-17c0de9ebff4" - ], - "Server": [ - "Kestrel" + "c7fce550-a504-4087-8c44-4afe72daa551" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T011523Z:38cb2611-3e31-46d6-a80e-17c0de9ebff4" + "WESTUS:20211102T234843Z:c7fce550-a504-4087-8c44-4afe72daa551" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -752,11 +1550,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:15:23 GMT" - ], "Content-Length": [ - "526" + "542" ], "Content-Type": [ "application/json; charset=utf-8" @@ -765,49 +1560,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2/instances/orange\",\r\n \"name\": \"orange\",\r\n \"type\": \"Microsoft.DeviceUpdate/accounts/instances\",\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"accountName\": \"aducpsdktestaccount2\",\r\n \"iotHubs\": [\r\n {\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.Devices/IotHubs/orange-aducpsdktestaccount2-iothub\"\r\n }\r\n ]\r\n }\r\n}", - "StatusCode": 200 + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-11-02T23:44:42.3904404Z\"\r\n}", + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2/instances?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2JhMDk3YTAtZTFjZS00YzQzLThiZjYtYTlkYzc3ODI3OGUwL3Jlc291cmNlR3JvdXBzL0RldmljZVVwZGF0ZVJlc291cmNlR3JvdXAvcHJvdmlkZXJzL01pY3Jvc29mdC5EZXZpY2VVcGRhdGUvYWNjb3VudHMvYWR1Y3BzZGt0ZXN0YWNjb3VudDIvaW5zdGFuY2VzP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzZlZDU4ZTYyLWM0ZDYtNDI0ZS04NTk3LTFkYTg0ODM5OTk1MipGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { - "x-ms-client-request-id": [ - "a83fcf08-5196-40e6-812c-b406ae67bef2" - ], - "Accept-Language": [ - "en-US" - ], "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:49:12 GMT" + ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11996" + "ETag": [ + "\"3e002b67-0000-0800-0000-6181cd6a0000\"" + ], + "x-ms-ratelimit-remaining-tenant-reads": [ + "11980" ], "x-ms-request-id": [ - "ecd05d5f-0143-4c94-bd9a-80cc14e800ca" + "f9bc2e2a-abd4-49c4-a704-fb98e2b1deb4" ], "x-ms-correlation-request-id": [ - "9ed5d3ac-c00a-4034-be11-90504b13bf4a" - ], - "Server": [ - "Kestrel" + "58593bd4-f1e8-4228-aa50-1469e1449b0a" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T011524Z:9ed5d3ac-c00a-4034-be11-90504b13bf4a" + "WESTUS:20211102T234913Z:58593bd4-f1e8-4228-aa50-1469e1449b0a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -815,11 +1607,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:15:23 GMT" - ], "Content-Length": [ - "538" + "542" ], "Content-Type": [ "application/json; charset=utf-8" @@ -828,73 +1617,55 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2/instances/orange\",\r\n \"name\": \"orange\",\r\n \"type\": \"Microsoft.DeviceUpdate/accounts/instances\",\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"accountName\": \"aducpsdktestaccount2\",\r\n \"iotHubs\": [\r\n {\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.Devices/IotHubs/orange-aducpsdktestaccount2-iothub\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-11-02T23:44:42.3904404Z\"\r\n}", + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2/instances/orange?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2JhMDk3YTAtZTFjZS00YzQzLThiZjYtYTlkYzc3ODI3OGUwL3Jlc291cmNlR3JvdXBzL0RldmljZVVwZGF0ZVJlc291cmNlR3JvdXAvcHJvdmlkZXJzL01pY3Jvc29mdC5EZXZpY2VVcGRhdGUvYWNjb3VudHMvYWR1Y3BzZGt0ZXN0YWNjb3VudDIvaW5zdGFuY2VzL29yYW5nZT9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", - "RequestMethod": "DELETE", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzZlZDU4ZTYyLWM0ZDYtNDI0ZS04NTk3LTFkYTg0ODM5OTk1MipGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", + "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { - "x-ms-client-request-id": [ - "fb707975-eb90-4a05-bcf1-dc0bc231c9d1" - ], - "Accept-Language": [ - "en-US" - ], "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:49:43 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0000cc97-0000-0800-0000-604034ac0000\"" - ], - "Location": [ - "https://management.azure.com/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2?api-version=2020-03-01-preview" - ], - "x-ms-ratelimit-remaining-subscription-deletes": [ - "14999" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-async-operation-timeout": [ - "PT2H30M" + "\"3e002b67-0000-0800-0000-6181cd6a0000\"" ], - "api-supported-versions": [ - "2020-03-01-preview" + "x-ms-ratelimit-remaining-tenant-reads": [ + "11979" ], "x-ms-request-id": [ - "5ecf362f-f85a-4567-986c-474a7d8bfcc2" + "a80ce12c-db70-45d4-ae28-55bbcb05961e" ], "x-ms-correlation-request-id": [ - "32973d93-679f-4859-b6d1-48c6f444b741" - ], - "Server": [ - "Kestrel" + "1b6eb952-983e-4d34-9386-d13b9a72fd22" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T011524Z:32973d93-679f-4859-b6d1-48c6f444b741" + "WESTUS:20211102T234943Z:1b6eb952-983e-4d34-9386-d13b9a72fd22" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:15:24 GMT" - ], "Content-Length": [ - "4" + "542" ], "Content-Type": [ "application/json; charset=utf-8" @@ -903,46 +1674,46 @@ "-1" ] }, - "ResponseBody": "null", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-11-02T23:44:42.3904404Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzVlY2YzNjJmLWY4NWEtNDU2Ny05ODZjLTQ3NGE3ZDhiZmNjMj9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzZlZDU4ZTYyLWM0ZDYtNDI0ZS04NTk3LTFkYTg0ODM5OTk1MipGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:50:13 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0c005397-0000-0800-0000-604034ae0000\"" + "\"3e002b67-0000-0800-0000-6181cd6a0000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ - "11992" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T011555Z:4cfd6ba7-ec1d-4142-81dc-23eada45a182" + "11978" ], "x-ms-request-id": [ - "90351021-362d-4f1b-96d6-dda7c41a5611" + "a48909e7-26c1-4885-89ad-f39dbc2f1f11" ], "x-ms-correlation-request-id": [ - "4cfd6ba7-ec1d-4142-81dc-23eada45a182" + "07ce541e-45ba-4ba3-b420-e0c337b8ba12" ], - "Server": [ - "Kestrel" + "x-ms-routing-request-id": [ + "WESTUS:20211102T235013Z:07ce541e-45ba-4ba3-b420-e0c337b8ba12" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -950,11 +1721,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:15:54 GMT" - ], "Content-Length": [ - "403" + "542" ], "Content-Type": [ "application/json; charset=utf-8" @@ -963,46 +1731,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"name\": \"5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-03-04T01:15:24.8252704Z\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-11-02T23:44:42.3904404Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzVlY2YzNjJmLWY4NWEtNDU2Ny05ODZjLTQ3NGE3ZDhiZmNjMj9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzZlZDU4ZTYyLWM0ZDYtNDI0ZS04NTk3LTFkYTg0ODM5OTk1MipGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:50:43 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0c005397-0000-0800-0000-604034ae0000\"" + "\"3e002b67-0000-0800-0000-6181cd6a0000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ - "11991" + "11977" ], "x-ms-request-id": [ - "5af65d63-158f-4d1e-b569-72942a72f510" + "c4a78279-1f5f-4211-951b-f13bdd34606e" ], "x-ms-correlation-request-id": [ - "db5410f7-06d6-4540-b95e-d890aa271456" - ], - "Server": [ - "Kestrel" + "801b3184-1a00-4304-ba4b-696d03e9c53c" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T011625Z:db5410f7-06d6-4540-b95e-d890aa271456" + "WESTUS:20211102T235043Z:801b3184-1a00-4304-ba4b-696d03e9c53c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1010,11 +1778,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:16:24 GMT" - ], "Content-Length": [ - "403" + "542" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1023,46 +1788,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"name\": \"5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-03-04T01:15:24.8252704Z\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-11-02T23:44:42.3904404Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzVlY2YzNjJmLWY4NWEtNDU2Ny05ODZjLTQ3NGE3ZDhiZmNjMj9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzZlZDU4ZTYyLWM0ZDYtNDI0ZS04NTk3LTFkYTg0ODM5OTk1MipGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:51:12 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0c005397-0000-0800-0000-604034ae0000\"" + "\"3e002b67-0000-0800-0000-6181cd6a0000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ - "11990" + "11976" ], "x-ms-request-id": [ - "a06dba87-8da4-44a3-a54b-bcadeee59eb7" + "727d7709-3939-4768-8fd2-12b2a2a6e6fb" ], "x-ms-correlation-request-id": [ - "923a3b5b-dc9d-4879-b050-e33b220b6385" - ], - "Server": [ - "Kestrel" + "fc075471-7c8f-4980-a932-a84a930267a3" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T011655Z:923a3b5b-dc9d-4879-b050-e33b220b6385" + "WESTUS:20211102T235113Z:fc075471-7c8f-4980-a932-a84a930267a3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1070,11 +1835,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:16:54 GMT" - ], "Content-Length": [ - "403" + "542" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1083,46 +1845,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"name\": \"5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-03-04T01:15:24.8252704Z\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-11-02T23:44:42.3904404Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzVlY2YzNjJmLWY4NWEtNDU2Ny05ODZjLTQ3NGE3ZDhiZmNjMj9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzZlZDU4ZTYyLWM0ZDYtNDI0ZS04NTk3LTFkYTg0ODM5OTk1MipGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:51:43 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0c005397-0000-0800-0000-604034ae0000\"" + "\"3e002b67-0000-0800-0000-6181cd6a0000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ - "11989" + "11975" ], "x-ms-request-id": [ - "e91d3a4f-9f7e-47d6-864c-045c8997ccb0" + "c77ecce8-9b82-4b3a-8925-9fff9c6ce832" ], "x-ms-correlation-request-id": [ - "303d30f8-8379-4ba7-982a-1a8bf106de99" - ], - "Server": [ - "Kestrel" + "f7f6e4cb-76fa-48ff-bb71-a816dee4b716" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T011725Z:303d30f8-8379-4ba7-982a-1a8bf106de99" + "WESTUS:20211102T235143Z:f7f6e4cb-76fa-48ff-bb71-a816dee4b716" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1130,11 +1892,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:17:24 GMT" - ], "Content-Length": [ - "403" + "542" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1143,46 +1902,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"name\": \"5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-03-04T01:15:24.8252704Z\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-11-02T23:44:42.3904404Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzVlY2YzNjJmLWY4NWEtNDU2Ny05ODZjLTQ3NGE3ZDhiZmNjMj9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzZlZDU4ZTYyLWM0ZDYtNDI0ZS04NTk3LTFkYTg0ODM5OTk1MipGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:52:13 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0c005397-0000-0800-0000-604034ae0000\"" + "\"3e002b67-0000-0800-0000-6181cd6a0000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ - "11988" + "11974" + ], + "x-ms-routing-request-id": [ + "WESTUS:20211102T235214Z:cf4ec5bf-363e-4368-a492-5e3cdf1f7649" ], "x-ms-request-id": [ - "37dfce2d-ac3a-444f-a030-a6f32d9ef90d" + "e0f1946e-6a17-490a-94a8-3efafa2c8e9b" ], "x-ms-correlation-request-id": [ - "bb3f675f-6ebf-41ff-a268-24905da0eaf5" - ], - "Server": [ - "Kestrel" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T011755Z:bb3f675f-6ebf-41ff-a268-24905da0eaf5" + "cf4ec5bf-363e-4368-a492-5e3cdf1f7649" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1190,11 +1949,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:17:55 GMT" - ], "Content-Length": [ - "403" + "542" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1203,46 +1959,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"name\": \"5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-03-04T01:15:24.8252704Z\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-11-02T23:44:42.3904404Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzVlY2YzNjJmLWY4NWEtNDU2Ny05ODZjLTQ3NGE3ZDhiZmNjMj9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzZlZDU4ZTYyLWM0ZDYtNDI0ZS04NTk3LTFkYTg0ODM5OTk1MipGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:52:43 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0c005397-0000-0800-0000-604034ae0000\"" + "\"3e002b67-0000-0800-0000-6181cd6a0000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ - "11987" + "11973" ], "x-ms-request-id": [ - "fdce90b8-f6d7-4a72-a930-697831d77fa5" + "446ad7be-a1c8-4eee-a2fb-8205737df90e" ], "x-ms-correlation-request-id": [ - "f240c34b-41da-4db1-8a4d-9bb957958c3f" - ], - "Server": [ - "Kestrel" + "36e2d0c8-274e-49cf-bd33-8e57ce12455a" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T011825Z:f240c34b-41da-4db1-8a4d-9bb957958c3f" + "WESTUS:20211102T235244Z:36e2d0c8-274e-49cf-bd33-8e57ce12455a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1250,11 +2006,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:18:24 GMT" - ], "Content-Length": [ - "403" + "542" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1263,46 +2016,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"name\": \"5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-03-04T01:15:24.8252704Z\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-11-02T23:44:42.3904404Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzVlY2YzNjJmLWY4NWEtNDU2Ny05ODZjLTQ3NGE3ZDhiZmNjMj9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzZlZDU4ZTYyLWM0ZDYtNDI0ZS04NTk3LTFkYTg0ODM5OTk1MipGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:53:14 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0c005397-0000-0800-0000-604034ae0000\"" + "\"3e002b67-0000-0800-0000-6181cd6a0000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ - "11986" + "11972" ], "x-ms-request-id": [ - "7d7f3fec-b23e-40eb-ae5b-9f4ff4404717" + "cd399452-1f8d-4481-b0ff-43a54f0ac650" ], "x-ms-correlation-request-id": [ - "1ad436c0-9bfb-4dff-9e87-361d2089402d" - ], - "Server": [ - "Kestrel" + "8c35b085-cedc-4a80-9a1e-29e19cdad457" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T011855Z:1ad436c0-9bfb-4dff-9e87-361d2089402d" + "WESTUS:20211102T235314Z:8c35b085-cedc-4a80-9a1e-29e19cdad457" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1310,11 +2063,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:18:55 GMT" - ], "Content-Length": [ - "403" + "542" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1323,46 +2073,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"name\": \"5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-03-04T01:15:24.8252704Z\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-11-02T23:44:42.3904404Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzVlY2YzNjJmLWY4NWEtNDU2Ny05ODZjLTQ3NGE3ZDhiZmNjMj9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzZlZDU4ZTYyLWM0ZDYtNDI0ZS04NTk3LTFkYTg0ODM5OTk1MipGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:53:43 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0c005397-0000-0800-0000-604034ae0000\"" + "\"3e002b67-0000-0800-0000-6181cd6a0000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ - "11985" + "11971" ], "x-ms-request-id": [ - "5956abc9-b5a5-477f-bafb-f98d07d6b8e9" + "789921d5-555a-4919-bae4-a30c727a123f" ], "x-ms-correlation-request-id": [ - "ca6c46cf-7bb6-4712-bf8e-39fb220bd864" - ], - "Server": [ - "Kestrel" + "9f6a2c14-9c50-45bf-b67b-68d63f8b1c60" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T011925Z:ca6c46cf-7bb6-4712-bf8e-39fb220bd864" + "WESTUS:20211102T235344Z:9f6a2c14-9c50-45bf-b67b-68d63f8b1c60" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1370,11 +2120,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:19:24 GMT" - ], "Content-Length": [ - "403" + "542" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1383,46 +2130,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"name\": \"5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-03-04T01:15:24.8252704Z\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-11-02T23:44:42.3904404Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzVlY2YzNjJmLWY4NWEtNDU2Ny05ODZjLTQ3NGE3ZDhiZmNjMj9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzZlZDU4ZTYyLWM0ZDYtNDI0ZS04NTk3LTFkYTg0ODM5OTk1MipGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:54:14 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0c005397-0000-0800-0000-604034ae0000\"" + "\"3e002b67-0000-0800-0000-6181cd6a0000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ - "11984" + "11970" ], "x-ms-request-id": [ - "7311efb3-82d2-432a-a089-221b92404c80" + "ccc3e3ac-a813-46b3-9013-4316446a6819" ], "x-ms-correlation-request-id": [ - "4cb291e1-3968-4d1d-a547-c9c269be0ac6" - ], - "Server": [ - "Kestrel" + "fc39c9c7-00f5-4e04-ac4d-c42aaf7b44df" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T011955Z:4cb291e1-3968-4d1d-a547-c9c269be0ac6" + "WESTUS:20211102T235414Z:fc39c9c7-00f5-4e04-ac4d-c42aaf7b44df" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1430,11 +2177,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:19:55 GMT" - ], "Content-Length": [ - "403" + "542" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1443,46 +2187,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"name\": \"5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-03-04T01:15:24.8252704Z\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-11-02T23:44:42.3904404Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzVlY2YzNjJmLWY4NWEtNDU2Ny05ODZjLTQ3NGE3ZDhiZmNjMj9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzZlZDU4ZTYyLWM0ZDYtNDI0ZS04NTk3LTFkYTg0ODM5OTk1MipGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:54:44 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0c005397-0000-0800-0000-604034ae0000\"" + "\"3e002b67-0000-0800-0000-6181cd6a0000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ - "11983" + "11969" ], "x-ms-request-id": [ - "bbe28a7a-4b5e-47c2-9c84-d58a6b9a78af" + "200774fa-d004-4367-85c4-eccf4b42aa88" ], "x-ms-correlation-request-id": [ - "663afc32-b85b-4da4-821c-82a88b5f1686" - ], - "Server": [ - "Kestrel" + "5aea22ba-3841-43d2-92df-5a511967aa55" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T012025Z:663afc32-b85b-4da4-821c-82a88b5f1686" + "WESTUS:20211102T235444Z:5aea22ba-3841-43d2-92df-5a511967aa55" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1490,11 +2234,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:20:25 GMT" - ], "Content-Length": [ - "403" + "542" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1503,46 +2244,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"name\": \"5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-03-04T01:15:24.8252704Z\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-11-02T23:44:42.3904404Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzVlY2YzNjJmLWY4NWEtNDU2Ny05ODZjLTQ3NGE3ZDhiZmNjMj9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzZlZDU4ZTYyLWM0ZDYtNDI0ZS04NTk3LTFkYTg0ODM5OTk1MipGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:55:13 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0c005397-0000-0800-0000-604034ae0000\"" + "\"3e002b67-0000-0800-0000-6181cd6a0000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ - "11982" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T012055Z:b76892a9-d725-4582-a4e6-9d2587b3f009" + "11968" ], "x-ms-request-id": [ - "e206b10f-432b-4b3e-b837-eb58bbd87af2" + "e18ebf91-5b8c-4fa3-9c96-f12333b92f7f" ], "x-ms-correlation-request-id": [ - "b76892a9-d725-4582-a4e6-9d2587b3f009" + "f61cbd75-c5c6-4705-8c52-bc905b38bb40" ], - "Server": [ - "Kestrel" + "x-ms-routing-request-id": [ + "WESTUS:20211102T235514Z:f61cbd75-c5c6-4705-8c52-bc905b38bb40" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1550,11 +2291,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:20:54 GMT" - ], "Content-Length": [ - "403" + "542" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1563,46 +2301,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"name\": \"5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-03-04T01:15:24.8252704Z\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-11-02T23:44:42.3904404Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzVlY2YzNjJmLWY4NWEtNDU2Ny05ODZjLTQ3NGE3ZDhiZmNjMj9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzZlZDU4ZTYyLWM0ZDYtNDI0ZS04NTk3LTFkYTg0ODM5OTk1MipGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:55:44 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0c005397-0000-0800-0000-604034ae0000\"" + "\"3e002b67-0000-0800-0000-6181cd6a0000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ - "11981" + "11967" ], "x-ms-request-id": [ - "fb30152c-6550-40a4-b17a-00c1fdb44f4a" + "28d85529-4c8c-46e6-9033-6c018a5a3a64" ], "x-ms-correlation-request-id": [ - "5be31fdf-6d5a-45ac-8be4-a969b025d9a0" - ], - "Server": [ - "Kestrel" + "cc0ee7c1-8b72-44ca-8b45-a39993bfd505" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T012125Z:5be31fdf-6d5a-45ac-8be4-a969b025d9a0" + "WESTUS:20211102T235544Z:cc0ee7c1-8b72-44ca-8b45-a39993bfd505" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1610,11 +2348,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:21:25 GMT" - ], "Content-Length": [ - "403" + "542" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1623,46 +2358,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"name\": \"5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-03-04T01:15:24.8252704Z\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-11-02T23:44:42.3904404Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzVlY2YzNjJmLWY4NWEtNDU2Ny05ODZjLTQ3NGE3ZDhiZmNjMj9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzZlZDU4ZTYyLWM0ZDYtNDI0ZS04NTk3LTFkYTg0ODM5OTk1MipGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:56:14 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0c005397-0000-0800-0000-604034ae0000\"" + "\"3e002b67-0000-0800-0000-6181cd6a0000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ - "11980" + "11966" ], "x-ms-request-id": [ - "cef36820-232f-4350-934b-229652fa390e" + "96c1d236-b46c-434a-9ef9-e46ab9f36d88" ], "x-ms-correlation-request-id": [ - "a0bc337f-6439-4c44-99df-e26bf4801661" - ], - "Server": [ - "Kestrel" + "8bde15bc-1f7a-4738-968d-48eb76b2c642" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T012155Z:a0bc337f-6439-4c44-99df-e26bf4801661" + "WESTUS:20211102T235614Z:8bde15bc-1f7a-4738-968d-48eb76b2c642" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1670,11 +2405,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:21:55 GMT" - ], "Content-Length": [ - "403" + "542" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1683,46 +2415,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"name\": \"5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-03-04T01:15:24.8252704Z\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-11-02T23:44:42.3904404Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzVlY2YzNjJmLWY4NWEtNDU2Ny05ODZjLTQ3NGE3ZDhiZmNjMj9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzZlZDU4ZTYyLWM0ZDYtNDI0ZS04NTk3LTFkYTg0ODM5OTk1MipGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:56:44 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0c005397-0000-0800-0000-604034ae0000\"" + "\"3e002b67-0000-0800-0000-6181cd6a0000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ - "11979" + "11965" ], "x-ms-request-id": [ - "bd194b91-72cd-4038-aa2f-2fe85b2fb230" + "d631632f-2000-4209-8384-3df0237cdd29" ], "x-ms-correlation-request-id": [ - "710aa2df-b7d5-43c5-b375-d046e88d9064" - ], - "Server": [ - "Kestrel" + "3c263328-865b-4107-8aa7-dfb10f5b4f37" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T012225Z:710aa2df-b7d5-43c5-b375-d046e88d9064" + "WESTUS:20211102T235645Z:3c263328-865b-4107-8aa7-dfb10f5b4f37" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1730,11 +2462,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:22:25 GMT" - ], "Content-Length": [ - "403" + "542" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1743,46 +2472,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"name\": \"5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-03-04T01:15:24.8252704Z\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-11-02T23:44:42.3904404Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzVlY2YzNjJmLWY4NWEtNDU2Ny05ODZjLTQ3NGE3ZDhiZmNjMj9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzZlZDU4ZTYyLWM0ZDYtNDI0ZS04NTk3LTFkYTg0ODM5OTk1MipGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:57:14 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0c005397-0000-0800-0000-604034ae0000\"" + "\"3e002b67-0000-0800-0000-6181cd6a0000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ - "11978" + "11964" ], "x-ms-request-id": [ - "51063469-17a3-4a75-b591-9204169a42fa" + "097dff3a-bbe4-4110-b8ff-4532501b42dd" ], "x-ms-correlation-request-id": [ - "911f96f6-cd0e-4403-92f8-aea19fa75d9f" - ], - "Server": [ - "Kestrel" + "ad9bc3bc-59d8-47d3-a8e9-8effbd25b69f" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T012255Z:911f96f6-cd0e-4403-92f8-aea19fa75d9f" + "WESTUS:20211102T235715Z:ad9bc3bc-59d8-47d3-a8e9-8effbd25b69f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1790,11 +2519,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:22:55 GMT" - ], "Content-Length": [ - "403" + "542" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1803,46 +2529,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"name\": \"5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-03-04T01:15:24.8252704Z\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-11-02T23:44:42.3904404Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzVlY2YzNjJmLWY4NWEtNDU2Ny05ODZjLTQ3NGE3ZDhiZmNjMj9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzZlZDU4ZTYyLWM0ZDYtNDI0ZS04NTk3LTFkYTg0ODM5OTk1MipGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:57:45 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0c005397-0000-0800-0000-604034ae0000\"" + "\"3e002b67-0000-0800-0000-6181cd6a0000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ - "11977" + "11963" ], "x-ms-request-id": [ - "7b941627-44d8-4902-83f1-0c3382b9829a" + "d77d7c13-1f70-433e-bb38-4ef0d3132151" ], "x-ms-correlation-request-id": [ - "1b66838d-0810-406e-bb7a-f60571ef65ea" - ], - "Server": [ - "Kestrel" + "2ba80fae-e1fa-43f5-94e9-349c7bd0b217" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T012325Z:1b66838d-0810-406e-bb7a-f60571ef65ea" + "WESTUS:20211102T235745Z:2ba80fae-e1fa-43f5-94e9-349c7bd0b217" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1850,11 +2576,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:23:25 GMT" - ], "Content-Length": [ - "403" + "542" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1863,46 +2586,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"name\": \"5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-03-04T01:15:24.8252704Z\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-11-02T23:44:42.3904404Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzVlY2YzNjJmLWY4NWEtNDU2Ny05ODZjLTQ3NGE3ZDhiZmNjMj9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzZlZDU4ZTYyLWM0ZDYtNDI0ZS04NTk3LTFkYTg0ODM5OTk1MipGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:58:15 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0c005397-0000-0800-0000-604034ae0000\"" + "\"3e002b67-0000-0800-0000-6181cd6a0000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ - "11976" + "11962" ], "x-ms-request-id": [ - "cdb27ed5-a3b2-49c3-83a6-613533d26bac" + "7cb2e178-0c8e-45aa-bd1e-26a71991665f" ], "x-ms-correlation-request-id": [ - "71c72e15-0d74-457b-9079-3956c04fbbb2" - ], - "Server": [ - "Kestrel" + "cfe333c0-5164-490e-adfc-e56d125009c2" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T012355Z:71c72e15-0d74-457b-9079-3956c04fbbb2" + "WESTUS:20211102T235815Z:cfe333c0-5164-490e-adfc-e56d125009c2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1910,11 +2633,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:23:55 GMT" - ], "Content-Length": [ - "403" + "542" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1923,46 +2643,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"name\": \"5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-03-04T01:15:24.8252704Z\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-11-02T23:44:42.3904404Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzVlY2YzNjJmLWY4NWEtNDU2Ny05ODZjLTQ3NGE3ZDhiZmNjMj9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzZlZDU4ZTYyLWM0ZDYtNDI0ZS04NTk3LTFkYTg0ODM5OTk1MipGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:58:44 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0c005397-0000-0800-0000-604034ae0000\"" + "\"3e002b67-0000-0800-0000-6181cd6a0000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ - "11975" + "11961" + ], + "x-ms-routing-request-id": [ + "WESTUS:20211102T235845Z:449e0ff6-7961-44fb-80ea-3faff2f68712" ], "x-ms-request-id": [ - "902e7a5a-149a-4757-ae24-1030ed06e7e8" + "0b7e03e6-5824-4ea1-b1e0-10679e4e2421" ], "x-ms-correlation-request-id": [ - "c27d51b5-5c84-4941-8464-8d1951e73ebb" - ], - "Server": [ - "Kestrel" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T012426Z:c27d51b5-5c84-4941-8464-8d1951e73ebb" + "449e0ff6-7961-44fb-80ea-3faff2f68712" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1970,11 +2690,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:24:25 GMT" - ], "Content-Length": [ - "403" + "542" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1983,46 +2700,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"name\": \"5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-03-04T01:15:24.8252704Z\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-11-02T23:44:42.3904404Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzVlY2YzNjJmLWY4NWEtNDU2Ny05ODZjLTQ3NGE3ZDhiZmNjMj9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzZlZDU4ZTYyLWM0ZDYtNDI0ZS04NTk3LTFkYTg0ODM5OTk1MipGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:59:15 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0c005397-0000-0800-0000-604034ae0000\"" + "\"3e002b67-0000-0800-0000-6181cd6a0000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ - "11974" + "11960" ], "x-ms-request-id": [ - "b145deba-5f77-48d3-b81c-cae5df66ae4f" + "e52eca0d-894d-4a1b-86e5-6bade09ba6e7" ], "x-ms-correlation-request-id": [ - "733dbedb-d2a5-4750-99d0-12d0dc0609b3" - ], - "Server": [ - "Kestrel" + "5982ce07-f91a-4679-ba62-611d1bbf8024" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T012456Z:733dbedb-d2a5-4750-99d0-12d0dc0609b3" + "WESTUS:20211102T235915Z:5982ce07-f91a-4679-ba62-611d1bbf8024" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2030,11 +2747,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:24:55 GMT" - ], "Content-Length": [ - "403" + "542" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2043,46 +2757,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"name\": \"5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-03-04T01:15:24.8252704Z\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-11-02T23:44:42.3904404Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzVlY2YzNjJmLWY4NWEtNDU2Ny05ODZjLTQ3NGE3ZDhiZmNjMj9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzZlZDU4ZTYyLWM0ZDYtNDI0ZS04NTk3LTFkYTg0ODM5OTk1MipGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Tue, 02 Nov 2021 23:59:45 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0c005397-0000-0800-0000-604034ae0000\"" + "\"3e002b67-0000-0800-0000-6181cd6a0000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ - "11973" + "11959" ], "x-ms-request-id": [ - "b7ed0b75-8db5-4d11-b29e-8d8c63743711" + "6119ce7a-731c-4ffa-b253-e2480ced2648" ], "x-ms-correlation-request-id": [ - "c6c67c4d-93b5-454e-8340-eeee2aaf55b5" - ], - "Server": [ - "Kestrel" + "c0b976b7-424a-497f-9ff0-6cfb21d72c62" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T012526Z:c6c67c4d-93b5-454e-8340-eeee2aaf55b5" + "WESTUS:20211102T235945Z:c0b976b7-424a-497f-9ff0-6cfb21d72c62" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2090,11 +2804,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:25:25 GMT" - ], "Content-Length": [ - "403" + "542" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2103,46 +2814,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"name\": \"5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-03-04T01:15:24.8252704Z\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-11-02T23:44:42.3904404Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzVlY2YzNjJmLWY4NWEtNDU2Ny05ODZjLTQ3NGE3ZDhiZmNjMj9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzZlZDU4ZTYyLWM0ZDYtNDI0ZS04NTk3LTFkYTg0ODM5OTk1MipGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Wed, 03 Nov 2021 00:00:15 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0c00839e-0000-0800-0000-604037170000\"" + "\"3e005780-0000-0800-0000-6181d1020000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ - "11972" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T012556Z:d10b1cac-b67d-4e91-b521-1c3a0cda0dc7" + "11958" ], "x-ms-request-id": [ - "a8de6c0d-d47b-4904-98bf-c2dab0354548" + "70f9c727-f23b-472c-b6e0-cc7f998b2635" ], "x-ms-correlation-request-id": [ - "d10b1cac-b67d-4e91-b521-1c3a0cda0dc7" + "c9e8877e-24ef-4b8f-8145-f3e768db3dc0" ], - "Server": [ - "Kestrel" + "x-ms-routing-request-id": [ + "WESTUS:20211103T000015Z:c9e8877e-24ef-4b8f-8145-f3e768db3dc0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2150,11 +2861,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:25:55 GMT" - ], "Content-Length": [ - "463" + "561" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2163,46 +2871,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"name\": \"5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2/instances/orange\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2021-03-04T01:15:24.8252704Z\",\r\n \"endTime\": \"2021-03-04T01:25:43.5384317Z\",\r\n \"properties\": null\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2021-11-02T23:44:42.3904404Z\",\r\n \"properties\": null\r\n}", "StatusCode": 200 }, { - "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzVlY2YzNjJmLWY4NWEtNDU2Ny05ODZjLTQ3NGE3ZDhiZmNjMj9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzZlZDU4ZTYyLWM0ZDYtNDI0ZS04NTk3LTFkYTg0ODM5OTk1MipGRUY4QjA4ODNERkMyREYzMEQ2OUFFMjk0QjM0QzhGOTcyRTdFMjk5NEU5RkFGNjEwMDA0RjYyQkM2NjM0MjBGP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Wed, 03 Nov 2021 00:00:15 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0c00839e-0000-0800-0000-604037170000\"" + "\"3e005780-0000-0800-0000-6181d1020000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ - "11971" + "11957" ], "x-ms-request-id": [ - "03785d03-2ac3-44fa-a323-35290772dea2" + "f817c5f7-86ca-424a-b3c4-4be27591e980" ], "x-ms-correlation-request-id": [ - "9e4b89f3-5fdb-480e-bfb2-b03eee8fa0e7" - ], - "Server": [ - "Kestrel" + "4f869444-4b67-41ee-9d4c-104f1410cdaf" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T012556Z:9e4b89f3-5fdb-480e-bfb2-b03eee8fa0e7" + "WESTUS:20211103T000015Z:4f869444-4b67-41ee-9d4c-104f1410cdaf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2210,11 +2918,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:25:55 GMT" - ], "Content-Length": [ - "463" + "561" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2223,55 +2928,61 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"name\": \"5ecf362f-f85a-4567-986c-474a7d8bfcc2\",\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2/instances/orange\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2021-03-04T01:15:24.8252704Z\",\r\n \"endTime\": \"2021-03-04T01:25:43.5384317Z\",\r\n \"properties\": null\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"name\": \"6ed58e62-c4d6-424e-8597-1da848399952*FEF8B0883DFC2DF30D69AE294B34C8F972E7E2994E9FAF610004F62BC663420F\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4/instances/orange\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2021-11-02T23:44:42.3904404Z\",\r\n \"properties\": null\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2JhMDk3YTAtZTFjZS00YzQzLThiZjYtYTlkYzc3ODI3OGUwL3Jlc291cmNlR3JvdXBzL0RldmljZVVwZGF0ZVJlc291cmNlR3JvdXAvcHJvdmlkZXJzL01pY3Jvc29mdC5EZXZpY2VVcGRhdGUvYWNjb3VudHMvYWR1Y3BzZGt0ZXN0YWNjb3VudDI/YXBpLXZlcnNpb249MjAyMC0wMy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzU3NDc3NWMtNWJiZS00MzMyLWFiOTItYmQ0MWZmNmRmODgyL3Jlc291cmNlR3JvdXBzL0RldmljZVVwZGF0ZVJlc291cmNlR3JvdXAvcHJvdmlkZXJzL01pY3Jvc29mdC5EZXZpY2VVcGRhdGUvYWNjb3VudHMvYWR1Y3BzZGt0ZXN0YWNjb3VudDQ/YXBpLXZlcnNpb249MjAyMC0wMy0wMS1wcmV2aWV3", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "5f4e03ba-2b6a-43b1-aeab-245a808016d3" + "1c5c345d-016d-4d57-b3fd-c1ff78b0c2c6" ], - "Accept-Language": [ + "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Wed, 03 Nov 2021 00:00:19 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0100dc96-0000-0800-0000-604037250000\"" + "\"30003ad0-0000-0800-0000-6181d1130000\"" ], "Location": [ - "https://management.azure.com/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/7d1dcf3d-7448-4c12-876b-ba7356612791?api-version=2020-03-01-preview" + "https://management.azure.com/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/a85aa128-32ed-40eb-a5c2-79ecbfb4085b*1F1DF448F62C921FAFCA94B85031BE54E83D62079BDF6F200F04D841E3BC862C?api-version=2020-03-01-preview" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], + "x-ms-providerhub-traffic": [ + "True" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/a85aa128-32ed-40eb-a5c2-79ecbfb4085b*1F1DF448F62C921FAFCA94B85031BE54E83D62079BDF6F200F04D841E3BC862C?api-version=2020-03-01-preview" + ], "x-ms-request-id": [ - "7d1dcf3d-7448-4c12-876b-ba7356612791" + "a85aa128-32ed-40eb-a5c2-79ecbfb4085b" ], "x-ms-correlation-request-id": [ - "07e70c6c-627f-448e-886d-b8c06f7e7c3e" - ], - "Server": [ - "Kestrel" + "04919fb3-349c-488c-9ad3-d115188f868d" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T012557Z:07e70c6c-627f-448e-886d-b8c06f7e7c3e" + "WESTUS:20211103T000019Z:04919fb3-349c-488c-9ad3-d115188f868d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2279,9 +2990,6 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:25:56 GMT" - ], "Content-Length": [ "4" ], @@ -2296,42 +3004,42 @@ "StatusCode": 202 }, { - "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/7d1dcf3d-7448-4c12-876b-ba7356612791?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzdkMWRjZjNkLTc0NDgtNGMxMi04NzZiLWJhNzM1NjYxMjc5MT9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/a85aa128-32ed-40eb-a5c2-79ecbfb4085b*1F1DF448F62C921FAFCA94B85031BE54E83D62079BDF6F200F04D841E3BC862C?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzL2E4NWFhMTI4LTMyZWQtNDBlYi1hNWMyLTc5ZWNiZmI0MDg1YioxRjFERjQ0OEY2MkM5MjFGQUZDQTk0Qjg1MDMxQkU1NEU4M0Q2MjA3OUJERjZGMjAwRjA0RDg0MUUzQkM4NjJDP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Wed, 03 Nov 2021 00:00:49 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0c00af9e-0000-0800-0000-604037240000\"" + "\"3e00fd80-0000-0800-0000-6181d1120000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ - "11970" + "11956" ], "x-ms-request-id": [ - "632bebc0-68d2-4e83-8d2a-f781e1efde9e" + "77bfdcc7-fdf1-44c0-bc2f-f0e2c1eddfca" ], "x-ms-correlation-request-id": [ - "2e75bba4-247f-4673-8b5a-6cf8e7436346" - ], - "Server": [ - "Kestrel" + "c1c7aa1e-6c98-45a5-869f-8f230705af71" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T012627Z:2e75bba4-247f-4673-8b5a-6cf8e7436346" + "WESTUS:20211103T000049Z:c1c7aa1e-6c98-45a5-869f-8f230705af71" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2339,11 +3047,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:26:26 GMT" - ], "Content-Length": [ - "386" + "525" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2352,46 +3057,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/7d1dcf3d-7448-4c12-876b-ba7356612791\",\r\n \"name\": \"7d1dcf3d-7448-4c12-876b-ba7356612791\",\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-03-04T01:25:56.6878868Z\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/a85aa128-32ed-40eb-a5c2-79ecbfb4085b*1F1DF448F62C921FAFCA94B85031BE54E83D62079BDF6F200F04D841E3BC862C\",\r\n \"name\": \"a85aa128-32ed-40eb-a5c2-79ecbfb4085b*1F1DF448F62C921FAFCA94B85031BE54E83D62079BDF6F200F04D841E3BC862C\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2021-11-03T00:00:18.9535956Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/7d1dcf3d-7448-4c12-876b-ba7356612791?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzdkMWRjZjNkLTc0NDgtNGMxMi04NzZiLWJhNzM1NjYxMjc5MT9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/a85aa128-32ed-40eb-a5c2-79ecbfb4085b*1F1DF448F62C921FAFCA94B85031BE54E83D62079BDF6F200F04D841E3BC862C?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzL2E4NWFhMTI4LTMyZWQtNDBlYi1hNWMyLTc5ZWNiZmI0MDg1YioxRjFERjQ0OEY2MkM5MjFGQUZDQTk0Qjg1MDMxQkU1NEU4M0Q2MjA3OUJERjZGMjAwRjA0RDg0MUUzQkM4NjJDP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Wed, 03 Nov 2021 00:01:18 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0c00099f-0000-0800-0000-604037480000\"" + "\"3e00f181-0000-0800-0000-6181d1380000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ - "11969" + "11955" ], "x-ms-request-id": [ - "6586d389-d9e9-434c-a6e9-93859185c7f6" + "5676ac8d-6991-4c5d-acfe-9a8d25b9e7cd" ], "x-ms-correlation-request-id": [ - "a652e100-fea3-44b5-91ca-4c02fde004b8" - ], - "Server": [ - "Kestrel" + "3a0162f9-0a95-41ad-8864-3bbe353a9484" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T012657Z:a652e100-fea3-44b5-91ca-4c02fde004b8" + "WESTUS:20211103T000119Z:3a0162f9-0a95-41ad-8864-3bbe353a9484" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2399,11 +3104,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:26:56 GMT" - ], "Content-Length": [ - "405" + "544" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2412,46 +3114,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/7d1dcf3d-7448-4c12-876b-ba7356612791\",\r\n \"name\": \"7d1dcf3d-7448-4c12-876b-ba7356612791\",\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2021-03-04T01:25:56.6878868Z\",\r\n \"properties\": null\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/a85aa128-32ed-40eb-a5c2-79ecbfb4085b*1F1DF448F62C921FAFCA94B85031BE54E83D62079BDF6F200F04D841E3BC862C\",\r\n \"name\": \"a85aa128-32ed-40eb-a5c2-79ecbfb4085b*1F1DF448F62C921FAFCA94B85031BE54E83D62079BDF6F200F04D841E3BC862C\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2021-11-03T00:00:18.9535956Z\",\r\n \"properties\": null\r\n}", "StatusCode": 200 }, { - "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/7d1dcf3d-7448-4c12-876b-ba7356612791?api-version=2020-03-01-preview", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzLzdkMWRjZjNkLTc0NDgtNGMxMi04NzZiLWJhNzM1NjYxMjc5MT9hcGktdmVyc2lvbj0yMDIwLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/a85aa128-32ed-40eb-a5c2-79ecbfb4085b*1F1DF448F62C921FAFCA94B85031BE54E83D62079BDF6F200F04D841E3BC862C?api-version=2020-03-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlVXBkYXRlL2xvY2F0aW9ucy9XRVNUVVMyL29wZXJhdGlvblN0YXR1c2VzL2E4NWFhMTI4LTMyZWQtNDBlYi1hNWMyLTc5ZWNiZmI0MDg1YioxRjFERjQ0OEY2MkM5MjFGQUZDQTk0Qjg1MDMxQkU1NEU4M0Q2MjA3OUJERjZGMjAwRjA0RDg0MUUzQkM4NjJDP2FwaS12ZXJzaW9uPTIwMjAtMDMtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.DeviceUpdate.DeviceUpdateClient/1.0.1.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Date": [ + "Wed, 03 Nov 2021 00:01:18 GMT" + ], "Pragma": [ "no-cache" ], "ETag": [ - "\"0c00099f-0000-0800-0000-604037480000\"" + "\"3e00f181-0000-0800-0000-6181d1380000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ - "11968" + "11954" ], "x-ms-request-id": [ - "3e0c3f1c-6b76-4132-88e9-be84615dc99e" + "de59b20a-07e9-4bf4-9f45-49241b29233e" ], "x-ms-correlation-request-id": [ - "1dde3ba7-0382-42a1-8350-36673288ce8b" - ], - "Server": [ - "Kestrel" + "0c91cd57-1203-48ed-91b0-786f7cbb1219" ], "x-ms-routing-request-id": [ - "WESTUS2:20210304T012657Z:1dde3ba7-0382-42a1-8350-36673288ce8b" + "WESTUS:20211103T000119Z:0c91cd57-1203-48ed-91b0-786f7cbb1219" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2459,11 +3161,8 @@ "X-Content-Type-Options": [ "nosniff" ], - "Date": [ - "Thu, 04 Mar 2021 01:26:56 GMT" - ], "Content-Length": [ - "405" + "544" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2472,12 +3171,12 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/7d1dcf3d-7448-4c12-876b-ba7356612791\",\r\n \"name\": \"7d1dcf3d-7448-4c12-876b-ba7356612791\",\r\n \"resourceId\": \"/subscriptions/cba097a0-e1ce-4c43-8bf6-a9dc778278e0/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount2\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2021-03-04T01:25:56.6878868Z\",\r\n \"properties\": null\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.DeviceUpdate/locations/WESTUS2/operationStatuses/a85aa128-32ed-40eb-a5c2-79ecbfb4085b*1F1DF448F62C921FAFCA94B85031BE54E83D62079BDF6F200F04D841E3BC862C\",\r\n \"name\": \"a85aa128-32ed-40eb-a5c2-79ecbfb4085b*1F1DF448F62C921FAFCA94B85031BE54E83D62079BDF6F200F04D841E3BC862C\",\r\n \"resourceId\": \"/subscriptions/c574775c-5bbe-4332-ab92-bd41ff6df882/resourceGroups/DeviceUpdateResourceGroup/providers/Microsoft.DeviceUpdate/accounts/aducpsdktestaccount4\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2021-11-03T00:00:18.9535956Z\",\r\n \"properties\": null\r\n}", "StatusCode": 200 } ], "Names": {}, "Variables": { - "SubscriptionId": "cba097a0-e1ce-4c43-8bf6-a9dc778278e0" + "SubscriptionId": "c574775c-5bbe-4332-ab92-bd41ff6df882" } } \ No newline at end of file