diff --git a/sdk/blueprint/Microsoft.Azure.Management.Blueprint/src/Generated/AssignmentsOperations.cs b/sdk/blueprint/Microsoft.Azure.Management.Blueprint/src/Generated/AssignmentsOperations.cs index 80051d27e0566..146f4005e505b 100644 --- a/sdk/blueprint/Microsoft.Azure.Management.Blueprint/src/Generated/AssignmentsOperations.cs +++ b/sdk/blueprint/Microsoft.Azure.Management.Blueprint/src/Generated/AssignmentsOperations.cs @@ -716,7 +716,7 @@ internal AssignmentsOperations(BlueprintManagementClient client) } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "{resourceScope}/providers/Microsoft.Blueprint/blueprintAssignments/{assignmentName}/WhoIsBlueprint").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "{resourceScope}/providers/Microsoft.Blueprint/blueprintAssignments/{assignmentName}/whoIsBlueprint").ToString(); _url = _url.Replace("{resourceScope}", resourceScope); _url = _url.Replace("{assignmentName}", System.Uri.EscapeDataString(assignmentName)); List _queryParameters = new List(); diff --git a/sdk/blueprint/Microsoft.Azure.Management.Blueprint/src/Generated/Models/BlueprintModel.cs b/sdk/blueprint/Microsoft.Azure.Management.Blueprint/src/Generated/Models/BlueprintModel.cs index 1c3f632e1f97e..63b91668360f5 100644 --- a/sdk/blueprint/Microsoft.Azure.Management.Blueprint/src/Generated/Models/BlueprintModel.cs +++ b/sdk/blueprint/Microsoft.Azure.Management.Blueprint/src/Generated/Models/BlueprintModel.cs @@ -119,11 +119,10 @@ public BlueprintModel() public object Versions { get; set; } /// - /// Gets or sets layout view of the blueprint definition for UI - /// reference. + /// Gets layout view of the blueprint definition for UI reference. /// [JsonProperty(PropertyName = "properties.layout")] - public object Layout { get; set; } + public object Layout { get; private set; } /// /// Validate the object. diff --git a/sdk/blueprint/Microsoft.Azure.Management.Blueprint/src/Generated/Models/ErrorAdditionalInfo.cs b/sdk/blueprint/Microsoft.Azure.Management.Blueprint/src/Generated/Models/ErrorAdditionalInfo.cs new file mode 100644 index 0000000000000..883bd9943f838 --- /dev/null +++ b/sdk/blueprint/Microsoft.Azure.Management.Blueprint/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.Blueprint.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/blueprint/Microsoft.Azure.Management.Blueprint/src/Generated/Models/ErrorResponse.cs b/sdk/blueprint/Microsoft.Azure.Management.Blueprint/src/Generated/Models/ErrorResponse.cs new file mode 100644 index 0000000000000..29f5183f5b819 --- /dev/null +++ b/sdk/blueprint/Microsoft.Azure.Management.Blueprint/src/Generated/Models/ErrorResponse.cs @@ -0,0 +1,90 @@ +// +// 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.Blueprint.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// 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 + { + /// + /// Initializes a new instance of the ErrorResponse class. + /// + public ErrorResponse() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ErrorResponse class. + /// + /// The error code. + /// The error message. + /// The error target. + /// The error details. + /// The error additional info. + public ErrorResponse(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; } + + } +}