From c4ac898e3970085bf5aefa46ab2d4a81909e8b0c Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 9 Feb 2022 19:14:29 +0000 Subject: [PATCH] CodeGen from PR 17632 in Azure/azure-rest-api-specs Merge e1363d43931f7ecaf1b33ba094e00811cd83740d into 9673e2239f4f8257b2e916df2d15e1ef41c5bfd1 --- .../src/Generated/Models/ActionType.cs | 21 +++++++++++++++++++ .../src/Generated/Models/OperationDetail.cs | 14 ++++++++++++- .../SdkInfo_AppPlatformManagementClient.cs | 11 ---------- 3 files changed, 34 insertions(+), 12 deletions(-) create mode 100644 sdk/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated/Models/ActionType.cs diff --git a/sdk/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated/Models/ActionType.cs b/sdk/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated/Models/ActionType.cs new file mode 100644 index 000000000000..b046bb3a8f75 --- /dev/null +++ b/sdk/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated/Models/ActionType.cs @@ -0,0 +1,21 @@ +// +// 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.AppPlatform.Models +{ + + /// + /// Defines values for ActionType. + /// + public static class ActionType + { + public const string Internal = "Internal"; + } +} diff --git a/sdk/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated/Models/OperationDetail.cs b/sdk/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated/Models/OperationDetail.cs index 77b826127b0a..bdd280a6607b 100644 --- a/sdk/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated/Models/OperationDetail.cs +++ b/sdk/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated/Models/OperationDetail.cs @@ -33,13 +33,17 @@ public OperationDetail() /// Indicates whether the operation is a /// data action /// Display of the operation + /// Enum. Indicates the action type. + /// "Internal" refers to actions that are for internal only APIs. + /// Possible values include: 'Internal' /// Origin of the operation /// Properties of the operation - public OperationDetail(string name = default(string), bool? isDataAction = default(bool?), OperationDisplay display = default(OperationDisplay), string origin = default(string), OperationProperties properties = default(OperationProperties)) + public OperationDetail(string name = default(string), bool? isDataAction = default(bool?), OperationDisplay display = default(OperationDisplay), string actionType = default(string), string origin = default(string), OperationProperties properties = default(OperationProperties)) { Name = name; IsDataAction = isDataAction; Display = display; + ActionType = actionType; Origin = origin; Properties = properties; CustomInit(); @@ -68,6 +72,14 @@ public OperationDetail() [JsonProperty(PropertyName = "display")] public OperationDisplay Display { get; set; } + /// + /// Gets enum. Indicates the action type. "Internal" refers to actions + /// that are for internal only APIs. Possible values include: + /// 'Internal' + /// + [JsonProperty(PropertyName = "actionType")] + public string ActionType { get; private set; } + /// /// Gets or sets origin of the operation /// diff --git a/sdk/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated/SdkInfo_AppPlatformManagementClient.cs b/sdk/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated/SdkInfo_AppPlatformManagementClient.cs index 85b65cd14271..83fc94e95d30 100644 --- a/sdk/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated/SdkInfo_AppPlatformManagementClient.cs +++ b/sdk/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated/SdkInfo_AppPlatformManagementClient.cs @@ -45,16 +45,5 @@ public static IEnumerable> ApiInfo_AppPlatformMana }.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/main/specification/appplatform/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=D:\\Source\\azure-sdk-for-net\\sdk"; - public static readonly String GithubForkName = "Azure"; - public static readonly String GithubBranchName = "main"; - public static readonly String GithubCommidId = "25949d0ef9e779baf66559411d34a0e5e7aa383d"; - public static readonly String CodeGenerationErrors = ""; - public static readonly String GithubRepoName = "azure-rest-api-specs"; - // END: Code Generation Metadata Section } } -