diff --git a/sdk/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated/AppPlatformManagementClient.cs b/sdk/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated/AppPlatformManagementClient.cs
index 6e74dc5595b6..63a98483ca32 100644
--- a/sdk/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated/AppPlatformManagementClient.cs
+++ b/sdk/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated/AppPlatformManagementClient.cs
@@ -456,7 +456,7 @@ private void Initialize()
ApiPortals = new ApiPortalsOperations(this);
ApiPortalCustomDomains = new ApiPortalCustomDomainsOperations(this);
BaseUri = new System.Uri("https://management.azure.com");
- ApiVersion = "2022-01-01-preview";
+ ApiVersion = "2022-03-01-preview";
AcceptLanguage = "en-US";
LongRunningOperationRetryTimeout = 30;
GenerateClientRequestId = true;
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/ClusterResourceProperties.cs b/sdk/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated/Models/ClusterResourceProperties.cs
index b7c113fab666..a9a355441c4e 100644
--- a/sdk/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated/Models/ClusterResourceProperties.cs
+++ b/sdk/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated/Models/ClusterResourceProperties.cs
@@ -30,9 +30,9 @@ public ClusterResourceProperties()
/// Initializes a new instance of the ClusterResourceProperties class.
///
/// Provisioning state of the Service.
- /// Possible values include: 'Creating', 'Updating', 'Deleting',
- /// 'Deleted', 'Succeeded', 'Failed', 'Moving', 'Moved',
- /// 'MoveFailed'
+ /// Possible values include: 'Creating', 'Updating', 'Starting',
+ /// 'Stopping', 'Deleting', 'Deleted', 'Succeeded', 'Failed', 'Moving',
+ /// 'Moved', 'MoveFailed'
/// Network profile of the Service
/// Version of the Service
/// ServiceInstanceEntity GUID which uniquely
@@ -60,8 +60,8 @@ public ClusterResourceProperties()
///
/// Gets provisioning state of the Service. Possible values include:
- /// 'Creating', 'Updating', 'Deleting', 'Deleted', 'Succeeded',
- /// 'Failed', 'Moving', 'Moved', 'MoveFailed'
+ /// 'Creating', 'Updating', 'Starting', 'Stopping', 'Deleting',
+ /// 'Deleted', 'Succeeded', 'Failed', 'Moving', 'Moved', 'MoveFailed'
///
[JsonProperty(PropertyName = "provisioningState")]
public string ProvisioningState { get; private set; }
diff --git a/sdk/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated/Models/CustomContainer.cs b/sdk/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated/Models/CustomContainer.cs
index ac4385b152c6..25e877bdbb3e 100644
--- a/sdk/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated/Models/CustomContainer.cs
+++ b/sdk/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated/Models/CustomContainer.cs
@@ -44,13 +44,16 @@ public CustomContainer()
/// CMD is used if this is not provided.
/// Credential of the image
/// registry
- public CustomContainer(string server = default(string), string containerImage = default(string), IList command = default(IList), IList args = default(IList), ImageRegistryCredential imageRegistryCredential = default(ImageRegistryCredential))
+ /// Language framework of the container
+ /// image uploaded
+ public CustomContainer(string server = default(string), string containerImage = default(string), IList command = default(IList), IList args = default(IList), ImageRegistryCredential imageRegistryCredential = default(ImageRegistryCredential), string languageFramework = default(string))
{
Server = server;
ContainerImage = containerImage;
Command = command;
Args = args;
ImageRegistryCredential = imageRegistryCredential;
+ LanguageFramework = languageFramework;
CustomInit();
}
@@ -94,5 +97,11 @@ public CustomContainer()
[JsonProperty(PropertyName = "imageRegistryCredential")]
public ImageRegistryCredential ImageRegistryCredential { get; set; }
+ ///
+ /// Gets or sets language framework of the container image uploaded
+ ///
+ [JsonProperty(PropertyName = "languageFramework")]
+ public string LanguageFramework { get; set; }
+
}
}
diff --git a/sdk/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated/Models/ManagedIdentityProperties.cs b/sdk/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated/Models/ManagedIdentityProperties.cs
index 3fe50579265b..b0975301c940 100644
--- a/sdk/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated/Models/ManagedIdentityProperties.cs
+++ b/sdk/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated/Models/ManagedIdentityProperties.cs
@@ -11,6 +11,8 @@
namespace Microsoft.Azure.Management.AppPlatform.Models
{
using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
using System.Linq;
///
@@ -32,13 +34,18 @@ public ManagedIdentityProperties()
/// Type of the managed identity. Possible values
/// include: 'None', 'SystemAssigned', 'UserAssigned',
/// 'SystemAssigned,UserAssigned'
- /// Principal Id
- /// Tenant Id
- public ManagedIdentityProperties(string type = default(string), string principalId = default(string), string tenantId = default(string))
+ /// Principal Id of system-assigned managed
+ /// identity.
+ /// Tenant Id of system-assigned managed
+ /// identity.
+ /// Properties of user-assigned
+ /// managed identities
+ public ManagedIdentityProperties(string type = default(string), string principalId = default(string), string tenantId = default(string), IDictionary userAssignedIdentities = default(IDictionary))
{
Type = type;
PrincipalId = principalId;
TenantId = tenantId;
+ UserAssignedIdentities = userAssignedIdentities;
CustomInit();
}
@@ -56,16 +63,22 @@ public ManagedIdentityProperties()
public string Type { get; set; }
///
- /// Gets or sets principal Id
+ /// Gets or sets principal Id of system-assigned managed identity.
///
[JsonProperty(PropertyName = "principalId")]
public string PrincipalId { get; set; }
///
- /// Gets or sets tenant Id
+ /// Gets or sets tenant Id of system-assigned managed identity.
///
[JsonProperty(PropertyName = "tenantId")]
public string TenantId { get; set; }
+ ///
+ /// Gets or sets properties of user-assigned managed identities
+ ///
+ [JsonProperty(PropertyName = "userAssignedIdentities")]
+ public IDictionary UserAssignedIdentities { get; set; }
+
}
}
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/Models/ProvisioningState.cs b/sdk/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated/Models/ProvisioningState.cs
index 36f58a1fdb85..ddd0f936e0b8 100644
--- a/sdk/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated/Models/ProvisioningState.cs
+++ b/sdk/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated/Models/ProvisioningState.cs
@@ -18,6 +18,8 @@ public static class ProvisioningState
{
public const string Creating = "Creating";
public const string Updating = "Updating";
+ public const string Starting = "Starting";
+ public const string Stopping = "Stopping";
public const string Deleting = "Deleting";
public const string Deleted = "Deleted";
public const string Succeeded = "Succeeded";
diff --git a/sdk/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated/Models/UserAssignedManagedIdentity.cs b/sdk/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated/Models/UserAssignedManagedIdentity.cs
new file mode 100644
index 000000000000..8aa1903e8c6e
--- /dev/null
+++ b/sdk/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated/Models/UserAssignedManagedIdentity.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.AppPlatform.Models
+{
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// The details of the user-assigned managed identity assigned to an App.
+ ///
+ public partial class UserAssignedManagedIdentity
+ {
+ ///
+ /// Initializes a new instance of the UserAssignedManagedIdentity
+ /// class.
+ ///
+ public UserAssignedManagedIdentity()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the UserAssignedManagedIdentity
+ /// class.
+ ///
+ /// Principal Id of user-assigned managed
+ /// identity.
+ /// Client Id of user-assigned managed
+ /// identity.
+ public UserAssignedManagedIdentity(string principalId = default(string), string clientId = default(string))
+ {
+ PrincipalId = principalId;
+ ClientId = clientId;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets principal Id of user-assigned managed identity.
+ ///
+ [JsonProperty(PropertyName = "principalId")]
+ public string PrincipalId { get; private set; }
+
+ ///
+ /// Gets client Id of user-assigned managed identity.
+ ///
+ [JsonProperty(PropertyName = "clientId")]
+ public string ClientId { get; private set; }
+
+ }
+}
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..2986cefe47ca 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
@@ -19,42 +19,31 @@ public static IEnumerable> ApiInfo_AppPlatformMana
{
return new Tuple[]
{
- new Tuple("AppPlatform", "ApiPortalCustomDomains", "2022-01-01-preview"),
- new Tuple("AppPlatform", "ApiPortals", "2022-01-01-preview"),
- new Tuple("AppPlatform", "Apps", "2022-01-01-preview"),
- new Tuple("AppPlatform", "Bindings", "2022-01-01-preview"),
- new Tuple("AppPlatform", "BuildService", "2022-01-01-preview"),
- new Tuple("AppPlatform", "BuildServiceAgentPool", "2022-01-01-preview"),
- new Tuple("AppPlatform", "BuildServiceBuilder", "2022-01-01-preview"),
- new Tuple("AppPlatform", "BuildpackBinding", "2022-01-01-preview"),
- new Tuple("AppPlatform", "Certificates", "2022-01-01-preview"),
- new Tuple("AppPlatform", "ConfigServers", "2022-01-01-preview"),
- new Tuple("AppPlatform", "ConfigurationServices", "2022-01-01-preview"),
- new Tuple("AppPlatform", "CustomDomains", "2022-01-01-preview"),
- new Tuple("AppPlatform", "Deployments", "2022-01-01-preview"),
- new Tuple("AppPlatform", "GatewayCustomDomains", "2022-01-01-preview"),
- new Tuple("AppPlatform", "GatewayRouteConfigs", "2022-01-01-preview"),
- new Tuple("AppPlatform", "Gateways", "2022-01-01-preview"),
- new Tuple("AppPlatform", "MonitoringSettings", "2022-01-01-preview"),
- new Tuple("AppPlatform", "Operations", "2022-01-01-preview"),
- new Tuple("AppPlatform", "RuntimeVersions", "2022-01-01-preview"),
- new Tuple("AppPlatform", "ServiceRegistries", "2022-01-01-preview"),
- new Tuple("AppPlatform", "Services", "2022-01-01-preview"),
- new Tuple("AppPlatform", "Skus", "2022-01-01-preview"),
- new Tuple("AppPlatform", "Storages", "2022-01-01-preview"),
+ new Tuple("AppPlatform", "ApiPortalCustomDomains", "2022-03-01-preview"),
+ new Tuple("AppPlatform", "ApiPortals", "2022-03-01-preview"),
+ new Tuple("AppPlatform", "Apps", "2022-03-01-preview"),
+ new Tuple("AppPlatform", "Bindings", "2022-03-01-preview"),
+ new Tuple("AppPlatform", "BuildService", "2022-03-01-preview"),
+ new Tuple("AppPlatform", "BuildServiceAgentPool", "2022-03-01-preview"),
+ new Tuple("AppPlatform", "BuildServiceBuilder", "2022-03-01-preview"),
+ new Tuple("AppPlatform", "BuildpackBinding", "2022-03-01-preview"),
+ new Tuple("AppPlatform", "Certificates", "2022-03-01-preview"),
+ new Tuple("AppPlatform", "ConfigServers", "2022-03-01-preview"),
+ new Tuple("AppPlatform", "ConfigurationServices", "2022-03-01-preview"),
+ new Tuple("AppPlatform", "CustomDomains", "2022-03-01-preview"),
+ new Tuple("AppPlatform", "Deployments", "2022-03-01-preview"),
+ new Tuple("AppPlatform", "GatewayCustomDomains", "2022-03-01-preview"),
+ new Tuple("AppPlatform", "GatewayRouteConfigs", "2022-03-01-preview"),
+ new Tuple("AppPlatform", "Gateways", "2022-03-01-preview"),
+ new Tuple("AppPlatform", "MonitoringSettings", "2022-03-01-preview"),
+ new Tuple("AppPlatform", "Operations", "2022-03-01-preview"),
+ new Tuple("AppPlatform", "RuntimeVersions", "2022-03-01-preview"),
+ new Tuple("AppPlatform", "ServiceRegistries", "2022-03-01-preview"),
+ new Tuple("AppPlatform", "Services", "2022-03-01-preview"),
+ new Tuple("AppPlatform", "Skus", "2022-03-01-preview"),
+ new Tuple("AppPlatform", "Storages", "2022-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/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
}
}
-