diff --git a/eng/mgmt/mgmtmetadata/web_resource-manager.txt b/eng/mgmt/mgmtmetadata/web_resource-manager.txt
index 3afc786fad26..f3ded863f84d 100644
--- a/eng/mgmt/mgmtmetadata/web_resource-manager.txt
+++ b/eng/mgmt/mgmtmetadata/web_resource-manager.txt
@@ -3,12 +3,12 @@ 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/web/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=E:\github\azure-sdk-for-net\sdk
-2020-06-05 06:44:53 UTC
+cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/web/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --tag=package-2020-06 --csharp-sdks-folder=K:\DotNet-SDK\Sep-2020\azure-sdk-for-net\sdk
+2020-09-18 04:29:17 UTC
Azure-rest-api-specs repository information
GitHub fork: Azure
Branch: master
-Commit: 4e744672338f604d8f7193c359d340832074e9e6
+Commit: 1b04f5fce19cd330dcc0eec11a98e499c0cda50d
AutoRest information
Requested version: v2
Bootstrapper version: autorest@2.0.4413
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/AzSdk.RP.props b/sdk/websites/Microsoft.Azure.Management.WebSites/AzSdk.RP.props
index d8fcc8f8f11a..a6ad5fd5e9ac 100644
--- a/sdk/websites/Microsoft.Azure.Management.WebSites/AzSdk.RP.props
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/AzSdk.RP.props
@@ -1,7 +1,7 @@
- CertificateRegistration_2019-08-01;DomainRegistration_2019-08-01;Web_2019-08-01;Web_2019-08-01;WebSiteManagementClient_2019-08-01;
+ CertificateRegistration_2020-06-01;DomainRegistration_2020-06-01;Web_2020-06-01;Web_2020-06-01;WebSiteManagementClient_2020-06-01;
$(PackageTags);$(CommonTags);$(AzureApiTag);
\ No newline at end of file
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/IRecommendationsOperations.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/IRecommendationsOperations.cs
index 7b51a7398987..3ad582f3625d 100644
--- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/IRecommendationsOperations.cs
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/IRecommendationsOperations.cs
@@ -142,10 +142,10 @@ public partial interface IRecommendationsOperations
///
Task>> ListHistoryForHostingEnvironmentWithHttpMessagesAsync(string resourceGroupName, string hostingEnvironmentName, bool? expiredOnly = default(bool?), string filter = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Get all recommendations for an app.
+ /// Get all recommendations for a hosting environment.
///
///
- /// Description for Get all recommendations for an app.
+ /// Description for Get all recommendations for a hosting environment.
///
///
/// Name of the resource group to which the resource belongs.
@@ -555,10 +555,10 @@ public partial interface IRecommendationsOperations
///
Task>> ListHistoryForHostingEnvironmentNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Get all recommendations for an app.
+ /// Get all recommendations for a hosting environment.
///
///
- /// Description for Get all recommendations for an app.
+ /// Description for Get all recommendations for a hosting environment.
///
///
/// The NextLink from the previous successful call to List operation.
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/IWebAppsOperations.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/IWebAppsOperations.cs
index 2588d8931036..4cd486e4521f 100644
--- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/IWebAppsOperations.cs
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/IWebAppsOperations.cs
@@ -758,20 +758,21 @@ public partial interface IWebAppsOperations
///
Task> GetAuthSettingsWithHttpMessagesAsync(string resourceGroupName, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Updates the Azure storage account configurations of an app.
+ /// Updates site's Authentication / Authorization settings for apps via
+ /// the V2 format
///
///
- /// Description for Updates the Azure storage account configurations of
- /// an app.
+ /// Description for Updates site's Authentication / Authorization
+ /// settings for apps via the V2 format
///
///
/// Name of the resource group to which the resource belongs.
///
///
- /// Name of the app.
+ /// Name of web app.
///
- ///
- /// Azure storage accounts of the app.
+ ///
+ /// Auth settings associated with web app.
///
///
/// The headers that will be added to request.
@@ -788,13 +789,14 @@ public partial interface IWebAppsOperations
///
/// Thrown when a required parameter is null
///
- Task> UpdateAzureStorageAccountsWithHttpMessagesAsync(string resourceGroupName, string name, AzureStoragePropertyDictionaryResource azureStorageAccounts, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> UpdateAuthSettingsV2WithHttpMessagesAsync(string resourceGroupName, string name, SiteAuthSettingsV2 siteAuthSettingsV2, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Gets the Azure storage account configurations of an app.
+ /// Gets site's Authentication / Authorization settings for apps via
+ /// the V2 format
///
///
- /// Description for Gets the Azure storage account configurations of an
- /// app.
+ /// Description for Gets site's Authentication / Authorization settings
+ /// for apps via the V2 format
///
///
/// Name of the resource group to which the resource belongs.
@@ -817,12 +819,13 @@ public partial interface IWebAppsOperations
///
/// Thrown when a required parameter is null
///
- Task> ListAzureStorageAccountsWithHttpMessagesAsync(string resourceGroupName, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> GetAuthSettingsV2WithHttpMessagesAsync(string resourceGroupName, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Updates the backup configuration of an app.
+ /// Updates the Azure storage account configurations of an app.
///
///
- /// Description for Updates the backup configuration of an app.
+ /// Description for Updates the Azure storage account configurations of
+ /// an app.
///
///
/// Name of the resource group to which the resource belongs.
@@ -830,8 +833,8 @@ public partial interface IWebAppsOperations
///
/// Name of the app.
///
- ///
- /// Edited backup configuration.
+ ///
+ /// Azure storage accounts of the app.
///
///
/// The headers that will be added to request.
@@ -848,12 +851,13 @@ public partial interface IWebAppsOperations
///
/// Thrown when a required parameter is null
///
- Task> UpdateBackupConfigurationWithHttpMessagesAsync(string resourceGroupName, string name, BackupRequest request, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> UpdateAzureStorageAccountsWithHttpMessagesAsync(string resourceGroupName, string name, AzureStoragePropertyDictionaryResource azureStorageAccounts, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Deletes the backup configuration of an app.
+ /// Gets the Azure storage account configurations of an app.
///
///
- /// Description for Deletes the backup configuration of an app.
+ /// Description for Gets the Azure storage account configurations of an
+ /// app.
///
///
/// Name of the resource group to which the resource belongs.
@@ -870,15 +874,18 @@ public partial interface IWebAppsOperations
///
/// Thrown when the operation returned an invalid status code
///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
///
/// Thrown when a required parameter is null
///
- Task DeleteBackupConfigurationWithHttpMessagesAsync(string resourceGroupName, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> ListAzureStorageAccountsWithHttpMessagesAsync(string resourceGroupName, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Gets the backup configuration of an app.
+ /// Updates the backup configuration of an app.
///
///
- /// Description for Gets the backup configuration of an app.
+ /// Description for Updates the backup configuration of an app.
///
///
/// Name of the resource group to which the resource belongs.
@@ -886,6 +893,9 @@ public partial interface IWebAppsOperations
///
/// Name of the app.
///
+ ///
+ /// Edited backup configuration.
+ ///
///
/// The headers that will be added to request.
///
@@ -901,13 +911,12 @@ public partial interface IWebAppsOperations
///
/// Thrown when a required parameter is null
///
- Task> GetBackupConfigurationWithHttpMessagesAsync(string resourceGroupName, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> UpdateBackupConfigurationWithHttpMessagesAsync(string resourceGroupName, string name, BackupRequest request, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Gets the config reference app settings and status of an app
+ /// Deletes the backup configuration of an app.
///
///
- /// Description for Gets the config reference app settings and status
- /// of an app
+ /// Description for Deletes the backup configuration of an app.
///
///
/// Name of the resource group to which the resource belongs.
@@ -924,18 +933,15 @@ public partial interface IWebAppsOperations
///
/// Thrown when the operation returned an invalid status code
///
- ///
- /// Thrown when unable to deserialize the response
- ///
///
/// Thrown when a required parameter is null
///
- Task> GetAppSettingsKeyVaultReferencesWithHttpMessagesAsync(string resourceGroupName, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task DeleteBackupConfigurationWithHttpMessagesAsync(string resourceGroupName, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Gets the config reference and status of an app
+ /// Gets the backup configuration of an app.
///
///
- /// Description for Gets the config reference and status of an app
+ /// Description for Gets the backup configuration of an app.
///
///
/// Name of the resource group to which the resource belongs.
@@ -943,9 +949,6 @@ public partial interface IWebAppsOperations
///
/// Name of the app.
///
- ///
- /// App Setting key name.
- ///
///
/// The headers that will be added to request.
///
@@ -961,7 +964,7 @@ public partial interface IWebAppsOperations
///
/// Thrown when a required parameter is null
///
- Task> GetAppSettingKeyVaultReferenceWithHttpMessagesAsync(string resourceGroupName, string name, string appSettingKey, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> GetBackupConfigurationWithHttpMessagesAsync(string resourceGroupName, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Replaces the connection strings of an app.
///
@@ -3050,7 +3053,7 @@ public partial interface IWebAppsOperations
///
/// Thrown when a required parameter is null
///
- Task>> ListInstanceIdentifiersWithHttpMessagesAsync(string resourceGroupName, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task>> ListInstanceIdentifiersWithHttpMessagesAsync(string resourceGroupName, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Gets all scale-out instances of an app.
///
@@ -5654,6 +5657,77 @@ public partial interface IWebAppsOperations
///
Task> GetAuthSettingsSlotWithHttpMessagesAsync(string resourceGroupName, string name, string slot, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
+ /// Updates site's Authentication / Authorization settings for apps via
+ /// the V2 format
+ ///
+ ///
+ /// Description for Updates site's Authentication / Authorization
+ /// settings for apps via the V2 format
+ ///
+ ///
+ /// Name of the resource group to which the resource belongs.
+ ///
+ ///
+ /// Name of web app.
+ ///
+ ///
+ /// Auth settings associated with web app.
+ ///
+ ///
+ /// Name of web app slot. If not specified then will default to
+ /// production slot.
+ ///
+ ///
+ /// 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> UpdateAuthSettingsV2SlotWithHttpMessagesAsync(string resourceGroupName, string name, SiteAuthSettingsV2 siteAuthSettingsV2, string slot, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Gets site's Authentication / Authorization settings for apps via
+ /// the V2 format
+ ///
+ ///
+ /// Description for Gets site's Authentication / Authorization settings
+ /// for apps via the V2 format
+ ///
+ ///
+ /// Name of the resource group to which the resource belongs.
+ ///
+ ///
+ /// Name of the app.
+ ///
+ ///
+ /// Name of the deployment slot. If a slot is not specified, the API
+ /// will get the settings for the production slot.
+ ///
+ ///
+ /// 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> GetAuthSettingsV2SlotWithHttpMessagesAsync(string resourceGroupName, string name, string slot, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
/// Updates the Azure storage account configurations of an app.
///
///
@@ -8087,7 +8161,7 @@ public partial interface IWebAppsOperations
///
/// Thrown when a required parameter is null
///
- Task>> ListInstanceIdentifiersSlotWithHttpMessagesAsync(string resourceGroupName, string name, string slot, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task>> ListInstanceIdentifiersSlotWithHttpMessagesAsync(string resourceGroupName, string name, string slot, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Gets all scale-out instances of an app.
///
@@ -13816,7 +13890,7 @@ public partial interface IWebAppsOperations
///
/// Thrown when a required parameter is null
///
- Task>> ListInstanceIdentifiersNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task>> ListInstanceIdentifiersNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Get list of processes for a web site, or a deployment slot, or for
/// a specific scaled-out instance in a web site.
@@ -14340,7 +14414,7 @@ public partial interface IWebAppsOperations
///
/// Thrown when a required parameter is null
///
- Task>> ListInstanceIdentifiersSlotNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task>> ListInstanceIdentifiersSlotNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Get list of processes for a web site, or a deployment slot, or for
/// a specific scaled-out instance in a web site.
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/KeyVaultReferenceCollection.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AllowedAudiencesValidation.cs
similarity index 59%
rename from sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/KeyVaultReferenceCollection.cs
rename to sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AllowedAudiencesValidation.cs
index a0f976b34240..7af8c086f3f3 100644
--- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/KeyVaultReferenceCollection.cs
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AllowedAudiencesValidation.cs
@@ -17,33 +17,28 @@ namespace Microsoft.Azure.Management.WebSites.Models
using System.Collections.Generic;
using System.Linq;
- ///
- /// Web app key vault reference and status ARM resource.
- ///
[Rest.Serialization.JsonTransformation]
- public partial class KeyVaultReferenceCollection : ProxyOnlyResource
+ public partial class AllowedAudiencesValidation : ProxyOnlyResource
{
///
- /// Initializes a new instance of the KeyVaultReferenceCollection
- /// class.
+ /// Initializes a new instance of the AllowedAudiencesValidation class.
///
- public KeyVaultReferenceCollection()
+ public AllowedAudiencesValidation()
{
CustomInit();
}
///
- /// Initializes a new instance of the KeyVaultReferenceCollection
- /// class.
+ /// Initializes a new instance of the AllowedAudiencesValidation class.
///
/// Resource Id.
/// Resource Name.
/// Kind of resource.
/// Resource type.
- public KeyVaultReferenceCollection(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), IDictionary keyToReferenceStatuses = default(IDictionary))
+ public AllowedAudiencesValidation(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), IList allowedAudiences = default(IList))
: base(id, name, kind, type)
{
- KeyToReferenceStatuses = keyToReferenceStatuses;
+ AllowedAudiences = allowedAudiences;
CustomInit();
}
@@ -54,8 +49,8 @@ public KeyVaultReferenceCollection()
///
///
- [JsonProperty(PropertyName = "properties.keyToReferenceStatuses")]
- public IDictionary KeyToReferenceStatuses { get; set; }
+ [JsonProperty(PropertyName = "properties.allowedAudiences")]
+ public IList AllowedAudiences { get; set; }
}
}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ApiKVReference.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ApiKVReference.cs
deleted file mode 100644
index 89e9a6e20a42..000000000000
--- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ApiKVReference.cs
+++ /dev/null
@@ -1,115 +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.WebSites.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Description of site key vault references.
- ///
- public partial class ApiKVReference
- {
- ///
- /// Initializes a new instance of the ApiKVReference class.
- ///
- public ApiKVReference()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the ApiKVReference class.
- ///
- /// Possible values include: 'Initialized',
- /// 'Resolved', 'InvalidSyntax', 'MSINotEnabled', 'VaultNotFound',
- /// 'SecretNotFound', 'SecretVersionNotFound',
- /// 'AccessToKeyVaultDenied', 'OtherReasons'
- /// Possible values include:
- /// 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned',
- /// 'None'
- /// Possible values include: 'KeyVault'
- /// Possible values include:
- /// 'ApplicationSetting'
- public ApiKVReference(string reference = default(string), ResolveStatus? status = default(ResolveStatus?), string vaultName = default(string), string secretName = default(string), string secretVersion = default(string), ManagedServiceIdentityType? identityType = default(ManagedServiceIdentityType?), string details = default(string), ConfigReferenceSource? source = default(ConfigReferenceSource?), ConfigReferenceLocation? location = default(ConfigReferenceLocation?))
- {
- Reference = reference;
- Status = status;
- VaultName = vaultName;
- SecretName = secretName;
- SecretVersion = secretVersion;
- IdentityType = identityType;
- Details = details;
- Source = source;
- Location = location;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- ///
- [JsonProperty(PropertyName = "reference")]
- public string Reference { get; set; }
-
- ///
- /// Gets or sets possible values include: 'Initialized', 'Resolved',
- /// 'InvalidSyntax', 'MSINotEnabled', 'VaultNotFound',
- /// 'SecretNotFound', 'SecretVersionNotFound',
- /// 'AccessToKeyVaultDenied', 'OtherReasons'
- ///
- [JsonProperty(PropertyName = "status")]
- public ResolveStatus? Status { get; set; }
-
- ///
- ///
- [JsonProperty(PropertyName = "vaultName")]
- public string VaultName { get; set; }
-
- ///
- ///
- [JsonProperty(PropertyName = "secretName")]
- public string SecretName { get; set; }
-
- ///
- ///
- [JsonProperty(PropertyName = "secretVersion")]
- public string SecretVersion { get; set; }
-
- ///
- /// Gets or sets possible values include: 'SystemAssigned',
- /// 'UserAssigned', 'SystemAssigned, UserAssigned', 'None'
- ///
- [JsonProperty(PropertyName = "identityType")]
- public ManagedServiceIdentityType? IdentityType { get; set; }
-
- ///
- ///
- [JsonProperty(PropertyName = "details")]
- public string Details { get; set; }
-
- ///
- /// Gets or sets possible values include: 'KeyVault'
- ///
- [JsonProperty(PropertyName = "source")]
- public ConfigReferenceSource? Source { get; set; }
-
- ///
- /// Gets or sets possible values include: 'ApplicationSetting'
- ///
- [JsonProperty(PropertyName = "location")]
- public ConfigReferenceLocation? Location { get; set; }
-
- }
-}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppRegistration.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppRegistration.cs
new file mode 100644
index 000000000000..a1e6ff47661a
--- /dev/null
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppRegistration.cs
@@ -0,0 +1,60 @@
+//
+// 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.WebSites.Models
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ [Rest.Serialization.JsonTransformation]
+ public partial class AppRegistration : ProxyOnlyResource
+ {
+ ///
+ /// Initializes a new instance of the AppRegistration class.
+ ///
+ public AppRegistration()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the AppRegistration class.
+ ///
+ /// Resource Id.
+ /// Resource Name.
+ /// Kind of resource.
+ /// Resource type.
+ public AppRegistration(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string appId = default(string), string appSecretSettingName = default(string))
+ : base(id, name, kind, type)
+ {
+ AppId = appId;
+ AppSecretSettingName = appSecretSettingName;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.appId")]
+ public string AppId { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.appSecretSettingName")]
+ public string AppSecretSettingName { get; set; }
+
+ }
+}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppServiceEnvironment.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppServiceEnvironment.cs
index 29ea05a82abc..d7562b769f24 100644
--- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppServiceEnvironment.cs
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppServiceEnvironment.cs
@@ -52,8 +52,8 @@ public AppServiceEnvironment()
/// Subnet of the Virtual Network.
/// Specifies which endpoints
/// to serve internally in the Virtual Network for the App Service
- /// Environment. Possible values include: 'None', 'Web',
- /// 'Publishing'
+ /// Environment. Possible values include: 'None', 'Web', 'Publishing',
+ /// 'Web,Publishing'
/// Front-end VM size, e.g. "Medium",
/// "Large".
/// Number of front-end instances.
@@ -117,7 +117,7 @@ public AppServiceEnvironment()
/// Environment default SSL certificate
/// Key Vault Secret Name for
/// ILB App Service Environment default SSL certificate
- public AppServiceEnvironment(string name, string location, VirtualNetworkProfile virtualNetwork, IList workerPools, ProvisioningState? provisioningState = default(ProvisioningState?), HostingEnvironmentStatus? status = default(HostingEnvironmentStatus?), string vnetName = default(string), string vnetResourceGroupName = default(string), string vnetSubnetName = default(string), InternalLoadBalancingMode? internalLoadBalancingMode = default(InternalLoadBalancingMode?), string multiSize = default(string), int? multiRoleCount = default(int?), int? ipsslAddressCount = default(int?), string databaseEdition = default(string), string databaseServiceObjective = default(string), int? upgradeDomains = default(int?), string subscriptionId = default(string), string dnsSuffix = default(string), string lastAction = default(string), string lastActionResult = default(string), string allowedMultiSizes = default(string), string allowedWorkerSizes = default(string), int? maximumNumberOfMachines = default(int?), IList vipMappings = default(IList), IList environmentCapacities = default(IList), IList networkAccessControlList = default(IList), bool? environmentIsHealthy = default(bool?), string environmentStatus = default(string), string resourceGroup = default(string), int? frontEndScaleFactor = default(int?), int? defaultFrontEndScaleFactor = default(int?), string apiManagementAccountId = default(string), bool? suspended = default(bool?), bool? dynamicCacheEnabled = default(bool?), IList clusterSettings = default(IList), IList userWhitelistedIpRanges = default(IList), bool? hasLinuxWorkers = default(bool?), string sslCertKeyVaultId = default(string), string sslCertKeyVaultSecretName = default(string))
+ public AppServiceEnvironment(string name, string location, VirtualNetworkProfile virtualNetwork, IList workerPools, ProvisioningState? provisioningState = default(ProvisioningState?), HostingEnvironmentStatus? status = default(HostingEnvironmentStatus?), string vnetName = default(string), string vnetResourceGroupName = default(string), string vnetSubnetName = default(string), string internalLoadBalancingMode = default(string), string multiSize = default(string), int? multiRoleCount = default(int?), int? ipsslAddressCount = default(int?), string databaseEdition = default(string), string databaseServiceObjective = default(string), int? upgradeDomains = default(int?), string subscriptionId = default(string), string dnsSuffix = default(string), string lastAction = default(string), string lastActionResult = default(string), string allowedMultiSizes = default(string), string allowedWorkerSizes = default(string), int? maximumNumberOfMachines = default(int?), IList vipMappings = default(IList), IList environmentCapacities = default(IList), IList networkAccessControlList = default(IList), bool? environmentIsHealthy = default(bool?), string environmentStatus = default(string), string resourceGroup = default(string), int? frontEndScaleFactor = default(int?), int? defaultFrontEndScaleFactor = default(int?), string apiManagementAccountId = default(string), bool? suspended = default(bool?), bool? dynamicCacheEnabled = default(bool?), IList clusterSettings = default(IList), IList userWhitelistedIpRanges = default(IList), bool? hasLinuxWorkers = default(bool?), string sslCertKeyVaultId = default(string), string sslCertKeyVaultSecretName = default(string))
{
Name = name;
Location = location;
@@ -222,10 +222,10 @@ public AppServiceEnvironment()
///
/// Gets or sets specifies which endpoints to serve internally in the
/// Virtual Network for the App Service Environment. Possible values
- /// include: 'None', 'Web', 'Publishing'
+ /// include: 'None', 'Web', 'Publishing', 'Web,Publishing'
///
[JsonProperty(PropertyName = "internalLoadBalancingMode")]
- public InternalLoadBalancingMode? InternalLoadBalancingMode { get; set; }
+ public string InternalLoadBalancingMode { get; set; }
///
/// Gets or sets front-end VM size, e.g. "Medium", "Large".
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppServiceEnvironmentPatchResource.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppServiceEnvironmentPatchResource.cs
index fa7fcacb72a2..bf9e55680b03 100644
--- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppServiceEnvironmentPatchResource.cs
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppServiceEnvironmentPatchResource.cs
@@ -61,8 +61,8 @@ public AppServiceEnvironmentPatchResource()
/// Subnet of the Virtual Network.
/// Specifies which endpoints
/// to serve internally in the Virtual Network for the App Service
- /// Environment. Possible values include: 'None', 'Web',
- /// 'Publishing'
+ /// Environment. Possible values include: 'None', 'Web', 'Publishing',
+ /// 'Web,Publishing'
/// Front-end VM size, e.g. "Medium",
/// "Large".
/// Number of front-end instances.
@@ -126,7 +126,7 @@ public AppServiceEnvironmentPatchResource()
/// Environment default SSL certificate
/// Key Vault Secret Name for
/// ILB App Service Environment default SSL certificate
- public AppServiceEnvironmentPatchResource(string appServiceEnvironmentPatchResourceName, string location, VirtualNetworkProfile virtualNetwork, IList workerPools, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), ProvisioningState? provisioningState = default(ProvisioningState?), HostingEnvironmentStatus? status = default(HostingEnvironmentStatus?), string vnetName = default(string), string vnetResourceGroupName = default(string), string vnetSubnetName = default(string), InternalLoadBalancingMode? internalLoadBalancingMode = default(InternalLoadBalancingMode?), string multiSize = default(string), int? multiRoleCount = default(int?), int? ipsslAddressCount = default(int?), string databaseEdition = default(string), string databaseServiceObjective = default(string), int? upgradeDomains = default(int?), string subscriptionId = default(string), string dnsSuffix = default(string), string lastAction = default(string), string lastActionResult = default(string), string allowedMultiSizes = default(string), string allowedWorkerSizes = default(string), int? maximumNumberOfMachines = default(int?), IList vipMappings = default(IList), IList environmentCapacities = default(IList), IList networkAccessControlList = default(IList), bool? environmentIsHealthy = default(bool?), string environmentStatus = default(string), string resourceGroup = default(string), int? frontEndScaleFactor = default(int?), int? defaultFrontEndScaleFactor = default(int?), string apiManagementAccountId = default(string), bool? suspended = default(bool?), bool? dynamicCacheEnabled = default(bool?), IList clusterSettings = default(IList), IList userWhitelistedIpRanges = default(IList), bool? hasLinuxWorkers = default(bool?), string sslCertKeyVaultId = default(string), string sslCertKeyVaultSecretName = default(string))
+ public AppServiceEnvironmentPatchResource(string appServiceEnvironmentPatchResourceName, string location, VirtualNetworkProfile virtualNetwork, IList workerPools, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), ProvisioningState? provisioningState = default(ProvisioningState?), HostingEnvironmentStatus? status = default(HostingEnvironmentStatus?), string vnetName = default(string), string vnetResourceGroupName = default(string), string vnetSubnetName = default(string), string internalLoadBalancingMode = default(string), string multiSize = default(string), int? multiRoleCount = default(int?), int? ipsslAddressCount = default(int?), string databaseEdition = default(string), string databaseServiceObjective = default(string), int? upgradeDomains = default(int?), string subscriptionId = default(string), string dnsSuffix = default(string), string lastAction = default(string), string lastActionResult = default(string), string allowedMultiSizes = default(string), string allowedWorkerSizes = default(string), int? maximumNumberOfMachines = default(int?), IList vipMappings = default(IList), IList environmentCapacities = default(IList), IList networkAccessControlList = default(IList), bool? environmentIsHealthy = default(bool?), string environmentStatus = default(string), string resourceGroup = default(string), int? frontEndScaleFactor = default(int?), int? defaultFrontEndScaleFactor = default(int?), string apiManagementAccountId = default(string), bool? suspended = default(bool?), bool? dynamicCacheEnabled = default(bool?), IList clusterSettings = default(IList), IList userWhitelistedIpRanges = default(IList), bool? hasLinuxWorkers = default(bool?), string sslCertKeyVaultId = default(string), string sslCertKeyVaultSecretName = default(string))
: base(id, name, kind, type)
{
AppServiceEnvironmentPatchResourceName = appServiceEnvironmentPatchResourceName;
@@ -232,10 +232,10 @@ public AppServiceEnvironmentPatchResource()
///
/// Gets or sets specifies which endpoints to serve internally in the
/// Virtual Network for the App Service Environment. Possible values
- /// include: 'None', 'Web', 'Publishing'
+ /// include: 'None', 'Web', 'Publishing', 'Web,Publishing'
///
[JsonProperty(PropertyName = "properties.internalLoadBalancingMode")]
- public InternalLoadBalancingMode? InternalLoadBalancingMode { get; set; }
+ public string InternalLoadBalancingMode { get; set; }
///
/// Gets or sets front-end VM size, e.g. "Medium", "Large".
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppServiceEnvironmentResource.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppServiceEnvironmentResource.cs
index 63564f3f9cb0..910c484a40d3 100644
--- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppServiceEnvironmentResource.cs
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppServiceEnvironmentResource.cs
@@ -63,8 +63,8 @@ public AppServiceEnvironmentResource()
/// Subnet of the Virtual Network.
/// Specifies which endpoints
/// to serve internally in the Virtual Network for the App Service
- /// Environment. Possible values include: 'None', 'Web',
- /// 'Publishing'
+ /// Environment. Possible values include: 'None', 'Web', 'Publishing',
+ /// 'Web,Publishing'
/// Front-end VM size, e.g. "Medium",
/// "Large".
/// Number of front-end instances.
@@ -128,7 +128,7 @@ public AppServiceEnvironmentResource()
/// Environment default SSL certificate
/// Key Vault Secret Name for
/// ILB App Service Environment default SSL certificate
- public AppServiceEnvironmentResource(string location, string appServiceEnvironmentResourceName, string appServiceEnvironmentResourceLocation, VirtualNetworkProfile virtualNetwork, IList workerPools, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), IDictionary tags = default(IDictionary), ProvisioningState? provisioningState = default(ProvisioningState?), HostingEnvironmentStatus? status = default(HostingEnvironmentStatus?), string vnetName = default(string), string vnetResourceGroupName = default(string), string vnetSubnetName = default(string), InternalLoadBalancingMode? internalLoadBalancingMode = default(InternalLoadBalancingMode?), string multiSize = default(string), int? multiRoleCount = default(int?), int? ipsslAddressCount = default(int?), string databaseEdition = default(string), string databaseServiceObjective = default(string), int? upgradeDomains = default(int?), string subscriptionId = default(string), string dnsSuffix = default(string), string lastAction = default(string), string lastActionResult = default(string), string allowedMultiSizes = default(string), string allowedWorkerSizes = default(string), int? maximumNumberOfMachines = default(int?), IList vipMappings = default(IList), IList environmentCapacities = default(IList), IList networkAccessControlList = default(IList), bool? environmentIsHealthy = default(bool?), string environmentStatus = default(string), string resourceGroup = default(string), int? frontEndScaleFactor = default(int?), int? defaultFrontEndScaleFactor = default(int?), string apiManagementAccountId = default(string), bool? suspended = default(bool?), bool? dynamicCacheEnabled = default(bool?), IList clusterSettings = default(IList), IList userWhitelistedIpRanges = default(IList), bool? hasLinuxWorkers = default(bool?), string sslCertKeyVaultId = default(string), string sslCertKeyVaultSecretName = default(string))
+ public AppServiceEnvironmentResource(string location, string appServiceEnvironmentResourceName, string appServiceEnvironmentResourceLocation, VirtualNetworkProfile virtualNetwork, IList workerPools, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), IDictionary tags = default(IDictionary), ProvisioningState? provisioningState = default(ProvisioningState?), HostingEnvironmentStatus? status = default(HostingEnvironmentStatus?), string vnetName = default(string), string vnetResourceGroupName = default(string), string vnetSubnetName = default(string), string internalLoadBalancingMode = default(string), string multiSize = default(string), int? multiRoleCount = default(int?), int? ipsslAddressCount = default(int?), string databaseEdition = default(string), string databaseServiceObjective = default(string), int? upgradeDomains = default(int?), string subscriptionId = default(string), string dnsSuffix = default(string), string lastAction = default(string), string lastActionResult = default(string), string allowedMultiSizes = default(string), string allowedWorkerSizes = default(string), int? maximumNumberOfMachines = default(int?), IList vipMappings = default(IList), IList environmentCapacities = default(IList), IList networkAccessControlList = default(IList), bool? environmentIsHealthy = default(bool?), string environmentStatus = default(string), string resourceGroup = default(string), int? frontEndScaleFactor = default(int?), int? defaultFrontEndScaleFactor = default(int?), string apiManagementAccountId = default(string), bool? suspended = default(bool?), bool? dynamicCacheEnabled = default(bool?), IList clusterSettings = default(IList), IList userWhitelistedIpRanges = default(IList), bool? hasLinuxWorkers = default(bool?), string sslCertKeyVaultId = default(string), string sslCertKeyVaultSecretName = default(string))
: base(location, id, name, kind, type, tags)
{
AppServiceEnvironmentResourceName = appServiceEnvironmentResourceName;
@@ -234,10 +234,10 @@ public AppServiceEnvironmentResource()
///
/// Gets or sets specifies which endpoints to serve internally in the
/// Virtual Network for the App Service Environment. Possible values
- /// include: 'None', 'Web', 'Publishing'
+ /// include: 'None', 'Web', 'Publishing', 'Web,Publishing'
///
[JsonProperty(PropertyName = "properties.internalLoadBalancingMode")]
- public InternalLoadBalancingMode? InternalLoadBalancingMode { get; set; }
+ public string InternalLoadBalancingMode { get; set; }
///
/// Gets or sets front-end VM size, e.g. "Medium", "Large".
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AuthPlatform.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AuthPlatform.cs
new file mode 100644
index 000000000000..fcb76de8feff
--- /dev/null
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AuthPlatform.cs
@@ -0,0 +1,66 @@
+//
+// 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.WebSites.Models
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ [Rest.Serialization.JsonTransformation]
+ public partial class AuthPlatform : ProxyOnlyResource
+ {
+ ///
+ /// Initializes a new instance of the AuthPlatform class.
+ ///
+ public AuthPlatform()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the AuthPlatform class.
+ ///
+ /// Resource Id.
+ /// Resource Name.
+ /// Kind of resource.
+ /// Resource type.
+ public AuthPlatform(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), bool? enabled = default(bool?), string runtimeVersion = default(string), string configFilePath = default(string))
+ : base(id, name, kind, type)
+ {
+ Enabled = enabled;
+ RuntimeVersion = runtimeVersion;
+ ConfigFilePath = configFilePath;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.enabled")]
+ public bool? Enabled { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.runtimeVersion")]
+ public string RuntimeVersion { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.configFilePath")]
+ public string ConfigFilePath { get; set; }
+
+ }
+}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AzureActiveDirectory.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AzureActiveDirectory.cs
new file mode 100644
index 000000000000..1adab0d29484
--- /dev/null
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AzureActiveDirectory.cs
@@ -0,0 +1,78 @@
+//
+// 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.WebSites.Models
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ [Rest.Serialization.JsonTransformation]
+ public partial class AzureActiveDirectory : ProxyOnlyResource
+ {
+ ///
+ /// Initializes a new instance of the AzureActiveDirectory class.
+ ///
+ public AzureActiveDirectory()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the AzureActiveDirectory class.
+ ///
+ /// Resource Id.
+ /// Resource Name.
+ /// Kind of resource.
+ /// Resource type.
+ public AzureActiveDirectory(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), bool? enabled = default(bool?), AzureActiveDirectoryRegistration registration = default(AzureActiveDirectoryRegistration), AzureActiveDirectoryLogin login = default(AzureActiveDirectoryLogin), AzureActiveDirectoryValidation validation = default(AzureActiveDirectoryValidation), bool? isAutoProvisioned = default(bool?))
+ : base(id, name, kind, type)
+ {
+ Enabled = enabled;
+ Registration = registration;
+ Login = login;
+ Validation = validation;
+ IsAutoProvisioned = isAutoProvisioned;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.enabled")]
+ public bool? Enabled { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.registration")]
+ public AzureActiveDirectoryRegistration Registration { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.login")]
+ public AzureActiveDirectoryLogin Login { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.validation")]
+ public AzureActiveDirectoryValidation Validation { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.isAutoProvisioned")]
+ public bool? IsAutoProvisioned { get; set; }
+
+ }
+}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AzureActiveDirectoryLogin.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AzureActiveDirectoryLogin.cs
new file mode 100644
index 000000000000..108a38b756cf
--- /dev/null
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AzureActiveDirectoryLogin.cs
@@ -0,0 +1,62 @@
+//
+// 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.WebSites.Models
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+
+ [Rest.Serialization.JsonTransformation]
+ public partial class AzureActiveDirectoryLogin : ProxyOnlyResource
+ {
+ ///
+ /// Initializes a new instance of the AzureActiveDirectoryLogin class.
+ ///
+ public AzureActiveDirectoryLogin()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the AzureActiveDirectoryLogin class.
+ ///
+ /// Resource Id.
+ /// Resource Name.
+ /// Kind of resource.
+ /// Resource type.
+ public AzureActiveDirectoryLogin(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), bool? disableWWWAuthenticate = default(bool?), IList loginParameters = default(IList))
+ : base(id, name, kind, type)
+ {
+ DisableWWWAuthenticate = disableWWWAuthenticate;
+ LoginParameters = loginParameters;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.disableWWWAuthenticate")]
+ public bool? DisableWWWAuthenticate { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.loginParameters")]
+ public IList LoginParameters { get; set; }
+
+ }
+}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AzureActiveDirectoryRegistration.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AzureActiveDirectoryRegistration.cs
new file mode 100644
index 000000000000..28c6a7986420
--- /dev/null
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AzureActiveDirectoryRegistration.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.WebSites.Models
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ [Rest.Serialization.JsonTransformation]
+ public partial class AzureActiveDirectoryRegistration : ProxyOnlyResource
+ {
+ ///
+ /// Initializes a new instance of the AzureActiveDirectoryRegistration
+ /// class.
+ ///
+ public AzureActiveDirectoryRegistration()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the AzureActiveDirectoryRegistration
+ /// class.
+ ///
+ /// Resource Id.
+ /// Resource Name.
+ /// Kind of resource.
+ /// Resource type.
+ public AzureActiveDirectoryRegistration(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string openIdIssuer = default(string), string clientId = default(string), string clientSecretSettingName = default(string), string clientSecretCertificateThumbprint = default(string))
+ : base(id, name, kind, type)
+ {
+ OpenIdIssuer = openIdIssuer;
+ ClientId = clientId;
+ ClientSecretSettingName = clientSecretSettingName;
+ ClientSecretCertificateThumbprint = clientSecretCertificateThumbprint;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.openIdIssuer")]
+ public string OpenIdIssuer { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.clientId")]
+ public string ClientId { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.clientSecretSettingName")]
+ public string ClientSecretSettingName { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.clientSecretCertificateThumbprint")]
+ public string ClientSecretCertificateThumbprint { get; set; }
+
+ }
+}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AzureActiveDirectoryValidation.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AzureActiveDirectoryValidation.cs
new file mode 100644
index 000000000000..4122b36d7f76
--- /dev/null
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AzureActiveDirectoryValidation.cs
@@ -0,0 +1,64 @@
+//
+// 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.WebSites.Models
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+
+ [Rest.Serialization.JsonTransformation]
+ public partial class AzureActiveDirectoryValidation : ProxyOnlyResource
+ {
+ ///
+ /// Initializes a new instance of the AzureActiveDirectoryValidation
+ /// class.
+ ///
+ public AzureActiveDirectoryValidation()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the AzureActiveDirectoryValidation
+ /// class.
+ ///
+ /// Resource Id.
+ /// Resource Name.
+ /// Kind of resource.
+ /// Resource type.
+ public AzureActiveDirectoryValidation(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), JwtClaimChecks jwtClaimChecks = default(JwtClaimChecks), IList allowedAudiences = default(IList))
+ : base(id, name, kind, type)
+ {
+ JwtClaimChecks = jwtClaimChecks;
+ AllowedAudiences = allowedAudiences;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.jwtClaimChecks")]
+ public JwtClaimChecks JwtClaimChecks { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.allowedAudiences")]
+ public IList AllowedAudiences { get; set; }
+
+ }
+}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/BlobStorageTokenStore.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/BlobStorageTokenStore.cs
new file mode 100644
index 000000000000..477633b938cb
--- /dev/null
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/BlobStorageTokenStore.cs
@@ -0,0 +1,54 @@
+//
+// 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.WebSites.Models
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ [Rest.Serialization.JsonTransformation]
+ public partial class BlobStorageTokenStore : ProxyOnlyResource
+ {
+ ///
+ /// Initializes a new instance of the BlobStorageTokenStore class.
+ ///
+ public BlobStorageTokenStore()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the BlobStorageTokenStore class.
+ ///
+ /// Resource Id.
+ /// Resource Name.
+ /// Kind of resource.
+ /// Resource type.
+ public BlobStorageTokenStore(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string sasUrlSettingName = default(string))
+ : base(id, name, kind, type)
+ {
+ SasUrlSettingName = sasUrlSettingName;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.sasUrlSettingName")]
+ public string SasUrlSettingName { get; set; }
+
+ }
+}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/BuiltInAuthenticationProvider.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/BuiltInAuthenticationProvider.cs
index 1d07cbd9e233..7c1d8d8ded9a 100644
--- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/BuiltInAuthenticationProvider.cs
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/BuiltInAuthenticationProvider.cs
@@ -30,7 +30,9 @@ public enum BuiltInAuthenticationProvider
[EnumMember(Value = "MicrosoftAccount")]
MicrosoftAccount,
[EnumMember(Value = "Twitter")]
- Twitter
+ Twitter,
+ [EnumMember(Value = "Github")]
+ Github
}
internal static class BuiltInAuthenticationProviderEnumExtension
{
@@ -53,6 +55,8 @@ internal static string ToSerializedValue(this BuiltInAuthenticationProvider valu
return "MicrosoftAccount";
case BuiltInAuthenticationProvider.Twitter:
return "Twitter";
+ case BuiltInAuthenticationProvider.Github:
+ return "Github";
}
return null;
}
@@ -71,6 +75,8 @@ internal static string ToSerializedValue(this BuiltInAuthenticationProvider valu
return BuiltInAuthenticationProvider.MicrosoftAccount;
case "Twitter":
return BuiltInAuthenticationProvider.Twitter;
+ case "Github":
+ return BuiltInAuthenticationProvider.Github;
}
return null;
}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ClientCertMode.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ClientCertMode.cs
new file mode 100644
index 000000000000..422855315598
--- /dev/null
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ClientCertMode.cs
@@ -0,0 +1,60 @@
+//
+// 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.WebSites.Models
+{
+ using Newtonsoft.Json;
+ using Newtonsoft.Json.Converters;
+ using System.Runtime;
+ using System.Runtime.Serialization;
+
+ ///
+ /// Defines values for ClientCertMode.
+ ///
+ [JsonConverter(typeof(StringEnumConverter))]
+ public enum ClientCertMode
+ {
+ [EnumMember(Value = "Required")]
+ Required,
+ [EnumMember(Value = "Optional")]
+ Optional
+ }
+ internal static class ClientCertModeEnumExtension
+ {
+ internal static string ToSerializedValue(this ClientCertMode? value)
+ {
+ return value == null ? null : ((ClientCertMode)value).ToSerializedValue();
+ }
+
+ internal static string ToSerializedValue(this ClientCertMode value)
+ {
+ switch( value )
+ {
+ case ClientCertMode.Required:
+ return "Required";
+ case ClientCertMode.Optional:
+ return "Optional";
+ }
+ return null;
+ }
+
+ internal static ClientCertMode? ParseClientCertMode(this string value)
+ {
+ switch( value )
+ {
+ case "Required":
+ return ClientCertMode.Required;
+ case "Optional":
+ return ClientCertMode.Optional;
+ }
+ return null;
+ }
+ }
+}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ConfigReferenceSource.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ClientCredentialMethod.cs
similarity index 52%
rename from sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ConfigReferenceSource.cs
rename to sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ClientCredentialMethod.cs
index 621c4362c717..618a5d494cb5 100644
--- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ConfigReferenceSource.cs
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ClientCredentialMethod.cs
@@ -16,37 +16,37 @@ namespace Microsoft.Azure.Management.WebSites.Models
using System.Runtime.Serialization;
///
- /// Defines values for ConfigReferenceSource.
+ /// Defines values for ClientCredentialMethod.
///
[JsonConverter(typeof(StringEnumConverter))]
- public enum ConfigReferenceSource
+ public enum ClientCredentialMethod
{
- [EnumMember(Value = "KeyVault")]
- KeyVault
+ [EnumMember(Value = "ClientSecretPost")]
+ ClientSecretPost
}
- internal static class ConfigReferenceSourceEnumExtension
+ internal static class ClientCredentialMethodEnumExtension
{
- internal static string ToSerializedValue(this ConfigReferenceSource? value)
+ internal static string ToSerializedValue(this ClientCredentialMethod? value)
{
- return value == null ? null : ((ConfigReferenceSource)value).ToSerializedValue();
+ return value == null ? null : ((ClientCredentialMethod)value).ToSerializedValue();
}
- internal static string ToSerializedValue(this ConfigReferenceSource value)
+ internal static string ToSerializedValue(this ClientCredentialMethod value)
{
switch( value )
{
- case ConfigReferenceSource.KeyVault:
- return "KeyVault";
+ case ClientCredentialMethod.ClientSecretPost:
+ return "ClientSecretPost";
}
return null;
}
- internal static ConfigReferenceSource? ParseConfigReferenceSource(this string value)
+ internal static ClientCredentialMethod? ParseClientCredentialMethod(this string value)
{
switch( value )
{
- case "KeyVault":
- return ConfigReferenceSource.KeyVault;
+ case "ClientSecretPost":
+ return ClientCredentialMethod.ClientSecretPost;
}
return null;
}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ClientRegistration.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ClientRegistration.cs
new file mode 100644
index 000000000000..516e1eda692c
--- /dev/null
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ClientRegistration.cs
@@ -0,0 +1,60 @@
+//
+// 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.WebSites.Models
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ [Rest.Serialization.JsonTransformation]
+ public partial class ClientRegistration : ProxyOnlyResource
+ {
+ ///
+ /// Initializes a new instance of the ClientRegistration class.
+ ///
+ public ClientRegistration()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the ClientRegistration class.
+ ///
+ /// Resource Id.
+ /// Resource Name.
+ /// Kind of resource.
+ /// Resource type.
+ public ClientRegistration(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string clientId = default(string), string clientSecretSettingName = default(string))
+ : base(id, name, kind, type)
+ {
+ ClientId = clientId;
+ ClientSecretSettingName = clientSecretSettingName;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.clientId")]
+ public string ClientId { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.clientSecretSettingName")]
+ public string ClientSecretSettingName { get; set; }
+
+ }
+}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ConfigReferenceLocation.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ConfigReferenceLocation.cs
deleted file mode 100644
index 74a43ab877e6..000000000000
--- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ConfigReferenceLocation.cs
+++ /dev/null
@@ -1,54 +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.WebSites.Models
-{
- using Newtonsoft.Json;
- using Newtonsoft.Json.Converters;
- using System.Runtime;
- using System.Runtime.Serialization;
-
- ///
- /// Defines values for ConfigReferenceLocation.
- ///
- [JsonConverter(typeof(StringEnumConverter))]
- public enum ConfigReferenceLocation
- {
- [EnumMember(Value = "ApplicationSetting")]
- ApplicationSetting
- }
- internal static class ConfigReferenceLocationEnumExtension
- {
- internal static string ToSerializedValue(this ConfigReferenceLocation? value)
- {
- return value == null ? null : ((ConfigReferenceLocation)value).ToSerializedValue();
- }
-
- internal static string ToSerializedValue(this ConfigReferenceLocation value)
- {
- switch( value )
- {
- case ConfigReferenceLocation.ApplicationSetting:
- return "ApplicationSetting";
- }
- return null;
- }
-
- internal static ConfigReferenceLocation? ParseConfigReferenceLocation(this string value)
- {
- switch( value )
- {
- case "ApplicationSetting":
- return ConfigReferenceLocation.ApplicationSetting;
- }
- return null;
- }
- }
-}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CookieExpiration.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CookieExpiration.cs
new file mode 100644
index 000000000000..2bad787f8310
--- /dev/null
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CookieExpiration.cs
@@ -0,0 +1,64 @@
+//
+// 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.WebSites.Models
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ [Rest.Serialization.JsonTransformation]
+ public partial class CookieExpiration : ProxyOnlyResource
+ {
+ ///
+ /// Initializes a new instance of the CookieExpiration class.
+ ///
+ public CookieExpiration()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the CookieExpiration class.
+ ///
+ /// Resource Id.
+ /// Resource Name.
+ /// Kind of resource.
+ /// Resource type.
+ /// Possible values include: 'FixedTime',
+ /// 'IdentityProviderDerived'
+ public CookieExpiration(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), CookieExpirationConvention? convention = default(CookieExpirationConvention?), string timeToExpiration = default(string))
+ : base(id, name, kind, type)
+ {
+ Convention = convention;
+ TimeToExpiration = timeToExpiration;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets possible values include: 'FixedTime',
+ /// 'IdentityProviderDerived'
+ ///
+ [JsonProperty(PropertyName = "properties.convention")]
+ public CookieExpirationConvention? Convention { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.timeToExpiration")]
+ public string TimeToExpiration { get; set; }
+
+ }
+}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CookieExpirationConvention.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CookieExpirationConvention.cs
new file mode 100644
index 000000000000..f70cd921b20d
--- /dev/null
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CookieExpirationConvention.cs
@@ -0,0 +1,60 @@
+//
+// 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.WebSites.Models
+{
+ using Newtonsoft.Json;
+ using Newtonsoft.Json.Converters;
+ using System.Runtime;
+ using System.Runtime.Serialization;
+
+ ///
+ /// Defines values for CookieExpirationConvention.
+ ///
+ [JsonConverter(typeof(StringEnumConverter))]
+ public enum CookieExpirationConvention
+ {
+ [EnumMember(Value = "FixedTime")]
+ FixedTime,
+ [EnumMember(Value = "IdentityProviderDerived")]
+ IdentityProviderDerived
+ }
+ internal static class CookieExpirationConventionEnumExtension
+ {
+ internal static string ToSerializedValue(this CookieExpirationConvention? value)
+ {
+ return value == null ? null : ((CookieExpirationConvention)value).ToSerializedValue();
+ }
+
+ internal static string ToSerializedValue(this CookieExpirationConvention value)
+ {
+ switch( value )
+ {
+ case CookieExpirationConvention.FixedTime:
+ return "FixedTime";
+ case CookieExpirationConvention.IdentityProviderDerived:
+ return "IdentityProviderDerived";
+ }
+ return null;
+ }
+
+ internal static CookieExpirationConvention? ParseCookieExpirationConvention(this string value)
+ {
+ switch( value )
+ {
+ case "FixedTime":
+ return CookieExpirationConvention.FixedTime;
+ case "IdentityProviderDerived":
+ return CookieExpirationConvention.IdentityProviderDerived;
+ }
+ return null;
+ }
+ }
+}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CustomOpenIdConnectProvider.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CustomOpenIdConnectProvider.cs
new file mode 100644
index 000000000000..c6bcf20e8429
--- /dev/null
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CustomOpenIdConnectProvider.cs
@@ -0,0 +1,68 @@
+//
+// 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.WebSites.Models
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ [Rest.Serialization.JsonTransformation]
+ public partial class CustomOpenIdConnectProvider : ProxyOnlyResource
+ {
+ ///
+ /// Initializes a new instance of the CustomOpenIdConnectProvider
+ /// class.
+ ///
+ public CustomOpenIdConnectProvider()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the CustomOpenIdConnectProvider
+ /// class.
+ ///
+ /// Resource Id.
+ /// Resource Name.
+ /// Kind of resource.
+ /// Resource type.
+ public CustomOpenIdConnectProvider(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), bool? enabled = default(bool?), OpenIdConnectRegistration registration = default(OpenIdConnectRegistration), OpenIdConnectLogin login = default(OpenIdConnectLogin))
+ : base(id, name, kind, type)
+ {
+ Enabled = enabled;
+ Registration = registration;
+ Login = login;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.enabled")]
+ public bool? Enabled { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.registration")]
+ public OpenIdConnectRegistration Registration { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.login")]
+ public OpenIdConnectLogin Login { get; set; }
+
+ }
+}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Facebook.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Facebook.cs
new file mode 100644
index 000000000000..5d66f50d57a6
--- /dev/null
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Facebook.cs
@@ -0,0 +1,72 @@
+//
+// 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.WebSites.Models
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ [Rest.Serialization.JsonTransformation]
+ public partial class Facebook : ProxyOnlyResource
+ {
+ ///
+ /// Initializes a new instance of the Facebook class.
+ ///
+ public Facebook()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the Facebook class.
+ ///
+ /// Resource Id.
+ /// Resource Name.
+ /// Kind of resource.
+ /// Resource type.
+ public Facebook(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), bool? enabled = default(bool?), AppRegistration registration = default(AppRegistration), string graphApiVersion = default(string), LoginScopes login = default(LoginScopes))
+ : base(id, name, kind, type)
+ {
+ Enabled = enabled;
+ Registration = registration;
+ GraphApiVersion = graphApiVersion;
+ Login = login;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.enabled")]
+ public bool? Enabled { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.registration")]
+ public AppRegistration Registration { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.graphApiVersion")]
+ public string GraphApiVersion { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.login")]
+ public LoginScopes Login { get; set; }
+
+ }
+}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/FileSystemTokenStore.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/FileSystemTokenStore.cs
new file mode 100644
index 000000000000..d56ea63988fe
--- /dev/null
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/FileSystemTokenStore.cs
@@ -0,0 +1,54 @@
+//
+// 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.WebSites.Models
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ [Rest.Serialization.JsonTransformation]
+ public partial class FileSystemTokenStore : ProxyOnlyResource
+ {
+ ///
+ /// Initializes a new instance of the FileSystemTokenStore class.
+ ///
+ public FileSystemTokenStore()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the FileSystemTokenStore class.
+ ///
+ /// Resource Id.
+ /// Resource Name.
+ /// Kind of resource.
+ /// Resource type.
+ public FileSystemTokenStore(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string directory = default(string))
+ : base(id, name, kind, type)
+ {
+ Directory = directory;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.directory")]
+ public string Directory { get; set; }
+
+ }
+}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ForwardProxy.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ForwardProxy.cs
new file mode 100644
index 000000000000..239718fe2b4e
--- /dev/null
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ForwardProxy.cs
@@ -0,0 +1,70 @@
+//
+// 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.WebSites.Models
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ [Rest.Serialization.JsonTransformation]
+ public partial class ForwardProxy : ProxyOnlyResource
+ {
+ ///
+ /// Initializes a new instance of the ForwardProxy class.
+ ///
+ public ForwardProxy()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the ForwardProxy class.
+ ///
+ /// Resource Id.
+ /// Resource Name.
+ /// Kind of resource.
+ /// Resource type.
+ /// Possible values include: 'NoProxy',
+ /// 'Standard', 'Custom'
+ public ForwardProxy(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), ForwardProxyConvention? convention = default(ForwardProxyConvention?), string customHostHeaderName = default(string), string customProtoHeaderName = default(string))
+ : base(id, name, kind, type)
+ {
+ Convention = convention;
+ CustomHostHeaderName = customHostHeaderName;
+ CustomProtoHeaderName = customProtoHeaderName;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets possible values include: 'NoProxy', 'Standard',
+ /// 'Custom'
+ ///
+ [JsonProperty(PropertyName = "properties.convention")]
+ public ForwardProxyConvention? Convention { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.customHostHeaderName")]
+ public string CustomHostHeaderName { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.customProtoHeaderName")]
+ public string CustomProtoHeaderName { get; set; }
+
+ }
+}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ForwardProxyConvention.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ForwardProxyConvention.cs
new file mode 100644
index 000000000000..2f44e3cd8e45
--- /dev/null
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ForwardProxyConvention.cs
@@ -0,0 +1,66 @@
+//
+// 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.WebSites.Models
+{
+ using Newtonsoft.Json;
+ using Newtonsoft.Json.Converters;
+ using System.Runtime;
+ using System.Runtime.Serialization;
+
+ ///
+ /// Defines values for ForwardProxyConvention.
+ ///
+ [JsonConverter(typeof(StringEnumConverter))]
+ public enum ForwardProxyConvention
+ {
+ [EnumMember(Value = "NoProxy")]
+ NoProxy,
+ [EnumMember(Value = "Standard")]
+ Standard,
+ [EnumMember(Value = "Custom")]
+ Custom
+ }
+ internal static class ForwardProxyConventionEnumExtension
+ {
+ internal static string ToSerializedValue(this ForwardProxyConvention? value)
+ {
+ return value == null ? null : ((ForwardProxyConvention)value).ToSerializedValue();
+ }
+
+ internal static string ToSerializedValue(this ForwardProxyConvention value)
+ {
+ switch( value )
+ {
+ case ForwardProxyConvention.NoProxy:
+ return "NoProxy";
+ case ForwardProxyConvention.Standard:
+ return "Standard";
+ case ForwardProxyConvention.Custom:
+ return "Custom";
+ }
+ return null;
+ }
+
+ internal static ForwardProxyConvention? ParseForwardProxyConvention(this string value)
+ {
+ switch( value )
+ {
+ case "NoProxy":
+ return ForwardProxyConvention.NoProxy;
+ case "Standard":
+ return ForwardProxyConvention.Standard;
+ case "Custom":
+ return ForwardProxyConvention.Custom;
+ }
+ return null;
+ }
+ }
+}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/FunctionSecrets.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/FunctionSecrets.cs
index b69fa5e41d6e..402dfca0c929 100644
--- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/FunctionSecrets.cs
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/FunctionSecrets.cs
@@ -10,16 +10,13 @@
namespace Microsoft.Azure.Management.WebSites.Models
{
- using Microsoft.Rest;
- using Microsoft.Rest.Serialization;
using Newtonsoft.Json;
using System.Linq;
///
/// Function secrets.
///
- [Rest.Serialization.JsonTransformation]
- public partial class FunctionSecrets : ProxyOnlyResource
+ public partial class FunctionSecrets
{
///
/// Initializes a new instance of the FunctionSecrets class.
@@ -32,14 +29,9 @@ public FunctionSecrets()
///
/// Initializes a new instance of the FunctionSecrets class.
///
- /// Resource Id.
- /// Resource Name.
- /// Kind of resource.
- /// Resource type.
/// Secret key.
/// Trigger URL.
- public FunctionSecrets(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string key = default(string), string triggerUrl = default(string))
- : base(id, name, kind, type)
+ public FunctionSecrets(string key = default(string), string triggerUrl = default(string))
{
Key = key;
TriggerUrl = triggerUrl;
@@ -54,13 +46,13 @@ public FunctionSecrets()
///
/// Gets or sets secret key.
///
- [JsonProperty(PropertyName = "properties.key")]
+ [JsonProperty(PropertyName = "key")]
public string Key { get; set; }
///
/// Gets or sets trigger URL.
///
- [JsonProperty(PropertyName = "properties.trigger_url")]
+ [JsonProperty(PropertyName = "trigger_url")]
public string TriggerUrl { get; set; }
}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/GitHub.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/GitHub.cs
new file mode 100644
index 000000000000..8555c23b8f92
--- /dev/null
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/GitHub.cs
@@ -0,0 +1,66 @@
+//
+// 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.WebSites.Models
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ [Rest.Serialization.JsonTransformation]
+ public partial class GitHub : ProxyOnlyResource
+ {
+ ///
+ /// Initializes a new instance of the GitHub class.
+ ///
+ public GitHub()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the GitHub class.
+ ///
+ /// Resource Id.
+ /// Resource Name.
+ /// Kind of resource.
+ /// Resource type.
+ public GitHub(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), bool? enabled = default(bool?), ClientRegistration registration = default(ClientRegistration), LoginScopes login = default(LoginScopes))
+ : base(id, name, kind, type)
+ {
+ Enabled = enabled;
+ Registration = registration;
+ Login = login;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.enabled")]
+ public bool? Enabled { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.registration")]
+ public ClientRegistration Registration { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.login")]
+ public LoginScopes Login { get; set; }
+
+ }
+}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/GlobalValidation.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/GlobalValidation.cs
new file mode 100644
index 000000000000..6e668cba711c
--- /dev/null
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/GlobalValidation.cs
@@ -0,0 +1,79 @@
+//
+// 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.WebSites.Models
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+
+ [Rest.Serialization.JsonTransformation]
+ public partial class GlobalValidation : ProxyOnlyResource
+ {
+ ///
+ /// Initializes a new instance of the GlobalValidation class.
+ ///
+ public GlobalValidation()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the GlobalValidation class.
+ ///
+ /// Resource Id.
+ /// Resource Name.
+ /// Kind of resource.
+ /// Resource type.
+ /// Possible values include:
+ /// 'RedirectToLoginPage', 'AllowAnonymous', 'Return401',
+ /// 'Return403'
+ public GlobalValidation(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), bool? requireAuthentication = default(bool?), UnauthenticatedClientActionV2? unauthenticatedClientAction = default(UnauthenticatedClientActionV2?), string redirectToProvider = default(string), IList excludedPaths = default(IList))
+ : base(id, name, kind, type)
+ {
+ RequireAuthentication = requireAuthentication;
+ UnauthenticatedClientAction = unauthenticatedClientAction;
+ RedirectToProvider = redirectToProvider;
+ ExcludedPaths = excludedPaths;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.requireAuthentication")]
+ public bool? RequireAuthentication { get; set; }
+
+ ///
+ /// Gets or sets possible values include: 'RedirectToLoginPage',
+ /// 'AllowAnonymous', 'Return401', 'Return403'
+ ///
+ [JsonProperty(PropertyName = "properties.unauthenticatedClientAction")]
+ public UnauthenticatedClientActionV2? UnauthenticatedClientAction { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.redirectToProvider")]
+ public string RedirectToProvider { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.excludedPaths")]
+ public IList ExcludedPaths { get; set; }
+
+ }
+}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Google.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Google.cs
new file mode 100644
index 000000000000..26af1e210ab7
--- /dev/null
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Google.cs
@@ -0,0 +1,72 @@
+//
+// 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.WebSites.Models
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ [Rest.Serialization.JsonTransformation]
+ public partial class Google : ProxyOnlyResource
+ {
+ ///
+ /// Initializes a new instance of the Google class.
+ ///
+ public Google()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the Google class.
+ ///
+ /// Resource Id.
+ /// Resource Name.
+ /// Kind of resource.
+ /// Resource type.
+ public Google(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), bool? enabled = default(bool?), ClientRegistration registration = default(ClientRegistration), LoginScopes login = default(LoginScopes), AllowedAudiencesValidation validation = default(AllowedAudiencesValidation))
+ : base(id, name, kind, type)
+ {
+ Enabled = enabled;
+ Registration = registration;
+ Login = login;
+ Validation = validation;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.enabled")]
+ public bool? Enabled { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.registration")]
+ public ClientRegistration Registration { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.login")]
+ public LoginScopes Login { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.validation")]
+ public AllowedAudiencesValidation Validation { get; set; }
+
+ }
+}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/HttpSettings.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/HttpSettings.cs
new file mode 100644
index 000000000000..b5090a80f932
--- /dev/null
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/HttpSettings.cs
@@ -0,0 +1,66 @@
+//
+// 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.WebSites.Models
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ [Rest.Serialization.JsonTransformation]
+ public partial class HttpSettings : ProxyOnlyResource
+ {
+ ///
+ /// Initializes a new instance of the HttpSettings class.
+ ///
+ public HttpSettings()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the HttpSettings class.
+ ///
+ /// Resource Id.
+ /// Resource Name.
+ /// Kind of resource.
+ /// Resource type.
+ public HttpSettings(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), bool? requireHttps = default(bool?), HttpSettingsRoutes routes = default(HttpSettingsRoutes), ForwardProxy forwardProxy = default(ForwardProxy))
+ : base(id, name, kind, type)
+ {
+ RequireHttps = requireHttps;
+ Routes = routes;
+ ForwardProxy = forwardProxy;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.requireHttps")]
+ public bool? RequireHttps { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.routes")]
+ public HttpSettingsRoutes Routes { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.forwardProxy")]
+ public ForwardProxy ForwardProxy { get; set; }
+
+ }
+}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/HttpSettingsRoutes.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/HttpSettingsRoutes.cs
new file mode 100644
index 000000000000..1c71deecd7f2
--- /dev/null
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/HttpSettingsRoutes.cs
@@ -0,0 +1,54 @@
+//
+// 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.WebSites.Models
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ [Rest.Serialization.JsonTransformation]
+ public partial class HttpSettingsRoutes : ProxyOnlyResource
+ {
+ ///
+ /// Initializes a new instance of the HttpSettingsRoutes class.
+ ///
+ public HttpSettingsRoutes()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the HttpSettingsRoutes class.
+ ///
+ /// Resource Id.
+ /// Resource Name.
+ /// Kind of resource.
+ /// Resource type.
+ public HttpSettingsRoutes(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string apiPrefix = default(string))
+ : base(id, name, kind, type)
+ {
+ ApiPrefix = apiPrefix;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.apiPrefix")]
+ public string ApiPrefix { get; set; }
+
+ }
+}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/IdentityProviders.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/IdentityProviders.cs
new file mode 100644
index 000000000000..25b7f98e559f
--- /dev/null
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/IdentityProviders.cs
@@ -0,0 +1,86 @@
+//
+// 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.WebSites.Models
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+
+ [Rest.Serialization.JsonTransformation]
+ public partial class IdentityProviders : ProxyOnlyResource
+ {
+ ///
+ /// Initializes a new instance of the IdentityProviders class.
+ ///
+ public IdentityProviders()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the IdentityProviders class.
+ ///
+ /// Resource Id.
+ /// Resource Name.
+ /// Kind of resource.
+ /// Resource type.
+ public IdentityProviders(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), AzureActiveDirectory azureActiveDirectory = default(AzureActiveDirectory), Facebook facebook = default(Facebook), GitHub gitHub = default(GitHub), Google google = default(Google), Twitter twitter = default(Twitter), IDictionary customOpenIdConnectProviders = default(IDictionary))
+ : base(id, name, kind, type)
+ {
+ AzureActiveDirectory = azureActiveDirectory;
+ Facebook = facebook;
+ GitHub = gitHub;
+ Google = google;
+ Twitter = twitter;
+ CustomOpenIdConnectProviders = customOpenIdConnectProviders;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.azureActiveDirectory")]
+ public AzureActiveDirectory AzureActiveDirectory { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.facebook")]
+ public Facebook Facebook { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.gitHub")]
+ public GitHub GitHub { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.google")]
+ public Google Google { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.twitter")]
+ public Twitter Twitter { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.customOpenIdConnectProviders")]
+ public IDictionary CustomOpenIdConnectProviders { get; set; }
+
+ }
+}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/InternalLoadBalancingMode.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/InternalLoadBalancingMode.cs
deleted file mode 100644
index b77fda43f19a..000000000000
--- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/InternalLoadBalancingMode.cs
+++ /dev/null
@@ -1,66 +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.WebSites.Models
-{
- using Newtonsoft.Json;
- using Newtonsoft.Json.Converters;
- using System.Runtime;
- using System.Runtime.Serialization;
-
- ///
- /// Defines values for InternalLoadBalancingMode.
- ///
- [JsonConverter(typeof(StringEnumConverter))]
- public enum InternalLoadBalancingMode
- {
- [EnumMember(Value = "None")]
- None,
- [EnumMember(Value = "Web")]
- Web,
- [EnumMember(Value = "Publishing")]
- Publishing
- }
- internal static class InternalLoadBalancingModeEnumExtension
- {
- internal static string ToSerializedValue(this InternalLoadBalancingMode? value)
- {
- return value == null ? null : ((InternalLoadBalancingMode)value).ToSerializedValue();
- }
-
- internal static string ToSerializedValue(this InternalLoadBalancingMode value)
- {
- switch( value )
- {
- case InternalLoadBalancingMode.None:
- return "None";
- case InternalLoadBalancingMode.Web:
- return "Web";
- case InternalLoadBalancingMode.Publishing:
- return "Publishing";
- }
- return null;
- }
-
- internal static InternalLoadBalancingMode? ParseInternalLoadBalancingMode(this string value)
- {
- switch( value )
- {
- case "None":
- return InternalLoadBalancingMode.None;
- case "Web":
- return InternalLoadBalancingMode.Web;
- case "Publishing":
- return InternalLoadBalancingMode.Publishing;
- }
- return null;
- }
- }
-}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/IpFilterTag.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/IpFilterTag.cs
index 089e130f0846..3b5a6fdf588c 100644
--- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/IpFilterTag.cs
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/IpFilterTag.cs
@@ -10,51 +10,14 @@
namespace Microsoft.Azure.Management.WebSites.Models
{
- using Newtonsoft.Json;
- using Newtonsoft.Json.Converters;
- using System.Runtime;
- using System.Runtime.Serialization;
///
/// Defines values for IpFilterTag.
///
- [JsonConverter(typeof(StringEnumConverter))]
- public enum IpFilterTag
+ public static class IpFilterTag
{
- [EnumMember(Value = "Default")]
- Default,
- [EnumMember(Value = "XffProxy")]
- XffProxy
- }
- internal static class IpFilterTagEnumExtension
- {
- internal static string ToSerializedValue(this IpFilterTag? value)
- {
- return value == null ? null : ((IpFilterTag)value).ToSerializedValue();
- }
-
- internal static string ToSerializedValue(this IpFilterTag value)
- {
- switch( value )
- {
- case IpFilterTag.Default:
- return "Default";
- case IpFilterTag.XffProxy:
- return "XffProxy";
- }
- return null;
- }
-
- internal static IpFilterTag? ParseIpFilterTag(this string value)
- {
- switch( value )
- {
- case "Default":
- return IpFilterTag.Default;
- case "XffProxy":
- return IpFilterTag.XffProxy;
- }
- return null;
- }
+ public const string Default = "Default";
+ public const string XffProxy = "XffProxy";
+ public const string ServiceTag = "ServiceTag";
}
}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/IpSecurityRestriction.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/IpSecurityRestriction.cs
index 9d2010a37c16..7dee1a54d39a 100644
--- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/IpSecurityRestriction.cs
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/IpSecurityRestriction.cs
@@ -11,6 +11,8 @@
namespace Microsoft.Azure.Management.WebSites.Models
{
using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
using System.Linq;
///
@@ -46,11 +48,37 @@ public IpSecurityRestriction()
/// range.
/// Defines what this IP filter will be used for.
/// This is to support IP filtering on proxies. Possible values
- /// include: 'Default', 'XffProxy'
+ /// include: 'Default', 'XffProxy', 'ServiceTag'
/// Priority of IP restriction rule.
/// IP restriction rule name.
/// IP restriction rule description.
- public IpSecurityRestriction(string ipAddress = default(string), string subnetMask = default(string), string vnetSubnetResourceId = default(string), int? vnetTrafficTag = default(int?), int? subnetTrafficTag = default(int?), string action = default(string), IpFilterTag? tag = default(IpFilterTag?), int? priority = default(int?), string name = default(string), string description = default(string))
+ /// IP restriction rule headers.
+ /// X-Forwarded-Host
+ /// (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host#Examples).
+ /// The matching logic is ..
+ /// - If the property is null or empty (default), all hosts(or lack of)
+ /// are allowed.
+ /// - A value is compared using ordinal-ignore-case (excluding port
+ /// number).
+ /// - Subdomain wildcards are permitted but don't match the root
+ /// domain. For example, *.contoso.com matches the subdomain
+ /// foo.contoso.com
+ /// but not the root domain contoso.com or multi-level
+ /// foo.bar.contoso.com
+ /// - Unicode host names are allowed but are converted to Punycode for
+ /// matching.
+ ///
+ /// X-Forwarded-For
+ /// (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For#Examples).
+ /// The matching logic is ..
+ /// - If the property is null or empty (default), any forwarded-for
+ /// chains (or lack of) are allowed.
+ /// - If any address (excluding port number) in the chain (comma
+ /// separated) matches the CIDR defined by the property.
+ ///
+ /// X-Azure-FDID and X-FD-HealthProbe.
+ /// The matching logic is exact match.
+ public IpSecurityRestriction(string ipAddress = default(string), string subnetMask = default(string), string vnetSubnetResourceId = default(string), int? vnetTrafficTag = default(int?), int? subnetTrafficTag = default(int?), string action = default(string), string tag = default(string), int? priority = default(int?), string name = default(string), string description = default(string), IDictionary> headers = default(IDictionary>))
{
IpAddress = ipAddress;
SubnetMask = subnetMask;
@@ -62,6 +90,7 @@ public IpSecurityRestriction()
Priority = priority;
Name = name;
Description = description;
+ Headers = headers;
CustomInit();
}
@@ -114,10 +143,10 @@ public IpSecurityRestriction()
///
/// Gets or sets defines what this IP filter will be used for. This is
/// to support IP filtering on proxies. Possible values include:
- /// 'Default', 'XffProxy'
+ /// 'Default', 'XffProxy', 'ServiceTag'
///
[JsonProperty(PropertyName = "tag")]
- public IpFilterTag? Tag { get; set; }
+ public string Tag { get; set; }
///
/// Gets or sets priority of IP restriction rule.
@@ -137,5 +166,36 @@ public IpSecurityRestriction()
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
+ ///
+ /// Gets or sets IP restriction rule headers.
+ /// X-Forwarded-Host
+ /// (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host#Examples).
+ /// The matching logic is ..
+ /// - If the property is null or empty (default), all hosts(or lack of)
+ /// are allowed.
+ /// - A value is compared using ordinal-ignore-case (excluding port
+ /// number).
+ /// - Subdomain wildcards are permitted but don't match the root
+ /// domain. For example, *.contoso.com matches the subdomain
+ /// foo.contoso.com
+ /// but not the root domain contoso.com or multi-level
+ /// foo.bar.contoso.com
+ /// - Unicode host names are allowed but are converted to Punycode for
+ /// matching.
+ ///
+ /// X-Forwarded-For
+ /// (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For#Examples).
+ /// The matching logic is ..
+ /// - If the property is null or empty (default), any forwarded-for
+ /// chains (or lack of) are allowed.
+ /// - If any address (excluding port number) in the chain (comma
+ /// separated) matches the CIDR defined by the property.
+ ///
+ /// X-Azure-FDID and X-FD-HealthProbe.
+ /// The matching logic is exact match.
+ ///
+ [JsonProperty(PropertyName = "headers")]
+ public IDictionary> Headers { get; set; }
+
}
}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/JwtClaimChecks.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/JwtClaimChecks.cs
new file mode 100644
index 000000000000..b6ac7bf567d9
--- /dev/null
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/JwtClaimChecks.cs
@@ -0,0 +1,62 @@
+//
+// 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.WebSites.Models
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+
+ [Rest.Serialization.JsonTransformation]
+ public partial class JwtClaimChecks : ProxyOnlyResource
+ {
+ ///
+ /// Initializes a new instance of the JwtClaimChecks class.
+ ///
+ public JwtClaimChecks()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the JwtClaimChecks class.
+ ///
+ /// Resource Id.
+ /// Resource Name.
+ /// Kind of resource.
+ /// Resource type.
+ public JwtClaimChecks(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), IList allowedGroups = default(IList), IList allowedClientApplications = default(IList))
+ : base(id, name, kind, type)
+ {
+ AllowedGroups = allowedGroups;
+ AllowedClientApplications = allowedClientApplications;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.allowedGroups")]
+ public IList AllowedGroups { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.allowedClientApplications")]
+ public IList AllowedClientApplications { get; set; }
+
+ }
+}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/KeyVaultReferenceResource.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/KeyVaultReferenceResource.cs
deleted file mode 100644
index 77369aa724b0..000000000000
--- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/KeyVaultReferenceResource.cs
+++ /dev/null
@@ -1,123 +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.WebSites.Models
-{
- using Microsoft.Rest;
- using Microsoft.Rest.Serialization;
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Web app key vault reference and status ARM resource.
- ///
- [Rest.Serialization.JsonTransformation]
- public partial class KeyVaultReferenceResource : ProxyOnlyResource
- {
- ///
- /// Initializes a new instance of the KeyVaultReferenceResource class.
- ///
- public KeyVaultReferenceResource()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the KeyVaultReferenceResource class.
- ///
- /// Resource Id.
- /// Resource Name.
- /// Kind of resource.
- /// Resource type.
- /// Possible values include: 'Initialized',
- /// 'Resolved', 'InvalidSyntax', 'MSINotEnabled', 'VaultNotFound',
- /// 'SecretNotFound', 'SecretVersionNotFound',
- /// 'AccessToKeyVaultDenied', 'OtherReasons'
- /// Possible values include:
- /// 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned',
- /// 'None'
- /// Possible values include: 'KeyVault'
- /// Possible values include:
- /// 'ApplicationSetting'
- public KeyVaultReferenceResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string reference = default(string), ResolveStatus? status = default(ResolveStatus?), string vaultName = default(string), string secretName = default(string), string secretVersion = default(string), ManagedServiceIdentityType? identityType = default(ManagedServiceIdentityType?), string details = default(string), ConfigReferenceSource? source = default(ConfigReferenceSource?), ConfigReferenceLocation? location = default(ConfigReferenceLocation?))
- : base(id, name, kind, type)
- {
- Reference = reference;
- Status = status;
- VaultName = vaultName;
- SecretName = secretName;
- SecretVersion = secretVersion;
- IdentityType = identityType;
- Details = details;
- Source = source;
- Location = location;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- ///
- [JsonProperty(PropertyName = "properties.reference")]
- public string Reference { get; set; }
-
- ///
- /// Gets or sets possible values include: 'Initialized', 'Resolved',
- /// 'InvalidSyntax', 'MSINotEnabled', 'VaultNotFound',
- /// 'SecretNotFound', 'SecretVersionNotFound',
- /// 'AccessToKeyVaultDenied', 'OtherReasons'
- ///
- [JsonProperty(PropertyName = "properties.status")]
- public ResolveStatus? Status { get; set; }
-
- ///
- ///
- [JsonProperty(PropertyName = "properties.vaultName")]
- public string VaultName { get; set; }
-
- ///
- ///
- [JsonProperty(PropertyName = "properties.secretName")]
- public string SecretName { get; set; }
-
- ///
- ///
- [JsonProperty(PropertyName = "properties.secretVersion")]
- public string SecretVersion { get; set; }
-
- ///
- /// Gets or sets possible values include: 'SystemAssigned',
- /// 'UserAssigned', 'SystemAssigned, UserAssigned', 'None'
- ///
- [JsonProperty(PropertyName = "properties.identityType")]
- public ManagedServiceIdentityType? IdentityType { get; set; }
-
- ///
- ///
- [JsonProperty(PropertyName = "properties.details")]
- public string Details { get; set; }
-
- ///
- /// Gets or sets possible values include: 'KeyVault'
- ///
- [JsonProperty(PropertyName = "properties.source")]
- public ConfigReferenceSource? Source { get; set; }
-
- ///
- /// Gets or sets possible values include: 'ApplicationSetting'
- ///
- [JsonProperty(PropertyName = "properties.location")]
- public ConfigReferenceLocation? Location { get; set; }
-
- }
-}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/LoadBalancingMode.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/LoadBalancingMode.cs
new file mode 100644
index 000000000000..a4a9f849e4f9
--- /dev/null
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/LoadBalancingMode.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.WebSites.Models
+{
+
+ ///
+ /// Defines values for LoadBalancingMode.
+ ///
+ public static class LoadBalancingMode
+ {
+ public const string None = "None";
+ public const string Web = "Web";
+ public const string Publishing = "Publishing";
+ public const string WebPublishing = "Web,Publishing";
+ }
+}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/LogSpecification.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/LogSpecification.cs
index a9ccd383483e..3fe115f18908 100644
--- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/LogSpecification.cs
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/LogSpecification.cs
@@ -29,11 +29,12 @@ public LogSpecification()
///
/// Initializes a new instance of the LogSpecification class.
///
- public LogSpecification(string name = default(string), string displayName = default(string), string blobDuration = default(string))
+ public LogSpecification(string name = default(string), string displayName = default(string), string blobDuration = default(string), string logFilterPattern = default(string))
{
Name = name;
DisplayName = displayName;
BlobDuration = blobDuration;
+ LogFilterPattern = logFilterPattern;
CustomInit();
}
@@ -57,5 +58,10 @@ public LogSpecification()
[JsonProperty(PropertyName = "blobDuration")]
public string BlobDuration { get; set; }
+ ///
+ ///
+ [JsonProperty(PropertyName = "logFilterPattern")]
+ public string LogFilterPattern { get; set; }
+
}
}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Login.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Login.cs
new file mode 100644
index 000000000000..d14e1bc90117
--- /dev/null
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Login.cs
@@ -0,0 +1,86 @@
+//
+// 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.WebSites.Models
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+
+ [Rest.Serialization.JsonTransformation]
+ public partial class Login : ProxyOnlyResource
+ {
+ ///
+ /// Initializes a new instance of the Login class.
+ ///
+ public Login()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the Login class.
+ ///
+ /// Resource Id.
+ /// Resource Name.
+ /// Kind of resource.
+ /// Resource type.
+ public Login(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), LoginRoutes routes = default(LoginRoutes), TokenStore tokenStore = default(TokenStore), bool? preserveUrlFragmentsForLogins = default(bool?), IList allowedExternalRedirectUrls = default(IList), CookieExpiration cookieExpiration = default(CookieExpiration), Nonce nonce = default(Nonce))
+ : base(id, name, kind, type)
+ {
+ Routes = routes;
+ TokenStore = tokenStore;
+ PreserveUrlFragmentsForLogins = preserveUrlFragmentsForLogins;
+ AllowedExternalRedirectUrls = allowedExternalRedirectUrls;
+ CookieExpiration = cookieExpiration;
+ Nonce = nonce;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.routes")]
+ public LoginRoutes Routes { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.tokenStore")]
+ public TokenStore TokenStore { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.preserveUrlFragmentsForLogins")]
+ public bool? PreserveUrlFragmentsForLogins { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.allowedExternalRedirectUrls")]
+ public IList AllowedExternalRedirectUrls { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.cookieExpiration")]
+ public CookieExpiration CookieExpiration { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.nonce")]
+ public Nonce Nonce { get; set; }
+
+ }
+}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SiteInstance.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/LoginRoutes.cs
similarity index 62%
rename from sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SiteInstance.cs
rename to sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/LoginRoutes.cs
index d35fb267559d..9b31fe5653bb 100644
--- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SiteInstance.cs
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/LoginRoutes.cs
@@ -15,32 +15,28 @@ namespace Microsoft.Azure.Management.WebSites.Models
using Newtonsoft.Json;
using System.Linq;
- ///
- /// Instance of an app.
- ///
[Rest.Serialization.JsonTransformation]
- public partial class SiteInstance : ProxyOnlyResource
+ public partial class LoginRoutes : ProxyOnlyResource
{
///
- /// Initializes a new instance of the SiteInstance class.
+ /// Initializes a new instance of the LoginRoutes class.
///
- public SiteInstance()
+ public LoginRoutes()
{
CustomInit();
}
///
- /// Initializes a new instance of the SiteInstance class.
+ /// Initializes a new instance of the LoginRoutes class.
///
/// Resource Id.
/// Resource Name.
/// Kind of resource.
/// Resource type.
- /// Name of instance.
- public SiteInstance(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string siteInstanceName = default(string))
+ public LoginRoutes(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string logoutEndpoint = default(string))
: base(id, name, kind, type)
{
- SiteInstanceName = siteInstanceName;
+ LogoutEndpoint = logoutEndpoint;
CustomInit();
}
@@ -50,10 +46,9 @@ public SiteInstance()
partial void CustomInit();
///
- /// Gets name of instance.
///
- [JsonProperty(PropertyName = "properties.siteInstanceName")]
- public string SiteInstanceName { get; private set; }
+ [JsonProperty(PropertyName = "properties.logoutEndpoint")]
+ public string LogoutEndpoint { get; set; }
}
}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/LoginScopes.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/LoginScopes.cs
new file mode 100644
index 000000000000..ec2430e910eb
--- /dev/null
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/LoginScopes.cs
@@ -0,0 +1,56 @@
+//
+// 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.WebSites.Models
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+
+ [Rest.Serialization.JsonTransformation]
+ public partial class LoginScopes : ProxyOnlyResource
+ {
+ ///
+ /// Initializes a new instance of the LoginScopes class.
+ ///
+ public LoginScopes()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the LoginScopes class.
+ ///
+ /// Resource Id.
+ /// Resource Name.
+ /// Kind of resource.
+ /// Resource type.
+ public LoginScopes(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), IList scopes = default(IList))
+ : base(id, name, kind, type)
+ {
+ Scopes = scopes;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.scopes")]
+ public IList Scopes { get; set; }
+
+ }
+}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/MetricSpecification.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/MetricSpecification.cs
index 550a63993cb2..38a0c42b3359 100644
--- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/MetricSpecification.cs
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/MetricSpecification.cs
@@ -31,7 +31,7 @@ public MetricSpecification()
///
/// Initializes a new instance of the MetricSpecification class.
///
- public MetricSpecification(string name = default(string), string displayName = default(string), string displayDescription = default(string), string unit = default(string), string aggregationType = default(string), bool? supportsInstanceLevelAggregation = default(bool?), bool? enableRegionalMdmAccount = default(bool?), string sourceMdmAccount = default(string), string sourceMdmNamespace = default(string), string metricFilterPattern = default(string), bool? fillGapWithZero = default(bool?), bool? isInternal = default(bool?), IList dimensions = default(IList), string category = default(string), IList availabilities = default(IList), IList supportedTimeGrainTypes = default(IList))
+ public MetricSpecification(string name = default(string), string displayName = default(string), string displayDescription = default(string), string unit = default(string), string aggregationType = default(string), bool? supportsInstanceLevelAggregation = default(bool?), bool? enableRegionalMdmAccount = default(bool?), string sourceMdmAccount = default(string), string sourceMdmNamespace = default(string), string metricFilterPattern = default(string), bool? fillGapWithZero = default(bool?), bool? isInternal = default(bool?), IList dimensions = default(IList), string category = default(string), IList availabilities = default(IList), IList supportedTimeGrainTypes = default(IList), IList supportedAggregationTypes = default(IList))
{
Name = name;
DisplayName = displayName;
@@ -49,6 +49,7 @@ public MetricSpecification()
Category = category;
Availabilities = availabilities;
SupportedTimeGrainTypes = supportedTimeGrainTypes;
+ SupportedAggregationTypes = supportedAggregationTypes;
CustomInit();
}
@@ -137,5 +138,10 @@ public MetricSpecification()
[JsonProperty(PropertyName = "supportedTimeGrainTypes")]
public IList SupportedTimeGrainTypes { get; set; }
+ ///
+ ///
+ [JsonProperty(PropertyName = "supportedAggregationTypes")]
+ public IList SupportedAggregationTypes { get; set; }
+
}
}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Nonce.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Nonce.cs
new file mode 100644
index 000000000000..0057825eab8b
--- /dev/null
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Nonce.cs
@@ -0,0 +1,60 @@
+//
+// 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.WebSites.Models
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ [Rest.Serialization.JsonTransformation]
+ public partial class Nonce : ProxyOnlyResource
+ {
+ ///
+ /// Initializes a new instance of the Nonce class.
+ ///
+ public Nonce()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the Nonce class.
+ ///
+ /// Resource Id.
+ /// Resource Name.
+ /// Kind of resource.
+ /// Resource type.
+ public Nonce(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), bool? validateNonce = default(bool?), string nonceExpirationInterval = default(string))
+ : base(id, name, kind, type)
+ {
+ ValidateNonce = validateNonce;
+ NonceExpirationInterval = nonceExpirationInterval;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.validateNonce")]
+ public bool? ValidateNonce { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.nonceExpirationInterval")]
+ public string NonceExpirationInterval { get; set; }
+
+ }
+}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/OpenIdConnectClientCredential.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/OpenIdConnectClientCredential.cs
new file mode 100644
index 000000000000..c0ce182af5cf
--- /dev/null
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/OpenIdConnectClientCredential.cs
@@ -0,0 +1,65 @@
+//
+// 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.WebSites.Models
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ [Rest.Serialization.JsonTransformation]
+ public partial class OpenIdConnectClientCredential : ProxyOnlyResource
+ {
+ ///
+ /// Initializes a new instance of the OpenIdConnectClientCredential
+ /// class.
+ ///
+ public OpenIdConnectClientCredential()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the OpenIdConnectClientCredential
+ /// class.
+ ///
+ /// Resource Id.
+ /// Resource Name.
+ /// Kind of resource.
+ /// Resource type.
+ /// Possible values include:
+ /// 'ClientSecretPost'
+ public OpenIdConnectClientCredential(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), ClientCredentialMethod? method = default(ClientCredentialMethod?), string clientSecretSettingName = default(string))
+ : base(id, name, kind, type)
+ {
+ Method = method;
+ ClientSecretSettingName = clientSecretSettingName;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets possible values include: 'ClientSecretPost'
+ ///
+ [JsonProperty(PropertyName = "properties.method")]
+ public ClientCredentialMethod? Method { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.clientSecretSettingName")]
+ public string ClientSecretSettingName { get; set; }
+
+ }
+}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/OpenIdConnectConfig.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/OpenIdConnectConfig.cs
new file mode 100644
index 000000000000..fe09ee1f099d
--- /dev/null
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/OpenIdConnectConfig.cs
@@ -0,0 +1,78 @@
+//
+// 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.WebSites.Models
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ [Rest.Serialization.JsonTransformation]
+ public partial class OpenIdConnectConfig : ProxyOnlyResource
+ {
+ ///
+ /// Initializes a new instance of the OpenIdConnectConfig class.
+ ///
+ public OpenIdConnectConfig()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the OpenIdConnectConfig class.
+ ///
+ /// Resource Id.
+ /// Resource Name.
+ /// Kind of resource.
+ /// Resource type.
+ public OpenIdConnectConfig(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string authorizationEndpoint = default(string), string tokenEndpoint = default(string), string issuer = default(string), string certificationUri = default(string), string wellKnownOpenIdConfiguration = default(string))
+ : base(id, name, kind, type)
+ {
+ AuthorizationEndpoint = authorizationEndpoint;
+ TokenEndpoint = tokenEndpoint;
+ Issuer = issuer;
+ CertificationUri = certificationUri;
+ WellKnownOpenIdConfiguration = wellKnownOpenIdConfiguration;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.authorizationEndpoint")]
+ public string AuthorizationEndpoint { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.tokenEndpoint")]
+ public string TokenEndpoint { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.issuer")]
+ public string Issuer { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.certificationUri")]
+ public string CertificationUri { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.wellKnownOpenIdConfiguration")]
+ public string WellKnownOpenIdConfiguration { get; set; }
+
+ }
+}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/OpenIdConnectLogin.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/OpenIdConnectLogin.cs
new file mode 100644
index 000000000000..cc0fe8682df0
--- /dev/null
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/OpenIdConnectLogin.cs
@@ -0,0 +1,62 @@
+//
+// 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.WebSites.Models
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+
+ [Rest.Serialization.JsonTransformation]
+ public partial class OpenIdConnectLogin : ProxyOnlyResource
+ {
+ ///
+ /// Initializes a new instance of the OpenIdConnectLogin class.
+ ///
+ public OpenIdConnectLogin()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the OpenIdConnectLogin class.
+ ///
+ /// Resource Id.
+ /// Resource Name.
+ /// Kind of resource.
+ /// Resource type.
+ public OpenIdConnectLogin(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string nameClaimType = default(string), IList scopes = default(IList))
+ : base(id, name, kind, type)
+ {
+ NameClaimType = nameClaimType;
+ Scopes = scopes;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.nameClaimType")]
+ public string NameClaimType { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.scopes")]
+ public IList Scopes { get; set; }
+
+ }
+}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/OpenIdConnectRegistration.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/OpenIdConnectRegistration.cs
new file mode 100644
index 000000000000..810737d9830a
--- /dev/null
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/OpenIdConnectRegistration.cs
@@ -0,0 +1,66 @@
+//
+// 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.WebSites.Models
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ [Rest.Serialization.JsonTransformation]
+ public partial class OpenIdConnectRegistration : ProxyOnlyResource
+ {
+ ///
+ /// Initializes a new instance of the OpenIdConnectRegistration class.
+ ///
+ public OpenIdConnectRegistration()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the OpenIdConnectRegistration class.
+ ///
+ /// Resource Id.
+ /// Resource Name.
+ /// Kind of resource.
+ /// Resource type.
+ public OpenIdConnectRegistration(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string clientId = default(string), OpenIdConnectClientCredential clientCredential = default(OpenIdConnectClientCredential), OpenIdConnectConfig openIdConnectConfiguration = default(OpenIdConnectConfig))
+ : base(id, name, kind, type)
+ {
+ ClientId = clientId;
+ ClientCredential = clientCredential;
+ OpenIdConnectConfiguration = openIdConnectConfiguration;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.clientId")]
+ public string ClientId { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.clientCredential")]
+ public OpenIdConnectClientCredential ClientCredential { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.openIdConnectConfiguration")]
+ public OpenIdConnectConfig OpenIdConnectConfiguration { get; set; }
+
+ }
+}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ResolveStatus.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ResolveStatus.cs
deleted file mode 100644
index 81b83077e212..000000000000
--- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ResolveStatus.cs
+++ /dev/null
@@ -1,102 +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.WebSites.Models
-{
- using Newtonsoft.Json;
- using Newtonsoft.Json.Converters;
- using System.Runtime;
- using System.Runtime.Serialization;
-
- ///
- /// Defines values for ResolveStatus.
- ///
- [JsonConverter(typeof(StringEnumConverter))]
- public enum ResolveStatus
- {
- [EnumMember(Value = "Initialized")]
- Initialized,
- [EnumMember(Value = "Resolved")]
- Resolved,
- [EnumMember(Value = "InvalidSyntax")]
- InvalidSyntax,
- [EnumMember(Value = "MSINotEnabled")]
- MSINotEnabled,
- [EnumMember(Value = "VaultNotFound")]
- VaultNotFound,
- [EnumMember(Value = "SecretNotFound")]
- SecretNotFound,
- [EnumMember(Value = "SecretVersionNotFound")]
- SecretVersionNotFound,
- [EnumMember(Value = "AccessToKeyVaultDenied")]
- AccessToKeyVaultDenied,
- [EnumMember(Value = "OtherReasons")]
- OtherReasons
- }
- internal static class ResolveStatusEnumExtension
- {
- internal static string ToSerializedValue(this ResolveStatus? value)
- {
- return value == null ? null : ((ResolveStatus)value).ToSerializedValue();
- }
-
- internal static string ToSerializedValue(this ResolveStatus value)
- {
- switch( value )
- {
- case ResolveStatus.Initialized:
- return "Initialized";
- case ResolveStatus.Resolved:
- return "Resolved";
- case ResolveStatus.InvalidSyntax:
- return "InvalidSyntax";
- case ResolveStatus.MSINotEnabled:
- return "MSINotEnabled";
- case ResolveStatus.VaultNotFound:
- return "VaultNotFound";
- case ResolveStatus.SecretNotFound:
- return "SecretNotFound";
- case ResolveStatus.SecretVersionNotFound:
- return "SecretVersionNotFound";
- case ResolveStatus.AccessToKeyVaultDenied:
- return "AccessToKeyVaultDenied";
- case ResolveStatus.OtherReasons:
- return "OtherReasons";
- }
- return null;
- }
-
- internal static ResolveStatus? ParseResolveStatus(this string value)
- {
- switch( value )
- {
- case "Initialized":
- return ResolveStatus.Initialized;
- case "Resolved":
- return ResolveStatus.Resolved;
- case "InvalidSyntax":
- return ResolveStatus.InvalidSyntax;
- case "MSINotEnabled":
- return ResolveStatus.MSINotEnabled;
- case "VaultNotFound":
- return ResolveStatus.VaultNotFound;
- case "SecretNotFound":
- return ResolveStatus.SecretNotFound;
- case "SecretVersionNotFound":
- return ResolveStatus.SecretVersionNotFound;
- case "AccessToKeyVaultDenied":
- return ResolveStatus.AccessToKeyVaultDenied;
- case "OtherReasons":
- return ResolveStatus.OtherReasons;
- }
- return null;
- }
- }
-}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Site.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Site.cs
index 67d1813717fe..5a5d96d804c3 100644
--- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Site.cs
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Site.cs
@@ -88,6 +88,14 @@ public Site()
/// enable client certificate authentication (TLS mutual
/// authentication); otherwise, <code>false</code>. Default
/// is <code>false</code>.
+ /// This composes with ClientCertEnabled
+ /// setting.
+ /// - ClientCertEnabled: false means ClientCert is ignored.
+ /// - ClientCertEnabled: true and ClientCertMode: Required means
+ /// ClientCert is required.
+ /// - ClientCertEnabled: true and ClientCertMode: Optional means
+ /// ClientCert is optional or accepted. Possible values include:
+ /// 'Required', 'Optional'
/// client certificate
/// authentication comma-separated exclusion paths
/// <code>true</code> to
@@ -95,6 +103,9 @@ public Site()
/// <code>false</code>.
/// If <code>true</code>, the app is only accessible via
/// API management process.
+ /// Unique identifier that
+ /// verifies the custom domains assigned to the app. Customer will add
+ /// this id to a txt record for verification.
/// List of IP addresses that the app
/// uses for outbound connections (e.g. database access). Includes VIPs
/// from tenants that site can be hosted with current settings.
@@ -129,7 +140,7 @@ public Site()
/// 'GeoRedundant'
/// Specifies an operation id if
/// this site has a pending operation.
- public Site(string location, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), IDictionary tags = default(IDictionary), string state = default(string), IList hostNames = default(IList), string repositorySiteName = default(string), UsageState? usageState = default(UsageState?), bool? enabled = default(bool?), IList enabledHostNames = default(IList), SiteAvailabilityState? availabilityState = default(SiteAvailabilityState?), IList hostNameSslStates = default(IList), string serverFarmId = default(string), bool? reserved = default(bool?), bool? isXenon = default(bool?), bool? hyperV = default(bool?), System.DateTime? lastModifiedTimeUtc = default(System.DateTime?), SiteConfig siteConfig = default(SiteConfig), IList trafficManagerHostNames = default(IList), bool? scmSiteAlsoStopped = default(bool?), string targetSwapSlot = default(string), HostingEnvironmentProfile hostingEnvironmentProfile = default(HostingEnvironmentProfile), bool? clientAffinityEnabled = default(bool?), bool? clientCertEnabled = default(bool?), string clientCertExclusionPaths = default(string), bool? hostNamesDisabled = default(bool?), string outboundIpAddresses = default(string), string possibleOutboundIpAddresses = default(string), int? containerSize = default(int?), int? dailyMemoryTimeQuota = default(int?), System.DateTime? suspendedTill = default(System.DateTime?), int? maxNumberOfWorkers = default(int?), CloningInfo cloningInfo = default(CloningInfo), string resourceGroup = default(string), bool? isDefaultContainer = default(bool?), string defaultHostName = default(string), SlotSwapStatus slotSwapStatus = default(SlotSwapStatus), bool? httpsOnly = default(bool?), RedundancyMode? redundancyMode = default(RedundancyMode?), System.Guid? inProgressOperationId = default(System.Guid?), ManagedServiceIdentity identity = default(ManagedServiceIdentity))
+ public Site(string location, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), IDictionary tags = default(IDictionary), string state = default(string), IList hostNames = default(IList), string repositorySiteName = default(string), UsageState? usageState = default(UsageState?), bool? enabled = default(bool?), IList enabledHostNames = default(IList), SiteAvailabilityState? availabilityState = default(SiteAvailabilityState?), IList hostNameSslStates = default(IList), string serverFarmId = default(string), bool? reserved = default(bool?), bool? isXenon = default(bool?), bool? hyperV = default(bool?), System.DateTime? lastModifiedTimeUtc = default(System.DateTime?), SiteConfig siteConfig = default(SiteConfig), IList trafficManagerHostNames = default(IList), bool? scmSiteAlsoStopped = default(bool?), string targetSwapSlot = default(string), HostingEnvironmentProfile hostingEnvironmentProfile = default(HostingEnvironmentProfile), bool? clientAffinityEnabled = default(bool?), bool? clientCertEnabled = default(bool?), ClientCertMode? clientCertMode = default(ClientCertMode?), string clientCertExclusionPaths = default(string), bool? hostNamesDisabled = default(bool?), string customDomainVerificationId = default(string), string outboundIpAddresses = default(string), string possibleOutboundIpAddresses = default(string), int? containerSize = default(int?), int? dailyMemoryTimeQuota = default(int?), System.DateTime? suspendedTill = default(System.DateTime?), int? maxNumberOfWorkers = default(int?), CloningInfo cloningInfo = default(CloningInfo), string resourceGroup = default(string), bool? isDefaultContainer = default(bool?), string defaultHostName = default(string), SlotSwapStatus slotSwapStatus = default(SlotSwapStatus), bool? httpsOnly = default(bool?), RedundancyMode? redundancyMode = default(RedundancyMode?), System.Guid? inProgressOperationId = default(System.Guid?), ManagedServiceIdentity identity = default(ManagedServiceIdentity))
: base(location, id, name, kind, type, tags)
{
State = state;
@@ -152,8 +163,10 @@ public Site()
HostingEnvironmentProfile = hostingEnvironmentProfile;
ClientAffinityEnabled = clientAffinityEnabled;
ClientCertEnabled = clientCertEnabled;
+ ClientCertMode = clientCertMode;
ClientCertExclusionPaths = clientCertExclusionPaths;
HostNamesDisabled = hostNamesDisabled;
+ CustomDomainVerificationId = customDomainVerificationId;
OutboundIpAddresses = outboundIpAddresses;
PossibleOutboundIpAddresses = possibleOutboundIpAddresses;
ContainerSize = containerSize;
@@ -324,6 +337,18 @@ public Site()
[JsonProperty(PropertyName = "properties.clientCertEnabled")]
public bool? ClientCertEnabled { get; set; }
+ ///
+ /// Gets or sets this composes with ClientCertEnabled setting.
+ /// - ClientCertEnabled: false means ClientCert is ignored.
+ /// - ClientCertEnabled: true and ClientCertMode: Required means
+ /// ClientCert is required.
+ /// - ClientCertEnabled: true and ClientCertMode: Optional means
+ /// ClientCert is optional or accepted. Possible values include:
+ /// 'Required', 'Optional'
+ ///
+ [JsonProperty(PropertyName = "properties.clientCertMode")]
+ public ClientCertMode? ClientCertMode { get; set; }
+
///
/// Gets or sets client certificate authentication comma-separated
/// exclusion paths
@@ -341,6 +366,14 @@ public Site()
[JsonProperty(PropertyName = "properties.hostNamesDisabled")]
public bool? HostNamesDisabled { get; set; }
+ ///
+ /// Gets or sets unique identifier that verifies the custom domains
+ /// assigned to the app. Customer will add this id to a txt record for
+ /// verification.
+ ///
+ [JsonProperty(PropertyName = "properties.customDomainVerificationId")]
+ public string CustomDomainVerificationId { get; set; }
+
///
/// Gets list of IP addresses that the app uses for outbound
/// connections (e.g. database access). Includes VIPs from tenants that
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SiteAuthSettings.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SiteAuthSettings.cs
index 03467ae962a6..a87bf293faac 100644
--- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SiteAuthSettings.cs
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SiteAuthSettings.cs
@@ -66,7 +66,7 @@ public SiteAuthSettings()
/// and the unauthenticated client
/// action is set to "RedirectToLoginPage". Possible values include:
/// 'AzureActiveDirectory', 'Facebook', 'Google', 'MicrosoftAccount',
- /// 'Twitter'
+ /// 'Twitter', 'Github'
/// The number of hours after
/// session token expiration that a session token can be used to
/// call the token refresh API. The default is 72 hours.
@@ -87,6 +87,9 @@ public SiteAuthSettings()
/// authenticate end users.
/// More information on OpenID Connect:
/// http://openid.net/specs/openid-connect-core-1_0.html
+ /// The app setting name that
+ /// contains the client secret of the relying party
+ /// application.
/// An alternative to
/// the client secret, that is the thumbprint of a certificate used for
/// signing purposes. This property acts as
@@ -110,6 +113,8 @@ public SiteAuthSettings()
/// OpenID Connect authorization endpoint when
/// a user logs in. Each parameter must be in the form
/// "key=value".
+ /// Gets a JSON string containing
+ /// the Azure AD Acl settings.
/// The OpenID Connect Client ID for the
/// Google web application.
/// This setting is required for enabling Google Sign-In.
@@ -120,6 +125,9 @@ public SiteAuthSettings()
/// This setting is required for enabling Google Sign-In.
/// Google Sign-In documentation:
/// https://developers.google.com/identity/sign-in/web/
+ /// The app setting name
+ /// that contains the client secret associated with
+ /// the Google web application.
/// The OAuth 2.0 scopes that will be
/// requested as part of Google Sign-In authentication.
/// This setting is optional. If not specified, "openid", "profile",
@@ -136,11 +144,25 @@ public SiteAuthSettings()
/// This setting is required for enabling Facebook Login.
/// Facebook Login documentation:
/// https://developers.facebook.com/docs/facebook-login
+ /// The app setting name
+ /// that contains the app secret used for Facebook Login.
/// The OAuth 2.0 scopes that will be
/// requested as part of Facebook Login authentication.
/// This setting is optional.
/// Facebook Login documentation:
/// https://developers.facebook.com/docs/facebook-login
+ /// The Client Id of the GitHub app used
+ /// for login.
+ /// This setting is required for enabling Github login
+ /// The Client Secret of the GitHub
+ /// app used for Github Login.
+ /// This setting is required for enabling Github login.
+ /// The app setting name
+ /// that contains the client secret of the Github
+ /// app used for GitHub Login.
+ /// The OAuth 2.0 scopes that will be
+ /// requested as part of GitHub Login authentication.
+ /// This setting is optional
/// The OAuth 1.0a consumer key of the
/// Twitter application used for sign-in.
/// This setting is required for enabling Twitter Sign-In.
@@ -151,6 +173,9 @@ public SiteAuthSettings()
/// This setting is required for enabling Twitter Sign-In.
/// Twitter Sign-In documentation:
/// https://dev.twitter.com/web/sign-in
+ /// The app setting name
+ /// that contains the OAuth 1.0a consumer secret of the Twitter
+ /// application used for sign-in.
/// The OAuth 2.0 client ID that
/// was created for the app used for authentication.
/// This setting is required for enabling Microsoft Account
@@ -163,13 +188,24 @@ public SiteAuthSettings()
/// authentication.
/// Microsoft Account OAuth documentation:
/// https://dev.onedrive.com/auth/msa_oauth.htm
+ /// The app
+ /// setting name containing the OAuth 2.0 client secret that was
+ /// created for the
+ /// app used for authentication.
/// The OAuth 2.0 scopes that
/// will be requested as part of Microsoft Account authentication.
/// This setting is optional. If not specified, "wl.basic" is used as
/// the default scope.
/// Microsoft Account Scopes and permissions documentation:
/// https://msdn.microsoft.com/en-us/library/dn631845.aspx
- public SiteAuthSettings(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), bool? enabled = default(bool?), string runtimeVersion = default(string), UnauthenticatedClientAction? unauthenticatedClientAction = default(UnauthenticatedClientAction?), bool? tokenStoreEnabled = default(bool?), IList allowedExternalRedirectUrls = default(IList), BuiltInAuthenticationProvider? defaultProvider = default(BuiltInAuthenticationProvider?), double? tokenRefreshExtensionHours = default(double?), string clientId = default(string), string clientSecret = default(string), string clientSecretCertificateThumbprint = default(string), string issuer = default(string), bool? validateIssuer = default(bool?), IList allowedAudiences = default(IList), IList additionalLoginParams = default(IList), string googleClientId = default(string), string googleClientSecret = default(string), IList googleOAuthScopes = default(IList), string facebookAppId = default(string), string facebookAppSecret = default(string), IList facebookOAuthScopes = default(IList), string twitterConsumerKey = default(string), string twitterConsumerSecret = default(string), string microsoftAccountClientId = default(string), string microsoftAccountClientSecret = default(string), IList microsoftAccountOAuthScopes = default(IList))
+ /// "true" if the auth config settings
+ /// should be read from a file,
+ /// "false" otherwise
+ /// The path of the config file containing
+ /// auth settings.
+ /// If the path is relative, base will the site's root
+ /// directory.
+ public SiteAuthSettings(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), bool? enabled = default(bool?), string runtimeVersion = default(string), UnauthenticatedClientAction? unauthenticatedClientAction = default(UnauthenticatedClientAction?), bool? tokenStoreEnabled = default(bool?), IList allowedExternalRedirectUrls = default(IList), BuiltInAuthenticationProvider? defaultProvider = default(BuiltInAuthenticationProvider?), double? tokenRefreshExtensionHours = default(double?), string clientId = default(string), string clientSecret = default(string), string clientSecretSettingName = default(string), string clientSecretCertificateThumbprint = default(string), string issuer = default(string), bool? validateIssuer = default(bool?), IList allowedAudiences = default(IList), IList additionalLoginParams = default(IList), string aadClaimsAuthorization = default(string), string googleClientId = default(string), string googleClientSecret = default(string), string googleClientSecretSettingName = default(string), IList googleOAuthScopes = default(IList), string facebookAppId = default(string), string facebookAppSecret = default(string), string facebookAppSecretSettingName = default(string), IList facebookOAuthScopes = default(IList), string gitHubClientId = default(string), string gitHubClientSecret = default(string), string gitHubClientSecretSettingName = default(string), IList gitHubOAuthScopes = default(IList), string twitterConsumerKey = default(string), string twitterConsumerSecret = default(string), string twitterConsumerSecretSettingName = default(string), string microsoftAccountClientId = default(string), string microsoftAccountClientSecret = default(string), string microsoftAccountClientSecretSettingName = default(string), IList microsoftAccountOAuthScopes = default(IList), string isAuthFromFile = default(string), string authFilePath = default(string))
: base(id, name, kind, type)
{
Enabled = enabled;
@@ -181,22 +217,34 @@ public SiteAuthSettings()
TokenRefreshExtensionHours = tokenRefreshExtensionHours;
ClientId = clientId;
ClientSecret = clientSecret;
+ ClientSecretSettingName = clientSecretSettingName;
ClientSecretCertificateThumbprint = clientSecretCertificateThumbprint;
Issuer = issuer;
ValidateIssuer = validateIssuer;
AllowedAudiences = allowedAudiences;
AdditionalLoginParams = additionalLoginParams;
+ AadClaimsAuthorization = aadClaimsAuthorization;
GoogleClientId = googleClientId;
GoogleClientSecret = googleClientSecret;
+ GoogleClientSecretSettingName = googleClientSecretSettingName;
GoogleOAuthScopes = googleOAuthScopes;
FacebookAppId = facebookAppId;
FacebookAppSecret = facebookAppSecret;
+ FacebookAppSecretSettingName = facebookAppSecretSettingName;
FacebookOAuthScopes = facebookOAuthScopes;
+ GitHubClientId = gitHubClientId;
+ GitHubClientSecret = gitHubClientSecret;
+ GitHubClientSecretSettingName = gitHubClientSecretSettingName;
+ GitHubOAuthScopes = gitHubOAuthScopes;
TwitterConsumerKey = twitterConsumerKey;
TwitterConsumerSecret = twitterConsumerSecret;
+ TwitterConsumerSecretSettingName = twitterConsumerSecretSettingName;
MicrosoftAccountClientId = microsoftAccountClientId;
MicrosoftAccountClientSecret = microsoftAccountClientSecret;
+ MicrosoftAccountClientSecretSettingName = microsoftAccountClientSecretSettingName;
MicrosoftAccountOAuthScopes = microsoftAccountOAuthScopes;
+ IsAuthFromFile = isAuthFromFile;
+ AuthFilePath = authFilePath;
CustomInit();
}
@@ -259,7 +307,7 @@ public SiteAuthSettings()
/// and the unauthenticated client
/// action is set to "RedirectToLoginPage". Possible values include:
/// 'AzureActiveDirectory', 'Facebook', 'Google', 'MicrosoftAccount',
- /// 'Twitter'
+ /// 'Twitter', 'Github'
///
[JsonProperty(PropertyName = "properties.defaultProvider")]
public BuiltInAuthenticationProvider? DefaultProvider { get; set; }
@@ -298,6 +346,13 @@ public SiteAuthSettings()
[JsonProperty(PropertyName = "properties.clientSecret")]
public string ClientSecret { get; set; }
+ ///
+ /// Gets or sets the app setting name that contains the client secret
+ /// of the relying party application.
+ ///
+ [JsonProperty(PropertyName = "properties.clientSecretSettingName")]
+ public string ClientSecretSettingName { get; set; }
+
///
/// Gets or sets an alternative to the client secret, that is the
/// thumbprint of a certificate used for signing purposes. This
@@ -345,6 +400,12 @@ public SiteAuthSettings()
[JsonProperty(PropertyName = "properties.additionalLoginParams")]
public IList AdditionalLoginParams { get; set; }
+ ///
+ /// Gets a JSON string containing the Azure AD Acl settings.
+ ///
+ [JsonProperty(PropertyName = "properties.aadClaimsAuthorization")]
+ public string AadClaimsAuthorization { get; set; }
+
///
/// Gets or sets the OpenID Connect Client ID for the Google web
/// application.
@@ -365,6 +426,14 @@ public SiteAuthSettings()
[JsonProperty(PropertyName = "properties.googleClientSecret")]
public string GoogleClientSecret { get; set; }
+ ///
+ /// Gets or sets the app setting name that contains the client secret
+ /// associated with
+ /// the Google web application.
+ ///
+ [JsonProperty(PropertyName = "properties.googleClientSecretSettingName")]
+ public string GoogleClientSecretSettingName { get; set; }
+
///
/// Gets or sets the OAuth 2.0 scopes that will be requested as part of
/// Google Sign-In authentication.
@@ -395,6 +464,13 @@ public SiteAuthSettings()
[JsonProperty(PropertyName = "properties.facebookAppSecret")]
public string FacebookAppSecret { get; set; }
+ ///
+ /// Gets or sets the app setting name that contains the app secret used
+ /// for Facebook Login.
+ ///
+ [JsonProperty(PropertyName = "properties.facebookAppSecretSettingName")]
+ public string FacebookAppSecretSettingName { get; set; }
+
///
/// Gets or sets the OAuth 2.0 scopes that will be requested as part of
/// Facebook Login authentication.
@@ -405,6 +481,37 @@ public SiteAuthSettings()
[JsonProperty(PropertyName = "properties.facebookOAuthScopes")]
public IList FacebookOAuthScopes { get; set; }
+ ///
+ /// Gets or sets the Client Id of the GitHub app used for login.
+ /// This setting is required for enabling Github login
+ ///
+ [JsonProperty(PropertyName = "properties.gitHubClientId")]
+ public string GitHubClientId { get; set; }
+
+ ///
+ /// Gets or sets the Client Secret of the GitHub app used for Github
+ /// Login.
+ /// This setting is required for enabling Github login.
+ ///
+ [JsonProperty(PropertyName = "properties.gitHubClientSecret")]
+ public string GitHubClientSecret { get; set; }
+
+ ///
+ /// Gets or sets the app setting name that contains the client secret
+ /// of the Github
+ /// app used for GitHub Login.
+ ///
+ [JsonProperty(PropertyName = "properties.gitHubClientSecretSettingName")]
+ public string GitHubClientSecretSettingName { get; set; }
+
+ ///
+ /// Gets or sets the OAuth 2.0 scopes that will be requested as part of
+ /// GitHub Login authentication.
+ /// This setting is optional
+ ///
+ [JsonProperty(PropertyName = "properties.gitHubOAuthScopes")]
+ public IList GitHubOAuthScopes { get; set; }
+
///
/// Gets or sets the OAuth 1.0a consumer key of the Twitter application
/// used for sign-in.
@@ -423,6 +530,14 @@ public SiteAuthSettings()
[JsonProperty(PropertyName = "properties.twitterConsumerSecret")]
public string TwitterConsumerSecret { get; set; }
+ ///
+ /// Gets or sets the app setting name that contains the OAuth 1.0a
+ /// consumer secret of the Twitter
+ /// application used for sign-in.
+ ///
+ [JsonProperty(PropertyName = "properties.twitterConsumerSecretSettingName")]
+ public string TwitterConsumerSecretSettingName { get; set; }
+
///
/// Gets or sets the OAuth 2.0 client ID that was created for the app
/// used for authentication.
@@ -445,6 +560,14 @@ public SiteAuthSettings()
[JsonProperty(PropertyName = "properties.microsoftAccountClientSecret")]
public string MicrosoftAccountClientSecret { get; set; }
+ ///
+ /// Gets or sets the app setting name containing the OAuth 2.0 client
+ /// secret that was created for the
+ /// app used for authentication.
+ ///
+ [JsonProperty(PropertyName = "properties.microsoftAccountClientSecretSettingName")]
+ public string MicrosoftAccountClientSecretSettingName { get; set; }
+
///
/// Gets or sets the OAuth 2.0 scopes that will be requested as part of
/// Microsoft Account authentication.
@@ -456,5 +579,20 @@ public SiteAuthSettings()
[JsonProperty(PropertyName = "properties.microsoftAccountOAuthScopes")]
public IList MicrosoftAccountOAuthScopes { get; set; }
+ ///
+ /// Gets or sets "true" if the auth config settings should be read from
+ /// a file,
+ /// "false" otherwise
+ ///
+ [JsonProperty(PropertyName = "properties.isAuthFromFile")]
+ public string IsAuthFromFile { get; set; }
+
+ ///
+ /// Gets or sets the path of the config file containing auth settings.
+ /// If the path is relative, base will the site's root directory.
+ ///
+ [JsonProperty(PropertyName = "properties.authFilePath")]
+ public string AuthFilePath { get; set; }
+
}
}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SiteAuthSettingsV2.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SiteAuthSettingsV2.cs
new file mode 100644
index 000000000000..5a587a3976c4
--- /dev/null
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SiteAuthSettingsV2.cs
@@ -0,0 +1,78 @@
+//
+// 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.WebSites.Models
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ [Rest.Serialization.JsonTransformation]
+ public partial class SiteAuthSettingsV2 : ProxyOnlyResource
+ {
+ ///
+ /// Initializes a new instance of the SiteAuthSettingsV2 class.
+ ///
+ public SiteAuthSettingsV2()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the SiteAuthSettingsV2 class.
+ ///
+ /// Resource Id.
+ /// Resource Name.
+ /// Kind of resource.
+ /// Resource type.
+ public SiteAuthSettingsV2(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), AuthPlatform platform = default(AuthPlatform), GlobalValidation globalValidation = default(GlobalValidation), IdentityProviders identityProviders = default(IdentityProviders), Login login = default(Login), HttpSettings httpSettings = default(HttpSettings))
+ : base(id, name, kind, type)
+ {
+ Platform = platform;
+ GlobalValidation = globalValidation;
+ IdentityProviders = identityProviders;
+ Login = login;
+ HttpSettings = httpSettings;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.platform")]
+ public AuthPlatform Platform { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.globalValidation")]
+ public GlobalValidation GlobalValidation { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.identityProviders")]
+ public IdentityProviders IdentityProviders { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.login")]
+ public Login Login { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.httpSettings")]
+ public HttpSettings HttpSettings { get; set; }
+
+ }
+}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SitePatchResource.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SitePatchResource.cs
index 223c8c212225..567a5fb54af7 100644
--- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SitePatchResource.cs
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SitePatchResource.cs
@@ -86,6 +86,14 @@ public SitePatchResource()
/// enable client certificate authentication (TLS mutual
/// authentication); otherwise, <code>false</code>. Default
/// is <code>false</code>.
+ /// This composes with ClientCertEnabled
+ /// setting.
+ /// - ClientCertEnabled: false means ClientCert is ignored.
+ /// - ClientCertEnabled: true and ClientCertMode: Required means
+ /// ClientCert is required.
+ /// - ClientCertEnabled: true and ClientCertMode: Optional means
+ /// ClientCert is optional or accepted. Possible values include:
+ /// 'Required', 'Optional'
/// client certificate
/// authentication comma-separated exclusion paths
/// <code>true</code> to
@@ -93,6 +101,9 @@ public SitePatchResource()
/// <code>false</code>.
/// If <code>true</code>, the app is only accessible via
/// API management process.
+ /// Unique identifier that
+ /// verifies the custom domains assigned to the app. Customer will add
+ /// this id to a txt record for verification.
/// List of IP addresses that the app
/// uses for outbound connections (e.g. database access). Includes VIPs
/// from tenants that site can be hosted with current settings.
@@ -127,7 +138,7 @@ public SitePatchResource()
/// 'GeoRedundant'
/// Specifies an operation id if
/// this site has a pending operation.
- public SitePatchResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string state = default(string), IList hostNames = default(IList), string repositorySiteName = default(string), UsageState? usageState = default(UsageState?), bool? enabled = default(bool?), IList enabledHostNames = default(IList), SiteAvailabilityState? availabilityState = default(SiteAvailabilityState?), IList hostNameSslStates = default(IList), string serverFarmId = default(string), bool? reserved = default(bool?), bool? isXenon = default(bool?), bool? hyperV = default(bool?), System.DateTime? lastModifiedTimeUtc = default(System.DateTime?), SiteConfig siteConfig = default(SiteConfig), IList trafficManagerHostNames = default(IList), bool? scmSiteAlsoStopped = default(bool?), string targetSwapSlot = default(string), HostingEnvironmentProfile hostingEnvironmentProfile = default(HostingEnvironmentProfile), bool? clientAffinityEnabled = default(bool?), bool? clientCertEnabled = default(bool?), string clientCertExclusionPaths = default(string), bool? hostNamesDisabled = default(bool?), string outboundIpAddresses = default(string), string possibleOutboundIpAddresses = default(string), int? containerSize = default(int?), int? dailyMemoryTimeQuota = default(int?), System.DateTime? suspendedTill = default(System.DateTime?), int? maxNumberOfWorkers = default(int?), CloningInfo cloningInfo = default(CloningInfo), string resourceGroup = default(string), bool? isDefaultContainer = default(bool?), string defaultHostName = default(string), SlotSwapStatus slotSwapStatus = default(SlotSwapStatus), bool? httpsOnly = default(bool?), RedundancyMode? redundancyMode = default(RedundancyMode?), System.Guid? inProgressOperationId = default(System.Guid?), ManagedServiceIdentity identity = default(ManagedServiceIdentity))
+ public SitePatchResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string state = default(string), IList hostNames = default(IList), string repositorySiteName = default(string), UsageState? usageState = default(UsageState?), bool? enabled = default(bool?), IList enabledHostNames = default(IList), SiteAvailabilityState? availabilityState = default(SiteAvailabilityState?), IList hostNameSslStates = default(IList), string serverFarmId = default(string), bool? reserved = default(bool?), bool? isXenon = default(bool?), bool? hyperV = default(bool?), System.DateTime? lastModifiedTimeUtc = default(System.DateTime?), SiteConfig siteConfig = default(SiteConfig), IList trafficManagerHostNames = default(IList), bool? scmSiteAlsoStopped = default(bool?), string targetSwapSlot = default(string), HostingEnvironmentProfile hostingEnvironmentProfile = default(HostingEnvironmentProfile), bool? clientAffinityEnabled = default(bool?), bool? clientCertEnabled = default(bool?), ClientCertMode? clientCertMode = default(ClientCertMode?), string clientCertExclusionPaths = default(string), bool? hostNamesDisabled = default(bool?), string customDomainVerificationId = default(string), string outboundIpAddresses = default(string), string possibleOutboundIpAddresses = default(string), int? containerSize = default(int?), int? dailyMemoryTimeQuota = default(int?), System.DateTime? suspendedTill = default(System.DateTime?), int? maxNumberOfWorkers = default(int?), CloningInfo cloningInfo = default(CloningInfo), string resourceGroup = default(string), bool? isDefaultContainer = default(bool?), string defaultHostName = default(string), SlotSwapStatus slotSwapStatus = default(SlotSwapStatus), bool? httpsOnly = default(bool?), RedundancyMode? redundancyMode = default(RedundancyMode?), System.Guid? inProgressOperationId = default(System.Guid?), ManagedServiceIdentity identity = default(ManagedServiceIdentity))
: base(id, name, kind, type)
{
State = state;
@@ -150,8 +161,10 @@ public SitePatchResource()
HostingEnvironmentProfile = hostingEnvironmentProfile;
ClientAffinityEnabled = clientAffinityEnabled;
ClientCertEnabled = clientCertEnabled;
+ ClientCertMode = clientCertMode;
ClientCertExclusionPaths = clientCertExclusionPaths;
HostNamesDisabled = hostNamesDisabled;
+ CustomDomainVerificationId = customDomainVerificationId;
OutboundIpAddresses = outboundIpAddresses;
PossibleOutboundIpAddresses = possibleOutboundIpAddresses;
ContainerSize = containerSize;
@@ -322,6 +335,18 @@ public SitePatchResource()
[JsonProperty(PropertyName = "properties.clientCertEnabled")]
public bool? ClientCertEnabled { get; set; }
+ ///
+ /// Gets or sets this composes with ClientCertEnabled setting.
+ /// - ClientCertEnabled: false means ClientCert is ignored.
+ /// - ClientCertEnabled: true and ClientCertMode: Required means
+ /// ClientCert is required.
+ /// - ClientCertEnabled: true and ClientCertMode: Optional means
+ /// ClientCert is optional or accepted. Possible values include:
+ /// 'Required', 'Optional'
+ ///
+ [JsonProperty(PropertyName = "properties.clientCertMode")]
+ public ClientCertMode? ClientCertMode { get; set; }
+
///
/// Gets or sets client certificate authentication comma-separated
/// exclusion paths
@@ -339,6 +364,14 @@ public SitePatchResource()
[JsonProperty(PropertyName = "properties.hostNamesDisabled")]
public bool? HostNamesDisabled { get; set; }
+ ///
+ /// Gets or sets unique identifier that verifies the custom domains
+ /// assigned to the app. Customer will add this id to a txt record for
+ /// verification.
+ ///
+ [JsonProperty(PropertyName = "properties.customDomainVerificationId")]
+ public string CustomDomainVerificationId { get; set; }
+
///
/// Gets list of IP addresses that the app uses for outbound
/// connections (e.g. database access). Includes VIPs from tenants that
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SiteSourceControl.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SiteSourceControl.cs
index d99dac2f8e3f..c2544d5f558f 100644
--- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SiteSourceControl.cs
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SiteSourceControl.cs
@@ -42,6 +42,8 @@ public SiteSourceControl()
/// limit to manual integration; <code>false</code> to
/// enable continuous integration (which configures webhooks into
/// online repos like GitHub).
+ /// <code>true</code> if this
+ /// is deployed via GitHub action.
/// <code>true</code> to
/// enable deployment rollback; otherwise,
@@ -49,12 +51,13 @@ public SiteSourceControl()
/// <code>true</code> for a
/// Mercurial repository; <code>false</code> for a Git
/// repository.
- public SiteSourceControl(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string repoUrl = default(string), string branch = default(string), bool? isManualIntegration = default(bool?), bool? deploymentRollbackEnabled = default(bool?), bool? isMercurial = default(bool?))
+ public SiteSourceControl(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string repoUrl = default(string), string branch = default(string), bool? isManualIntegration = default(bool?), bool? isGitHubAction = default(bool?), bool? deploymentRollbackEnabled = default(bool?), bool? isMercurial = default(bool?))
: base(id, name, kind, type)
{
RepoUrl = repoUrl;
Branch = branch;
IsManualIntegration = isManualIntegration;
+ IsGitHubAction = isGitHubAction;
DeploymentRollbackEnabled = deploymentRollbackEnabled;
IsMercurial = isMercurial;
CustomInit();
@@ -87,6 +90,13 @@ public SiteSourceControl()
[JsonProperty(PropertyName = "properties.isManualIntegration")]
public bool? IsManualIntegration { get; set; }
+ ///
+ /// Gets or sets <code>true</code> if this
+ /// is deployed via GitHub action.
+ ///
+ [JsonProperty(PropertyName = "properties.isGitHubAction")]
+ public bool? IsGitHubAction { get; set; }
+
///
/// Gets or sets <code>true</code> to
/// enable deployment rollback; otherwise,
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/TokenStore.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/TokenStore.cs
new file mode 100644
index 000000000000..ffe3edf35446
--- /dev/null
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/TokenStore.cs
@@ -0,0 +1,72 @@
+//
+// 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.WebSites.Models
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ [Rest.Serialization.JsonTransformation]
+ public partial class TokenStore : ProxyOnlyResource
+ {
+ ///
+ /// Initializes a new instance of the TokenStore class.
+ ///
+ public TokenStore()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the TokenStore class.
+ ///
+ /// Resource Id.
+ /// Resource Name.
+ /// Kind of resource.
+ /// Resource type.
+ public TokenStore(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), bool? enabled = default(bool?), double? tokenRefreshExtensionHours = default(double?), FileSystemTokenStore fileSystem = default(FileSystemTokenStore), BlobStorageTokenStore azureBlobStorage = default(BlobStorageTokenStore))
+ : base(id, name, kind, type)
+ {
+ Enabled = enabled;
+ TokenRefreshExtensionHours = tokenRefreshExtensionHours;
+ FileSystem = fileSystem;
+ AzureBlobStorage = azureBlobStorage;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.enabled")]
+ public bool? Enabled { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.tokenRefreshExtensionHours")]
+ public double? TokenRefreshExtensionHours { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.fileSystem")]
+ public FileSystemTokenStore FileSystem { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.azureBlobStorage")]
+ public BlobStorageTokenStore AzureBlobStorage { get; set; }
+
+ }
+}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Twitter.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Twitter.cs
new file mode 100644
index 000000000000..c2c7bdf49b9c
--- /dev/null
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Twitter.cs
@@ -0,0 +1,60 @@
+//
+// 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.WebSites.Models
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ [Rest.Serialization.JsonTransformation]
+ public partial class Twitter : ProxyOnlyResource
+ {
+ ///
+ /// Initializes a new instance of the Twitter class.
+ ///
+ public Twitter()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the Twitter class.
+ ///
+ /// Resource Id.
+ /// Resource Name.
+ /// Kind of resource.
+ /// Resource type.
+ public Twitter(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), bool? enabled = default(bool?), TwitterRegistration registration = default(TwitterRegistration))
+ : base(id, name, kind, type)
+ {
+ Enabled = enabled;
+ Registration = registration;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.enabled")]
+ public bool? Enabled { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.registration")]
+ public TwitterRegistration Registration { get; set; }
+
+ }
+}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/TwitterRegistration.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/TwitterRegistration.cs
new file mode 100644
index 000000000000..92b77941cf02
--- /dev/null
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/TwitterRegistration.cs
@@ -0,0 +1,60 @@
+//
+// 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.WebSites.Models
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ [Rest.Serialization.JsonTransformation]
+ public partial class TwitterRegistration : ProxyOnlyResource
+ {
+ ///
+ /// Initializes a new instance of the TwitterRegistration class.
+ ///
+ public TwitterRegistration()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the TwitterRegistration class.
+ ///
+ /// Resource Id.
+ /// Resource Name.
+ /// Kind of resource.
+ /// Resource type.
+ public TwitterRegistration(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string consumerKey = default(string), string consumerSecretSettingName = default(string))
+ : base(id, name, kind, type)
+ {
+ ConsumerKey = consumerKey;
+ ConsumerSecretSettingName = consumerSecretSettingName;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.consumerKey")]
+ public string ConsumerKey { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.consumerSecretSettingName")]
+ public string ConsumerSecretSettingName { get; set; }
+
+ }
+}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/UnauthenticatedClientActionV2.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/UnauthenticatedClientActionV2.cs
new file mode 100644
index 000000000000..c9ec41bec5ee
--- /dev/null
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/UnauthenticatedClientActionV2.cs
@@ -0,0 +1,72 @@
+//
+// 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.WebSites.Models
+{
+ using Newtonsoft.Json;
+ using Newtonsoft.Json.Converters;
+ using System.Runtime;
+ using System.Runtime.Serialization;
+
+ ///
+ /// Defines values for UnauthenticatedClientActionV2.
+ ///
+ [JsonConverter(typeof(StringEnumConverter))]
+ public enum UnauthenticatedClientActionV2
+ {
+ [EnumMember(Value = "RedirectToLoginPage")]
+ RedirectToLoginPage,
+ [EnumMember(Value = "AllowAnonymous")]
+ AllowAnonymous,
+ [EnumMember(Value = "Return401")]
+ Return401,
+ [EnumMember(Value = "Return403")]
+ Return403
+ }
+ internal static class UnauthenticatedClientActionV2EnumExtension
+ {
+ internal static string ToSerializedValue(this UnauthenticatedClientActionV2? value)
+ {
+ return value == null ? null : ((UnauthenticatedClientActionV2)value).ToSerializedValue();
+ }
+
+ internal static string ToSerializedValue(this UnauthenticatedClientActionV2 value)
+ {
+ switch( value )
+ {
+ case UnauthenticatedClientActionV2.RedirectToLoginPage:
+ return "RedirectToLoginPage";
+ case UnauthenticatedClientActionV2.AllowAnonymous:
+ return "AllowAnonymous";
+ case UnauthenticatedClientActionV2.Return401:
+ return "Return401";
+ case UnauthenticatedClientActionV2.Return403:
+ return "Return403";
+ }
+ return null;
+ }
+
+ internal static UnauthenticatedClientActionV2? ParseUnauthenticatedClientActionV2(this string value)
+ {
+ switch( value )
+ {
+ case "RedirectToLoginPage":
+ return UnauthenticatedClientActionV2.RedirectToLoginPage;
+ case "AllowAnonymous":
+ return UnauthenticatedClientActionV2.AllowAnonymous;
+ case "Return401":
+ return UnauthenticatedClientActionV2.Return401;
+ case "Return403":
+ return UnauthenticatedClientActionV2.Return403;
+ }
+ return null;
+ }
+ }
+}
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/WebSiteInstanceStatus.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/WebSiteInstanceStatus.cs
index 797a5dda35b8..c9e91df2ae59 100644
--- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/WebSiteInstanceStatus.cs
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/WebSiteInstanceStatus.cs
@@ -40,15 +40,18 @@ public WebSiteInstanceStatus()
/// Link to the GetStatusApi in Kudu
/// Link to the Diagnose and Solve
/// Portal
- /// Link to the Diagnose and Solve
- /// Portal
- public WebSiteInstanceStatus(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SiteRuntimeState? state = default(SiteRuntimeState?), string statusUrl = default(string), string detectorUrl = default(string), string consoleUrl = default(string), IDictionary containers = default(IDictionary))
+ /// Link to the console to web app
+ /// instance
+ /// Link to the console to web app
+ /// instance
+ public WebSiteInstanceStatus(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SiteRuntimeState? state = default(SiteRuntimeState?), string statusUrl = default(string), string detectorUrl = default(string), string consoleUrl = default(string), string healthCheckUrl = default(string), IDictionary containers = default(IDictionary))
: base(id, name, kind, type)
{
State = state;
StatusUrl = statusUrl;
DetectorUrl = detectorUrl;
ConsoleUrl = consoleUrl;
+ HealthCheckUrl = healthCheckUrl;
Containers = containers;
CustomInit();
}
@@ -77,11 +80,17 @@ public WebSiteInstanceStatus()
public string DetectorUrl { get; set; }
///
- /// Gets or sets link to the Diagnose and Solve Portal
+ /// Gets or sets link to the console to web app instance
///
[JsonProperty(PropertyName = "properties.consoleUrl")]
public string ConsoleUrl { get; set; }
+ ///
+ /// Gets or sets link to the console to web app instance
+ ///
+ [JsonProperty(PropertyName = "properties.healthCheckUrl")]
+ public string HealthCheckUrl { get; set; }
+
///
///
[JsonProperty(PropertyName = "properties.containers")]
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/RecommendationsOperations.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/RecommendationsOperations.cs
index bb8740936944..984a84495f08 100644
--- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/RecommendationsOperations.cs
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/RecommendationsOperations.cs
@@ -802,10 +802,10 @@ internal RecommendationsOperations(WebSiteManagementClient client)
}
///
- /// Get all recommendations for an app.
+ /// Get all recommendations for a hosting environment.
///
///
- /// Description for Get all recommendations for an app.
+ /// Description for Get all recommendations for a hosting environment.
///
///
/// Name of the resource group to which the resource belongs.
@@ -3487,10 +3487,10 @@ internal RecommendationsOperations(WebSiteManagementClient client)
}
///
- /// Get all recommendations for an app.
+ /// Get all recommendations for a hosting environment.
///
///
- /// Description for Get all recommendations for an app.
+ /// Description for Get all recommendations for a hosting environment.
///
///
/// The NextLink from the previous successful call to List operation.
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/RecommendationsOperationsExtensions.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/RecommendationsOperationsExtensions.cs
index cfcc8df0d39f..aa2e5a89276f 100644
--- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/RecommendationsOperationsExtensions.cs
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/RecommendationsOperationsExtensions.cs
@@ -224,10 +224,10 @@ public static void DisableRecommendationForSubscription(this IRecommendationsOpe
}
///
- /// Get all recommendations for an app.
+ /// Get all recommendations for a hosting environment.
///
///
- /// Description for Get all recommendations for an app.
+ /// Description for Get all recommendations for a hosting environment.
///
///
/// The operations group for this extension method.
@@ -254,10 +254,10 @@ public static void DisableRecommendationForSubscription(this IRecommendationsOpe
}
///
- /// Get all recommendations for an app.
+ /// Get all recommendations for a hosting environment.
///
///
- /// Description for Get all recommendations for an app.
+ /// Description for Get all recommendations for a hosting environment.
///
///
/// The operations group for this extension method.
@@ -930,10 +930,10 @@ public static IPage ListHistoryForHostingEnvironmentNext(this IR
}
///
- /// Get all recommendations for an app.
+ /// Get all recommendations for a hosting environment.
///
///
- /// Description for Get all recommendations for an app.
+ /// Description for Get all recommendations for a hosting environment.
///
///
/// The operations group for this extension method.
@@ -947,10 +947,10 @@ public static IPage ListRecommendedRulesForHostingEnvironmentNex
}
///
- /// Get all recommendations for an app.
+ /// Get all recommendations for a hosting environment.
///
///
- /// Description for Get all recommendations for an app.
+ /// Description for Get all recommendations for a hosting environment.
///
///
/// The operations group for this extension method.
diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/SdkInfo_WebSiteManagementClient.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/SdkInfo_WebSiteManagementClient.cs
index 6a2ad6e602d2..1c65562c417c 100644
--- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/SdkInfo_WebSiteManagementClient.cs
+++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/SdkInfo_WebSiteManagementClient.cs
@@ -19,47 +19,47 @@ public static IEnumerable> ApiInfo_WebSiteManageme
{
return new Tuple[]
{
- new Tuple("CertificateRegistration", "AppServiceCertificateOrders", "2019-08-01"),
- new Tuple("CertificateRegistration", "CertificateRegistrationProvider", "2019-08-01"),
- new Tuple("DomainRegistration", "DomainRegistrationProvider", "2019-08-01"),
- new Tuple("DomainRegistration", "Domains", "2019-08-01"),
- new Tuple("DomainRegistration", "TopLevelDomains", "2019-08-01"),
- new Tuple("Web", "AppServiceEnvironments", "2019-08-01"),
- new Tuple("Web", "AppServicePlans", "2019-08-01"),
- new Tuple("Web", "Certificates", "2019-08-01"),
- new Tuple