From 42719eb11add7736f7bbf1041c5424b762656720 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 10 Dec 2020 08:51:19 +0000 Subject: [PATCH] CodeGen from PR 12059 in Azure/azure-rest-api-specs Merge 18ca4783df395218a66be4112ed62ab341f39ef6 into 482bb06930d3a1e20f51cdecb85fc410f39cbf11 --- .../src/Generated/IStaticSitesOperations.cs | 30 +++ .../src/Generated/IWebSiteManagementClient.cs | 21 ++ .../src/Generated/Models/AddressResponse.cs | 6 +- .../Models/AllowedAudiencesValidation.cs | 6 +- .../Generated/Models/AnalysisDefinition.cs | 6 +- .../src/Generated/Models/AppRegistration.cs | 6 +- .../Models/AppServiceCertificateOrder.cs | 6 +- ...AppServiceCertificateOrderPatchResource.cs | 6 +- .../AppServiceCertificatePatchResource.cs | 6 +- .../Models/AppServiceCertificateResource.cs | 6 +- .../AppServiceEnvironmentPatchResource.cs | 6 +- .../Models/AppServiceEnvironmentResource.cs | 6 +- .../src/Generated/Models/AppServicePlan.cs | 6 +- .../Models/AppServicePlanPatchResource.cs | 6 +- .../Models/ApplicationStackResource.cs | 6 +- .../Generated/Models/AppserviceGithubToken.cs | 87 ++++++++ .../Models/AppserviceGithubTokenRequest.cs | 80 +++++++ .../src/Generated/Models/AuthPlatform.cs | 6 +- .../Generated/Models/AzureActiveDirectory.cs | 6 +- .../Models/AzureActiveDirectoryLogin.cs | 6 +- .../AzureActiveDirectoryRegistration.cs | 6 +- .../Models/AzureActiveDirectoryValidation.cs | 6 +- .../AzureStoragePropertyDictionaryResource.cs | 6 +- .../src/Generated/Models/BackupItem.cs | 6 +- .../src/Generated/Models/BackupRequest.cs | 6 +- .../src/Generated/Models/BillingMeter.cs | 6 +- .../Generated/Models/BlobStorageTokenStore.cs | 6 +- .../src/Generated/Models/Certificate.cs | 6 +- .../src/Generated/Models/CertificateEmail.cs | 6 +- .../Models/CertificateOrderAction.cs | 6 +- .../Models/CertificatePatchResource.cs | 6 +- .../Generated/Models/ClientRegistration.cs | 6 +- .../Models/ConnectionStringDictionary.cs | 6 +- .../src/Generated/Models/ContinuousWebJob.cs | 6 +- .../src/Generated/Models/CookieExpiration.cs | 6 +- .../src/Generated/Models/CreatedByType.cs | 24 +++ ...PublishingCredentialsPoliciesCollection.cs | 6 +- .../CsmPublishingCredentialsPoliciesEntity.cs | 6 +- .../Models/CustomHostnameAnalysisResult.cs | 6 +- .../Models/CustomOpenIdConnectProvider.cs | 6 +- .../Models/DeletedAppRestoreRequest.cs | 6 +- .../src/Generated/Models/DeletedSite.cs | 6 +- .../src/Generated/Models/Deployment.cs | 6 +- .../Generated/Models/DetectorDefinition.cs | 6 +- .../src/Generated/Models/DetectorResponse.cs | 6 +- .../Generated/Models/DiagnosticAnalysis.cs | 6 +- .../Generated/Models/DiagnosticCategory.cs | 6 +- .../Models/DiagnosticDetectorResponse.cs | 6 +- .../src/Generated/Models/Domain.cs | 6 +- .../Models/DomainOwnershipIdentifier.cs | 6 +- .../Generated/Models/DomainPatchResource.cs | 6 +- .../src/Generated/Models/Facebook.cs | 6 +- .../Generated/Models/FileSystemTokenStore.cs | 6 +- .../src/Generated/Models/ForwardProxy.cs | 6 +- .../src/Generated/Models/FunctionEnvelope.cs | 6 +- .../src/Generated/Models/GeoRegion.cs | 6 +- .../src/Generated/Models/GitHub.cs | 6 +- .../src/Generated/Models/GlobalValidation.cs | 6 +- .../src/Generated/Models/Google.cs | 6 +- .../src/Generated/Models/HostNameBinding.cs | 6 +- .../src/Generated/Models/HttpSettings.cs | 6 +- .../Generated/Models/HttpSettingsRoutes.cs | 6 +- .../src/Generated/Models/HybridConnection.cs | 6 +- .../Generated/Models/HybridConnectionKey.cs | 6 +- .../Models/HybridConnectionLimits.cs | 6 +- .../src/Generated/Models/Identifier.cs | 6 +- .../src/Generated/Models/IdentityProviders.cs | 6 +- .../src/Generated/Models/JwtClaimChecks.cs | 6 +- .../src/Generated/Models/Login.cs | 6 +- .../src/Generated/Models/LoginRoutes.cs | 6 +- .../src/Generated/Models/LoginScopes.cs | 6 +- .../src/Generated/Models/MSDeploy.cs | 6 +- .../src/Generated/Models/MSDeployLog.cs | 6 +- .../src/Generated/Models/MSDeployStatus.cs | 6 +- .../Generated/Models/MigrateMySqlRequest.cs | 6 +- .../Generated/Models/MigrateMySqlStatus.cs | 6 +- .../src/Generated/Models/NetworkFeatures.cs | 6 +- .../src/Generated/Models/Nonce.cs | 6 +- .../Models/OpenIdConnectClientCredential.cs | 6 +- .../Generated/Models/OpenIdConnectConfig.cs | 6 +- .../Generated/Models/OpenIdConnectLogin.cs | 6 +- .../Models/OpenIdConnectRegistration.cs | 6 +- .../src/Generated/Models/PremierAddOn.cs | 6 +- .../src/Generated/Models/PremierAddOnOffer.cs | 6 +- .../Models/PremierAddOnPatchResource.cs | 6 +- .../src/Generated/Models/PrivateAccess.cs | 6 +- .../PrivateEndpointConnectionResource.cs | 6 +- ...teLinkConnectionApprovalRequestResource.cs | 6 +- .../src/Generated/Models/ProcessInfo.cs | 6 +- .../src/Generated/Models/ProcessModuleInfo.cs | 6 +- .../src/Generated/Models/ProcessThreadInfo.cs | 6 +- .../src/Generated/Models/ProxyOnlyResource.cs | 11 +- .../src/Generated/Models/PublicCertificate.cs | 6 +- .../src/Generated/Models/PushSettings.cs | 6 +- .../src/Generated/Models/Recommendation.cs | 6 +- .../Generated/Models/RecommendationRule.cs | 6 +- .../Models/ReissueCertificateOrderRequest.cs | 6 +- .../Models/RelayServiceConnectionEntity.cs | 6 +- .../Models/RenewCertificateOrderRequest.cs | 6 +- .../src/Generated/Models/Resource.cs | 11 +- .../Models/ResourceHealthMetadata.cs | 6 +- .../Models/ResourceMetricDefinition.cs | 6 +- .../src/Generated/Models/RestoreRequest.cs | 6 +- .../src/Generated/Models/Site.cs | 6 +- .../src/Generated/Models/SiteAuthSettings.cs | 6 +- .../Generated/Models/SiteAuthSettingsV2.cs | 6 +- .../src/Generated/Models/SiteConfig.cs | 37 +++- .../Generated/Models/SiteConfigResource.cs | 41 +++- .../Models/SiteConfigurationSnapshotInfo.cs | 6 +- .../src/Generated/Models/SiteExtensionInfo.cs | 6 +- .../src/Generated/Models/SiteLogsConfig.cs | 6 +- .../src/Generated/Models/SitePatchResource.cs | 6 +- .../Generated/Models/SitePhpErrorLogFlag.cs | 6 +- .../src/Generated/Models/SiteSourceControl.cs | 6 +- .../Models/SlotConfigNamesResource.cs | 6 +- .../src/Generated/Models/SlotDifference.cs | 6 +- .../src/Generated/Models/Snapshot.cs | 6 +- .../Models/SnapshotRestoreRequest.cs | 6 +- .../src/Generated/Models/SourceControl.cs | 6 +- .../Generated/Models/StaticSiteARMResource.cs | 6 +- .../Models/StaticSiteBuildARMResource.cs | 6 +- ...aticSiteCustomDomainOverviewARMResource.cs | 6 +- .../StaticSiteFunctionOverviewARMResource.cs | 6 +- .../Models/StaticSitePatchResource.cs | 6 +- .../StaticSiteResetPropertiesARMResource.cs | 6 +- .../Models/StaticSiteUserARMResource.cs | 6 +- ...StaticSiteUserInvitationRequestResource.cs | 6 +- ...taticSiteUserInvitationResponseResource.cs | 6 +- .../Models/StaticSitesWorkflowPreview.cs | 71 +++++++ .../StaticSitesWorkflowPreviewRequest.cs | 81 +++++++ .../Models/StorageMigrationOptions.cs | 6 +- .../Models/StorageMigrationResponse.cs | 6 +- .../src/Generated/Models/StringDictionary.cs | 6 +- .../Generated/Models/SwiftVirtualNetwork.cs | 6 +- .../src/Generated/Models/SystemData.cs | 103 +++++++++ .../src/Generated/Models/TokenStore.cs | 6 +- .../src/Generated/Models/TopLevelDomain.cs | 6 +- .../Generated/Models/TriggeredJobHistory.cs | 6 +- .../src/Generated/Models/TriggeredJobRun.cs | 6 +- .../src/Generated/Models/TriggeredWebJob.cs | 6 +- .../src/Generated/Models/Twitter.cs | 6 +- .../Generated/Models/TwitterRegistration.cs | 6 +- .../src/Generated/Models/Usage.cs | 6 +- .../src/Generated/Models/User.cs | 6 +- .../src/Generated/Models/VnetGateway.cs | 6 +- .../src/Generated/Models/VnetInfo.cs | 6 +- .../src/Generated/Models/VnetParameters.cs | 6 +- .../src/Generated/Models/VnetRoute.cs | 6 +- .../Models/VnetValidationFailureDetails.cs | 6 +- .../Models/VnetValidationTestFailure.cs | 6 +- .../src/Generated/Models/WebJob.cs | 6 +- .../Generated/Models/WebSiteInstanceStatus.cs | 6 +- .../Generated/Models/WorkerPoolResource.cs | 6 +- .../SdkInfo_WebSiteManagementClient.cs | 74 +++---- .../src/Generated/StaticSitesOperations.cs | 200 ++++++++++++++++++ .../StaticSitesOperationsExtensions.cs | 48 +++++ .../src/Generated/WebSiteManagementClient.cs | 200 +++++++++++++++++- .../WebSiteManagementClientExtensions.cs | 46 ++++ 158 files changed, 1681 insertions(+), 330 deletions(-) create mode 100644 sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppserviceGithubToken.cs create mode 100644 sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppserviceGithubTokenRequest.cs create mode 100644 sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CreatedByType.cs create mode 100644 sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSitesWorkflowPreview.cs create mode 100644 sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSitesWorkflowPreviewRequest.cs create mode 100644 sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SystemData.cs diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/IStaticSitesOperations.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/IStaticSitesOperations.cs index d417e4d033a4..b737dedb0dfa 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/IStaticSitesOperations.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/IStaticSitesOperations.cs @@ -23,6 +23,36 @@ namespace Microsoft.Azure.Management.WebSites /// public partial interface IStaticSitesOperations { + /// + /// Generates a preview workflow file for the static site + /// + /// + /// Description for Generates a preview workflow file for the static + /// site + /// + /// + /// Location where you plan to create the static site. + /// + /// + /// A JSON representation of the StaticSitesWorkflowPreviewRequest + /// properties. See example. + /// + /// + /// 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> PreviewWorkflowWithHttpMessagesAsync(string location, StaticSitesWorkflowPreviewRequest staticSitesWorkflowPreviewRequest, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Get all Static Sites for a subscription. /// diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/IWebSiteManagementClient.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/IWebSiteManagementClient.cs index 3481e85ddd9b..853f40ef83d4 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/IWebSiteManagementClient.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/IWebSiteManagementClient.cs @@ -149,6 +149,27 @@ public partial interface IWebSiteManagementClient : System.IDisposable /// IResourceHealthMetadataOperations ResourceHealthMetadata { get; } + /// + /// Exchange code for GitHub access token for AppService CLI + /// + /// + /// Description for Exchange code for GitHub access token for + /// AppService CLI + /// + /// + /// Code string to exchange for Github Access token + /// + /// + /// State string used for verification. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> GenerateGithubAccessTokenForAppserviceCLIAsyncWithHttpMessagesAsync(string code, string state, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Gets publishing user /// diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AddressResponse.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AddressResponse.cs index 879dbaad9a28..d4a8bfafcce4 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AddressResponse.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AddressResponse.cs @@ -38,6 +38,8 @@ public AddressResponse() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Main public virtual IP. /// Virtual Network internal IP address /// of the App Service Environment if it is in internal load-balancing @@ -45,8 +47,8 @@ public AddressResponse() /// IP addresses appearing on /// outbound connections. /// Additional virtual IPs. - public AddressResponse(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string serviceIpAddress = default(string), string internalIpAddress = default(string), IList outboundIpAddresses = default(IList), IList vipMappings = default(IList)) - : base(id, name, kind, type) + public AddressResponse(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string serviceIpAddress = default(string), string internalIpAddress = default(string), IList outboundIpAddresses = default(IList), IList vipMappings = default(IList)) + : base(id, name, kind, type, systemData) { ServiceIpAddress = serviceIpAddress; InternalIpAddress = internalIpAddress; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AllowedAudiencesValidation.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AllowedAudiencesValidation.cs index 7af8c086f3f3..9f0841de41cf 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AllowedAudiencesValidation.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AllowedAudiencesValidation.cs @@ -35,8 +35,10 @@ public AllowedAudiencesValidation() /// Resource Name. /// Kind of resource. /// Resource type. - 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) + /// The system metadata relating to this + /// resource. + public AllowedAudiencesValidation(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), IList allowedAudiences = default(IList)) + : base(id, name, kind, type, systemData) { AllowedAudiences = allowedAudiences; CustomInit(); diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AnalysisDefinition.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AnalysisDefinition.cs index 69956364b44c..c52533546d5c 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AnalysisDefinition.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AnalysisDefinition.cs @@ -36,9 +36,11 @@ public AnalysisDefinition() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Description of the Analysis - public AnalysisDefinition(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string description = default(string)) - : base(id, name, kind, type) + public AnalysisDefinition(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string description = default(string)) + : base(id, name, kind, type, systemData) { Description = description; CustomInit(); 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 index a1e6ff47661a..2c256da60814 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppRegistration.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppRegistration.cs @@ -33,8 +33,10 @@ public AppRegistration() /// 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) + /// The system metadata relating to this + /// resource. + public AppRegistration(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string appId = default(string), string appSecretSettingName = default(string)) + : base(id, name, kind, type, systemData) { AppId = appId; AppSecretSettingName = appSecretSettingName; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppServiceCertificateOrder.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppServiceCertificateOrder.cs index fba67b6ee17a..954237f1eebe 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppServiceCertificateOrder.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppServiceCertificateOrder.cs @@ -43,6 +43,8 @@ public AppServiceCertificateOrder() /// Kind of resource. /// Resource type. /// Resource tags. + /// The system metadata relating to this + /// resource. /// State of the Key Vault secret. /// Certificate distinguished /// name. @@ -78,8 +80,8 @@ public AppServiceCertificateOrder() /// moment. /// Time stamp when the /// certificate would be auto renewed next - public AppServiceCertificateOrder(string location, CertificateProductType productType, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), IDictionary tags = default(IDictionary), IDictionary certificates = default(IDictionary), string distinguishedName = default(string), string domainVerificationToken = default(string), int? validityInYears = default(int?), int? keySize = default(int?), bool? autoRenew = default(bool?), ProvisioningState? provisioningState = default(ProvisioningState?), CertificateOrderStatus? status = default(CertificateOrderStatus?), CertificateDetails signedCertificate = default(CertificateDetails), string csr = default(string), CertificateDetails intermediate = default(CertificateDetails), CertificateDetails root = default(CertificateDetails), string serialNumber = default(string), System.DateTime? lastCertificateIssuanceTime = default(System.DateTime?), System.DateTime? expirationTime = default(System.DateTime?), bool? isPrivateKeyExternal = default(bool?), IList appServiceCertificateNotRenewableReasons = default(IList), System.DateTime? nextAutoRenewalTimeStamp = default(System.DateTime?)) - : base(location, id, name, kind, type, tags) + public AppServiceCertificateOrder(string location, CertificateProductType productType, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), IDictionary tags = default(IDictionary), SystemData systemData = default(SystemData), IDictionary certificates = default(IDictionary), string distinguishedName = default(string), string domainVerificationToken = default(string), int? validityInYears = default(int?), int? keySize = default(int?), bool? autoRenew = default(bool?), ProvisioningState? provisioningState = default(ProvisioningState?), CertificateOrderStatus? status = default(CertificateOrderStatus?), CertificateDetails signedCertificate = default(CertificateDetails), string csr = default(string), CertificateDetails intermediate = default(CertificateDetails), CertificateDetails root = default(CertificateDetails), string serialNumber = default(string), System.DateTime? lastCertificateIssuanceTime = default(System.DateTime?), System.DateTime? expirationTime = default(System.DateTime?), bool? isPrivateKeyExternal = default(bool?), IList appServiceCertificateNotRenewableReasons = default(IList), System.DateTime? nextAutoRenewalTimeStamp = default(System.DateTime?)) + : base(location, id, name, kind, type, tags, systemData) { Certificates = certificates; DistinguishedName = distinguishedName; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppServiceCertificateOrderPatchResource.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppServiceCertificateOrderPatchResource.cs index a9284452f4d4..382e0ba5bd8b 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppServiceCertificateOrderPatchResource.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppServiceCertificateOrderPatchResource.cs @@ -43,6 +43,8 @@ public AppServiceCertificateOrderPatchResource() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// State of the Key Vault secret. /// Certificate distinguished /// name. @@ -78,8 +80,8 @@ public AppServiceCertificateOrderPatchResource() /// moment. /// Time stamp when the /// certificate would be auto renewed next - public AppServiceCertificateOrderPatchResource(CertificateProductType productType, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), IDictionary certificates = default(IDictionary), string distinguishedName = default(string), string domainVerificationToken = default(string), int? validityInYears = default(int?), int? keySize = default(int?), bool? autoRenew = default(bool?), ProvisioningState? provisioningState = default(ProvisioningState?), CertificateOrderStatus? status = default(CertificateOrderStatus?), CertificateDetails signedCertificate = default(CertificateDetails), string csr = default(string), CertificateDetails intermediate = default(CertificateDetails), CertificateDetails root = default(CertificateDetails), string serialNumber = default(string), System.DateTime? lastCertificateIssuanceTime = default(System.DateTime?), System.DateTime? expirationTime = default(System.DateTime?), bool? isPrivateKeyExternal = default(bool?), IList appServiceCertificateNotRenewableReasons = default(IList), System.DateTime? nextAutoRenewalTimeStamp = default(System.DateTime?)) - : base(id, name, kind, type) + public AppServiceCertificateOrderPatchResource(CertificateProductType productType, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), IDictionary certificates = default(IDictionary), string distinguishedName = default(string), string domainVerificationToken = default(string), int? validityInYears = default(int?), int? keySize = default(int?), bool? autoRenew = default(bool?), ProvisioningState? provisioningState = default(ProvisioningState?), CertificateOrderStatus? status = default(CertificateOrderStatus?), CertificateDetails signedCertificate = default(CertificateDetails), string csr = default(string), CertificateDetails intermediate = default(CertificateDetails), CertificateDetails root = default(CertificateDetails), string serialNumber = default(string), System.DateTime? lastCertificateIssuanceTime = default(System.DateTime?), System.DateTime? expirationTime = default(System.DateTime?), bool? isPrivateKeyExternal = default(bool?), IList appServiceCertificateNotRenewableReasons = default(IList), System.DateTime? nextAutoRenewalTimeStamp = default(System.DateTime?)) + : base(id, name, kind, type, systemData) { Certificates = certificates; DistinguishedName = distinguishedName; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppServiceCertificatePatchResource.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppServiceCertificatePatchResource.cs index cabf8228ef12..6f377a1fbab6 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppServiceCertificatePatchResource.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppServiceCertificatePatchResource.cs @@ -39,6 +39,8 @@ public AppServiceCertificatePatchResource() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Key Vault resource Id. /// Key Vault secret name. /// Status of the Key Vault secret. @@ -48,8 +50,8 @@ public AppServiceCertificatePatchResource() /// 'AzureServiceUnauthorizedToAccessKeyVault', 'KeyVaultDoesNotExist', /// 'KeyVaultSecretDoesNotExist', 'UnknownError', 'ExternalPrivateKey', /// 'Unknown' - public AppServiceCertificatePatchResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string keyVaultId = default(string), string keyVaultSecretName = default(string), KeyVaultSecretStatus? provisioningState = default(KeyVaultSecretStatus?)) - : base(id, name, kind, type) + public AppServiceCertificatePatchResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string keyVaultId = default(string), string keyVaultSecretName = default(string), KeyVaultSecretStatus? provisioningState = default(KeyVaultSecretStatus?)) + : base(id, name, kind, type, systemData) { KeyVaultId = keyVaultId; KeyVaultSecretName = keyVaultSecretName; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppServiceCertificateResource.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppServiceCertificateResource.cs index a9b3c95a4df4..46eaf7f034b9 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppServiceCertificateResource.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppServiceCertificateResource.cs @@ -43,6 +43,8 @@ public AppServiceCertificateResource() /// Kind of resource. /// Resource type. /// Resource tags. + /// The system metadata relating to this + /// resource. /// Key Vault resource Id. /// Key Vault secret name. /// Status of the Key Vault secret. @@ -52,8 +54,8 @@ public AppServiceCertificateResource() /// 'AzureServiceUnauthorizedToAccessKeyVault', 'KeyVaultDoesNotExist', /// 'KeyVaultSecretDoesNotExist', 'UnknownError', 'ExternalPrivateKey', /// 'Unknown' - public AppServiceCertificateResource(string location, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), IDictionary tags = default(IDictionary), string keyVaultId = default(string), string keyVaultSecretName = default(string), KeyVaultSecretStatus? provisioningState = default(KeyVaultSecretStatus?)) - : base(location, id, name, kind, type, tags) + public AppServiceCertificateResource(string location, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), IDictionary tags = default(IDictionary), SystemData systemData = default(SystemData), string keyVaultId = default(string), string keyVaultSecretName = default(string), KeyVaultSecretStatus? provisioningState = default(KeyVaultSecretStatus?)) + : base(location, id, name, kind, type, tags, systemData) { KeyVaultId = keyVaultId; KeyVaultSecretName = keyVaultSecretName; 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 bf9e55680b03..94285fc0bb20 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 @@ -48,6 +48,8 @@ public AppServiceEnvironmentPatchResource() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Provisioning state of the App /// Service Environment. Possible values include: 'Succeeded', /// 'Failed', 'Canceled', 'InProgress', 'Deleting' @@ -126,8 +128,8 @@ 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), 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) + 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), SystemData systemData = default(SystemData), 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, systemData) { AppServiceEnvironmentPatchResourceName = appServiceEnvironmentPatchResourceName; Location = location; 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 910c484a40d3..f7ce85e28f33 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 @@ -50,6 +50,8 @@ public AppServiceEnvironmentResource() /// Kind of resource. /// Resource type. /// Resource tags. + /// The system metadata relating to this + /// resource. /// Provisioning state of the App /// Service Environment. Possible values include: 'Succeeded', /// 'Failed', 'Canceled', 'InProgress', 'Deleting' @@ -128,8 +130,8 @@ 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), 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) + 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), SystemData systemData = default(SystemData), 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, systemData) { AppServiceEnvironmentResourceName = appServiceEnvironmentResourceName; AppServiceEnvironmentResourceLocation = appServiceEnvironmentResourceLocation; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppServicePlan.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppServicePlan.cs index 6f5f763da3eb..6ac4f1154934 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppServicePlan.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppServicePlan.cs @@ -40,6 +40,8 @@ public AppServicePlan() /// Kind of resource. /// Resource type. /// Resource tags. + /// The system metadata relating to this + /// resource. /// Target worker tier assigned to the App /// Service plan. /// App Service plan status. Possible values @@ -82,8 +84,8 @@ public AppServicePlan() /// Provisioning state of the App /// Service Environment. Possible values include: 'Succeeded', /// 'Failed', 'Canceled', 'InProgress', 'Deleting' - public AppServicePlan(string location, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), IDictionary tags = default(IDictionary), string workerTierName = default(string), StatusOptions? status = default(StatusOptions?), string subscription = default(string), HostingEnvironmentProfile hostingEnvironmentProfile = default(HostingEnvironmentProfile), int? maximumNumberOfWorkers = default(int?), string geoRegion = default(string), bool? perSiteScaling = default(bool?), int? maximumElasticWorkerCount = default(int?), int? numberOfSites = default(int?), bool? isSpot = default(bool?), System.DateTime? spotExpirationTime = default(System.DateTime?), System.DateTime? freeOfferExpirationTime = default(System.DateTime?), string resourceGroup = default(string), bool? reserved = default(bool?), bool? isXenon = default(bool?), bool? hyperV = default(bool?), int? targetWorkerCount = default(int?), int? targetWorkerSizeId = default(int?), ProvisioningState? provisioningState = default(ProvisioningState?), SkuDescription sku = default(SkuDescription)) - : base(location, id, name, kind, type, tags) + public AppServicePlan(string location, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), IDictionary tags = default(IDictionary), SystemData systemData = default(SystemData), string workerTierName = default(string), StatusOptions? status = default(StatusOptions?), string subscription = default(string), HostingEnvironmentProfile hostingEnvironmentProfile = default(HostingEnvironmentProfile), int? maximumNumberOfWorkers = default(int?), string geoRegion = default(string), bool? perSiteScaling = default(bool?), int? maximumElasticWorkerCount = default(int?), int? numberOfSites = default(int?), bool? isSpot = default(bool?), System.DateTime? spotExpirationTime = default(System.DateTime?), System.DateTime? freeOfferExpirationTime = default(System.DateTime?), string resourceGroup = default(string), bool? reserved = default(bool?), bool? isXenon = default(bool?), bool? hyperV = default(bool?), int? targetWorkerCount = default(int?), int? targetWorkerSizeId = default(int?), ProvisioningState? provisioningState = default(ProvisioningState?), SkuDescription sku = default(SkuDescription)) + : base(location, id, name, kind, type, tags, systemData) { WorkerTierName = workerTierName; Status = status; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppServicePlanPatchResource.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppServicePlanPatchResource.cs index 55716222a405..c7a1312656b0 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppServicePlanPatchResource.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppServicePlanPatchResource.cs @@ -38,6 +38,8 @@ public AppServicePlanPatchResource() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Target worker tier assigned to the App /// Service plan. /// App Service plan status. Possible values @@ -82,8 +84,8 @@ public AppServicePlanPatchResource() /// Provisioning state of the App /// Service Environment. Possible values include: 'Succeeded', /// 'Failed', 'Canceled', 'InProgress', 'Deleting' - public AppServicePlanPatchResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string workerTierName = default(string), StatusOptions? status = default(StatusOptions?), string subscription = default(string), HostingEnvironmentProfile hostingEnvironmentProfile = default(HostingEnvironmentProfile), int? maximumNumberOfWorkers = default(int?), string geoRegion = default(string), bool? perSiteScaling = default(bool?), int? maximumElasticWorkerCount = default(int?), int? numberOfSites = default(int?), bool? isSpot = default(bool?), System.DateTime? spotExpirationTime = default(System.DateTime?), System.DateTime? freeOfferExpirationTime = default(System.DateTime?), string resourceGroup = default(string), bool? reserved = default(bool?), bool? isXenon = default(bool?), bool? hyperV = default(bool?), int? targetWorkerCount = default(int?), int? targetWorkerSizeId = default(int?), ProvisioningState? provisioningState = default(ProvisioningState?)) - : base(id, name, kind, type) + public AppServicePlanPatchResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string workerTierName = default(string), StatusOptions? status = default(StatusOptions?), string subscription = default(string), HostingEnvironmentProfile hostingEnvironmentProfile = default(HostingEnvironmentProfile), int? maximumNumberOfWorkers = default(int?), string geoRegion = default(string), bool? perSiteScaling = default(bool?), int? maximumElasticWorkerCount = default(int?), int? numberOfSites = default(int?), bool? isSpot = default(bool?), System.DateTime? spotExpirationTime = default(System.DateTime?), System.DateTime? freeOfferExpirationTime = default(System.DateTime?), string resourceGroup = default(string), bool? reserved = default(bool?), bool? isXenon = default(bool?), bool? hyperV = default(bool?), int? targetWorkerCount = default(int?), int? targetWorkerSizeId = default(int?), ProvisioningState? provisioningState = default(ProvisioningState?)) + : base(id, name, kind, type, systemData) { WorkerTierName = workerTierName; Status = status; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ApplicationStackResource.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ApplicationStackResource.cs index ac8153b7ec12..245abefb0776 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ApplicationStackResource.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ApplicationStackResource.cs @@ -38,6 +38,8 @@ public ApplicationStackResource() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Application stack /// name. /// Application stack display name. @@ -46,8 +48,8 @@ public ApplicationStackResource() /// available. /// List of frameworks associated with /// application stack. - public ApplicationStackResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string applicationStackResourceName = default(string), string display = default(string), string dependency = default(string), IList majorVersions = default(IList), IList frameworks = default(IList)) - : base(id, name, kind, type) + public ApplicationStackResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string applicationStackResourceName = default(string), string display = default(string), string dependency = default(string), IList majorVersions = default(IList), IList frameworks = default(IList)) + : base(id, name, kind, type, systemData) { ApplicationStackResourceName = applicationStackResourceName; Display = display; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppserviceGithubToken.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppserviceGithubToken.cs new file mode 100644 index 000000000000..a4a1226ce6af --- /dev/null +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppserviceGithubToken.cs @@ -0,0 +1,87 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.WebSites.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Github access token for Appservice CLI github integration. + /// + public partial class AppserviceGithubToken + { + /// + /// Initializes a new instance of the AppserviceGithubToken class. + /// + public AppserviceGithubToken() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the AppserviceGithubToken class. + /// + /// Github access token for Appservice CLI + /// github integration + /// Scope of the github access token + /// token type + /// True if valid github token received, False + /// otherwise + /// Error message if unable to get + /// token + public AppserviceGithubToken(string accessToken = default(string), string scope = default(string), string tokenType = default(string), bool? gotToken = default(bool?), string errorMessage = default(string)) + { + AccessToken = accessToken; + Scope = scope; + TokenType = tokenType; + GotToken = gotToken; + ErrorMessage = errorMessage; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets github access token for Appservice CLI github + /// integration + /// + [JsonProperty(PropertyName = "accessToken")] + public string AccessToken { get; set; } + + /// + /// Gets or sets scope of the github access token + /// + [JsonProperty(PropertyName = "scope")] + public string Scope { get; set; } + + /// + /// Gets or sets token type + /// + [JsonProperty(PropertyName = "tokenType")] + public string TokenType { get; set; } + + /// + /// Gets or sets true if valid github token received, False otherwise + /// + [JsonProperty(PropertyName = "gotToken")] + public bool? GotToken { get; set; } + + /// + /// Gets or sets error message if unable to get token + /// + [JsonProperty(PropertyName = "errorMessage")] + public string ErrorMessage { get; set; } + + } +} diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppserviceGithubTokenRequest.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppserviceGithubTokenRequest.cs new file mode 100644 index 000000000000..e99bcc39cb0f --- /dev/null +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AppserviceGithubTokenRequest.cs @@ -0,0 +1,80 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.WebSites.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Appservice Github token request content. + /// + public partial class AppserviceGithubTokenRequest + { + /// + /// Initializes a new instance of the AppserviceGithubTokenRequest + /// class. + /// + public AppserviceGithubTokenRequest() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the AppserviceGithubTokenRequest + /// class. + /// + /// Code string to exchange for Github Access + /// token + /// State string used for verification. + public AppserviceGithubTokenRequest(string code, string state) + { + Code = code; + State = state; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets code string to exchange for Github Access token + /// + [JsonProperty(PropertyName = "code")] + public string Code { get; set; } + + /// + /// Gets or sets state string used for verification. + /// + [JsonProperty(PropertyName = "state")] + public string State { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Code == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Code"); + } + if (State == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "State"); + } + } + } +} 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 index fcb76de8feff..fd33beba620a 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AuthPlatform.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AuthPlatform.cs @@ -33,8 +33,10 @@ public AuthPlatform() /// 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) + /// The system metadata relating to this + /// resource. + public AuthPlatform(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), bool? enabled = default(bool?), string runtimeVersion = default(string), string configFilePath = default(string)) + : base(id, name, kind, type, systemData) { Enabled = enabled; RuntimeVersion = runtimeVersion; 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 index 1adab0d29484..bec9f5d1f290 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AzureActiveDirectory.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AzureActiveDirectory.cs @@ -33,8 +33,10 @@ public AzureActiveDirectory() /// 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) + /// The system metadata relating to this + /// resource. + public AzureActiveDirectory(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), 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, systemData) { Enabled = enabled; Registration = registration; 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 index 108a38b756cf..beac4d992ee3 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AzureActiveDirectoryLogin.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AzureActiveDirectoryLogin.cs @@ -35,8 +35,10 @@ public AzureActiveDirectoryLogin() /// 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) + /// The system metadata relating to this + /// resource. + public AzureActiveDirectoryLogin(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), bool? disableWWWAuthenticate = default(bool?), IList loginParameters = default(IList)) + : base(id, name, kind, type, systemData) { DisableWWWAuthenticate = disableWWWAuthenticate; LoginParameters = loginParameters; 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 index 28c6a7986420..23523e0a4c91 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AzureActiveDirectoryRegistration.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AzureActiveDirectoryRegistration.cs @@ -35,8 +35,10 @@ public AzureActiveDirectoryRegistration() /// 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) + /// The system metadata relating to this + /// resource. + public AzureActiveDirectoryRegistration(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string openIdIssuer = default(string), string clientId = default(string), string clientSecretSettingName = default(string), string clientSecretCertificateThumbprint = default(string)) + : base(id, name, kind, type, systemData) { OpenIdIssuer = openIdIssuer; ClientId = clientId; 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 index 4122b36d7f76..1e5b247353d9 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AzureActiveDirectoryValidation.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AzureActiveDirectoryValidation.cs @@ -37,8 +37,10 @@ public AzureActiveDirectoryValidation() /// 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) + /// The system metadata relating to this + /// resource. + public AzureActiveDirectoryValidation(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), JwtClaimChecks jwtClaimChecks = default(JwtClaimChecks), IList allowedAudiences = default(IList)) + : base(id, name, kind, type, systemData) { JwtClaimChecks = jwtClaimChecks; AllowedAudiences = allowedAudiences; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AzureStoragePropertyDictionaryResource.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AzureStoragePropertyDictionaryResource.cs index 331960cea659..57fd0c092cf7 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AzureStoragePropertyDictionaryResource.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AzureStoragePropertyDictionaryResource.cs @@ -37,9 +37,11 @@ public AzureStoragePropertyDictionaryResource() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Azure storage accounts. - public AzureStoragePropertyDictionaryResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), IDictionary properties = default(IDictionary)) - : base(id, name, kind, type) + public AzureStoragePropertyDictionaryResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), IDictionary properties = default(IDictionary)) + : base(id, name, kind, type, systemData) { Properties = properties; CustomInit(); diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/BackupItem.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/BackupItem.cs index d88db9a81169..49c7c7d595a7 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/BackupItem.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/BackupItem.cs @@ -38,6 +38,8 @@ public BackupItem() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Id of the backup. /// SAS URL for the storage account /// container which contains this backup. @@ -65,8 +67,8 @@ public BackupItem() /// support. /// Size of the original web app which /// has been backed up. - public BackupItem(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), int? backupId = default(int?), string storageAccountUrl = default(string), string blobName = default(string), string backupItemName = default(string), BackupItemStatus? status = default(BackupItemStatus?), long? sizeInBytes = default(long?), System.DateTime? created = default(System.DateTime?), string log = default(string), IList databases = default(IList), bool? scheduled = default(bool?), System.DateTime? lastRestoreTimeStamp = default(System.DateTime?), System.DateTime? finishedTimeStamp = default(System.DateTime?), string correlationId = default(string), long? websiteSizeInBytes = default(long?)) - : base(id, name, kind, type) + public BackupItem(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), int? backupId = default(int?), string storageAccountUrl = default(string), string blobName = default(string), string backupItemName = default(string), BackupItemStatus? status = default(BackupItemStatus?), long? sizeInBytes = default(long?), System.DateTime? created = default(System.DateTime?), string log = default(string), IList databases = default(IList), bool? scheduled = default(bool?), System.DateTime? lastRestoreTimeStamp = default(System.DateTime?), System.DateTime? finishedTimeStamp = default(System.DateTime?), string correlationId = default(string), long? websiteSizeInBytes = default(long?)) + : base(id, name, kind, type, systemData) { BackupId = backupId; StorageAccountUrl = storageAccountUrl; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/BackupRequest.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/BackupRequest.cs index 8a5bda6bc021..3c5db51538e6 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/BackupRequest.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/BackupRequest.cs @@ -39,6 +39,8 @@ public BackupRequest() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Name of the backup. /// True if the backup schedule is enabled (must /// be included in that case), false if the backup schedule should be @@ -46,8 +48,8 @@ public BackupRequest() /// Schedule for the backup if it is /// executed periodically. /// Databases included in the backup. - public BackupRequest(string storageAccountUrl, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string backupName = default(string), bool? enabled = default(bool?), BackupSchedule backupSchedule = default(BackupSchedule), IList databases = default(IList)) - : base(id, name, kind, type) + public BackupRequest(string storageAccountUrl, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string backupName = default(string), bool? enabled = default(bool?), BackupSchedule backupSchedule = default(BackupSchedule), IList databases = default(IList)) + : base(id, name, kind, type, systemData) { BackupName = backupName; Enabled = enabled; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/BillingMeter.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/BillingMeter.cs index 2e6698cad5cd..019b54408f66 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/BillingMeter.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/BillingMeter.cs @@ -37,6 +37,8 @@ public BillingMeter() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Meter GUID onboarded in Commerce /// Azure Location of billable /// resource @@ -46,8 +48,8 @@ public BillingMeter() /// App Service ResourceType meter used /// for /// App Service OS type meter used for - public BillingMeter(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string meterId = default(string), string billingLocation = default(string), string shortName = default(string), string friendlyName = default(string), string resourceType = default(string), string osType = default(string)) - : base(id, name, kind, type) + public BillingMeter(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string meterId = default(string), string billingLocation = default(string), string shortName = default(string), string friendlyName = default(string), string resourceType = default(string), string osType = default(string)) + : base(id, name, kind, type, systemData) { MeterId = meterId; BillingLocation = billingLocation; 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 index 477633b938cb..180204257c50 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/BlobStorageTokenStore.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/BlobStorageTokenStore.cs @@ -33,8 +33,10 @@ public BlobStorageTokenStore() /// 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) + /// The system metadata relating to this + /// resource. + public BlobStorageTokenStore(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string sasUrlSettingName = default(string)) + : base(id, name, kind, type, systemData) { SasUrlSettingName = sasUrlSettingName; CustomInit(); diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Certificate.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Certificate.cs index d46eb9c0661c..b5f1ed425414 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Certificate.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Certificate.cs @@ -41,6 +41,8 @@ public Certificate() /// Kind of resource. /// Resource type. /// Resource tags. + /// The system metadata relating to this + /// resource. /// Friendly name of the /// certificate. /// Subject name of the certificate. @@ -72,8 +74,8 @@ public Certificate() /// "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". /// CNAME of the certificate to be issued /// via free certificate - public Certificate(string location, string password, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), IDictionary tags = default(IDictionary), string friendlyName = default(string), string subjectName = default(string), IList hostNames = default(IList), byte[] pfxBlob = default(byte[]), string siteName = default(string), string selfLink = default(string), string issuer = default(string), System.DateTime? issueDate = default(System.DateTime?), System.DateTime? expirationDate = default(System.DateTime?), string thumbprint = default(string), bool? valid = default(bool?), byte[] cerBlob = default(byte[]), string publicKeyHash = default(string), HostingEnvironmentProfile hostingEnvironmentProfile = default(HostingEnvironmentProfile), string keyVaultId = default(string), string keyVaultSecretName = default(string), KeyVaultSecretStatus? keyVaultSecretStatus = default(KeyVaultSecretStatus?), string serverFarmId = default(string), string canonicalName = default(string)) - : base(location, id, name, kind, type, tags) + public Certificate(string location, string password, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), IDictionary tags = default(IDictionary), SystemData systemData = default(SystemData), string friendlyName = default(string), string subjectName = default(string), IList hostNames = default(IList), byte[] pfxBlob = default(byte[]), string siteName = default(string), string selfLink = default(string), string issuer = default(string), System.DateTime? issueDate = default(System.DateTime?), System.DateTime? expirationDate = default(System.DateTime?), string thumbprint = default(string), bool? valid = default(bool?), byte[] cerBlob = default(byte[]), string publicKeyHash = default(string), HostingEnvironmentProfile hostingEnvironmentProfile = default(HostingEnvironmentProfile), string keyVaultId = default(string), string keyVaultSecretName = default(string), KeyVaultSecretStatus? keyVaultSecretStatus = default(KeyVaultSecretStatus?), string serverFarmId = default(string), string canonicalName = default(string)) + : base(location, id, name, kind, type, tags, systemData) { FriendlyName = friendlyName; SubjectName = subjectName; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CertificateEmail.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CertificateEmail.cs index 964709077aa5..ed1c3069891b 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CertificateEmail.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CertificateEmail.cs @@ -36,10 +36,12 @@ public CertificateEmail() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Email id. /// Time stamp. - public CertificateEmail(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string emailId = default(string), System.DateTime? timeStamp = default(System.DateTime?)) - : base(id, name, kind, type) + public CertificateEmail(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string emailId = default(string), System.DateTime? timeStamp = default(System.DateTime?)) + : base(id, name, kind, type, systemData) { EmailId = emailId; TimeStamp = timeStamp; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CertificateOrderAction.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CertificateOrderAction.cs index 19be35309378..1d01fc4207fa 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CertificateOrderAction.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CertificateOrderAction.cs @@ -36,6 +36,8 @@ public CertificateOrderAction() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Action type. Possible values include: /// 'CertificateIssued', 'CertificateOrderCanceled', /// 'CertificateOrderCreated', 'CertificateRevoked', @@ -45,8 +47,8 @@ public CertificateOrderAction() /// 'FraudDocumentationRequired', 'Unknown' /// Time at which the certificate action was /// performed. - public CertificateOrderAction(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), CertificateOrderActionType? actionType = default(CertificateOrderActionType?), System.DateTime? createdAt = default(System.DateTime?)) - : base(id, name, kind, type) + public CertificateOrderAction(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), CertificateOrderActionType? actionType = default(CertificateOrderActionType?), System.DateTime? createdAt = default(System.DateTime?)) + : base(id, name, kind, type, systemData) { ActionType = actionType; CreatedAt = createdAt; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CertificatePatchResource.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CertificatePatchResource.cs index f2579bd985bc..7351047c36e9 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CertificatePatchResource.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CertificatePatchResource.cs @@ -39,6 +39,8 @@ public CertificatePatchResource() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Friendly name of the /// certificate. /// Subject name of the certificate. @@ -70,8 +72,8 @@ public CertificatePatchResource() /// "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". /// CNAME of the certificate to be issued /// via free certificate - public CertificatePatchResource(string password, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string friendlyName = default(string), string subjectName = default(string), IList hostNames = default(IList), byte[] pfxBlob = default(byte[]), string siteName = default(string), string selfLink = default(string), string issuer = default(string), System.DateTime? issueDate = default(System.DateTime?), System.DateTime? expirationDate = default(System.DateTime?), string thumbprint = default(string), bool? valid = default(bool?), byte[] cerBlob = default(byte[]), string publicKeyHash = default(string), HostingEnvironmentProfile hostingEnvironmentProfile = default(HostingEnvironmentProfile), string keyVaultId = default(string), string keyVaultSecretName = default(string), KeyVaultSecretStatus? keyVaultSecretStatus = default(KeyVaultSecretStatus?), string serverFarmId = default(string), string canonicalName = default(string)) - : base(id, name, kind, type) + public CertificatePatchResource(string password, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string friendlyName = default(string), string subjectName = default(string), IList hostNames = default(IList), byte[] pfxBlob = default(byte[]), string siteName = default(string), string selfLink = default(string), string issuer = default(string), System.DateTime? issueDate = default(System.DateTime?), System.DateTime? expirationDate = default(System.DateTime?), string thumbprint = default(string), bool? valid = default(bool?), byte[] cerBlob = default(byte[]), string publicKeyHash = default(string), HostingEnvironmentProfile hostingEnvironmentProfile = default(HostingEnvironmentProfile), string keyVaultId = default(string), string keyVaultSecretName = default(string), KeyVaultSecretStatus? keyVaultSecretStatus = default(KeyVaultSecretStatus?), string serverFarmId = default(string), string canonicalName = default(string)) + : base(id, name, kind, type, systemData) { FriendlyName = friendlyName; SubjectName = subjectName; 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 index 516e1eda692c..57b35ad8ec8b 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ClientRegistration.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ClientRegistration.cs @@ -33,8 +33,10 @@ public ClientRegistration() /// 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) + /// The system metadata relating to this + /// resource. + public ClientRegistration(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string clientId = default(string), string clientSecretSettingName = default(string)) + : base(id, name, kind, type, systemData) { ClientId = clientId; ClientSecretSettingName = clientSecretSettingName; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ConnectionStringDictionary.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ConnectionStringDictionary.cs index 2211f6ff3636..9d37655f3f4a 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ConnectionStringDictionary.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ConnectionStringDictionary.cs @@ -35,9 +35,11 @@ public ConnectionStringDictionary() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Connection strings. - public ConnectionStringDictionary(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), IDictionary properties = default(IDictionary)) - : base(id, name, kind, type) + public ConnectionStringDictionary(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), IDictionary properties = default(IDictionary)) + : base(id, name, kind, type, systemData) { Properties = properties; CustomInit(); diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ContinuousWebJob.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ContinuousWebJob.cs index f8139a745481..0b510906fc99 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ContinuousWebJob.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ContinuousWebJob.cs @@ -38,6 +38,8 @@ public ContinuousWebJob() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Job status. Possible values include: /// 'Initializing', 'Starting', 'Running', 'PendingRestart', /// 'Stopped' @@ -51,8 +53,8 @@ public ContinuousWebJob() /// Error information. /// Using SDK? /// Job settings. - public ContinuousWebJob(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), ContinuousWebJobStatus? status = default(ContinuousWebJobStatus?), string detailedStatus = default(string), string logUrl = default(string), string runCommand = default(string), string url = default(string), string extraInfoUrl = default(string), WebJobType? webJobType = default(WebJobType?), string error = default(string), bool? usingSdk = default(bool?), IDictionary settings = default(IDictionary)) - : base(id, name, kind, type) + public ContinuousWebJob(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), ContinuousWebJobStatus? status = default(ContinuousWebJobStatus?), string detailedStatus = default(string), string logUrl = default(string), string runCommand = default(string), string url = default(string), string extraInfoUrl = default(string), WebJobType? webJobType = default(WebJobType?), string error = default(string), bool? usingSdk = default(bool?), IDictionary settings = default(IDictionary)) + : base(id, name, kind, type, systemData) { Status = status; DetailedStatus = detailedStatus; 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 index 2bad787f8310..558e3f0dfb35 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CookieExpiration.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CookieExpiration.cs @@ -33,10 +33,12 @@ public CookieExpiration() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// 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) + public CookieExpiration(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), CookieExpirationConvention? convention = default(CookieExpirationConvention?), string timeToExpiration = default(string)) + : base(id, name, kind, type, systemData) { Convention = convention; TimeToExpiration = timeToExpiration; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CreatedByType.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CreatedByType.cs new file mode 100644 index 000000000000..cc7b1a654e75 --- /dev/null +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CreatedByType.cs @@ -0,0 +1,24 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.WebSites.Models +{ + + /// + /// Defines values for CreatedByType. + /// + public static class CreatedByType + { + public const string User = "User"; + public const string Application = "Application"; + public const string ManagedIdentity = "ManagedIdentity"; + public const string Key = "Key"; + } +} diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CsmPublishingCredentialsPoliciesCollection.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CsmPublishingCredentialsPoliciesCollection.cs index 364b186fed71..002ba907823c 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CsmPublishingCredentialsPoliciesCollection.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CsmPublishingCredentialsPoliciesCollection.cs @@ -40,8 +40,10 @@ public CsmPublishingCredentialsPoliciesCollection() /// Resource Name. /// Kind of resource. /// Resource type. - public CsmPublishingCredentialsPoliciesCollection(CsmPublishingCredentialsPoliciesEntity ftp, CsmPublishingCredentialsPoliciesEntity scm, string id = default(string), string name = default(string), string kind = default(string), string type = default(string)) - : base(id, name, kind, type) + /// The system metadata relating to this + /// resource. + public CsmPublishingCredentialsPoliciesCollection(CsmPublishingCredentialsPoliciesEntity ftp, CsmPublishingCredentialsPoliciesEntity scm, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData)) + : base(id, name, kind, type, systemData) { Ftp = ftp; Scm = scm; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CsmPublishingCredentialsPoliciesEntity.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CsmPublishingCredentialsPoliciesEntity.cs index 3b389e6e76fa..1424b4cefaca 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CsmPublishingCredentialsPoliciesEntity.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CsmPublishingCredentialsPoliciesEntity.cs @@ -41,8 +41,10 @@ public CsmPublishingCredentialsPoliciesEntity() /// Resource Name. /// Kind of resource. /// Resource type. - public CsmPublishingCredentialsPoliciesEntity(bool allow, string id = default(string), string name = default(string), string kind = default(string), string type = default(string)) - : base(id, name, kind, type) + /// The system metadata relating to this + /// resource. + public CsmPublishingCredentialsPoliciesEntity(bool allow, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData)) + : base(id, name, kind, type, systemData) { Allow = allow; CustomInit(); diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CustomHostnameAnalysisResult.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CustomHostnameAnalysisResult.cs index 78dddad2e52e..3e8e121a4292 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CustomHostnameAnalysisResult.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CustomHostnameAnalysisResult.cs @@ -40,6 +40,8 @@ public CustomHostnameAnalysisResult() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// <code>true</code> if /// hostname is already verified; otherwise, @@ -68,8 +70,8 @@ public CustomHostnameAnalysisResult() /// controller can see for this hostname. /// Alternate TXT records controller /// can see for this hostname. - public CustomHostnameAnalysisResult(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), bool? isHostnameAlreadyVerified = default(bool?), DnsVerificationTestResult? customDomainVerificationTest = default(DnsVerificationTestResult?), ErrorEntity customDomainVerificationFailureInfo = default(ErrorEntity), bool? hasConflictOnScaleUnit = default(bool?), bool? hasConflictAcrossSubscription = default(bool?), string conflictingAppResourceId = default(string), IList cNameRecords = default(IList), IList txtRecords = default(IList), IList aRecords = default(IList), IList alternateCNameRecords = default(IList), IList alternateTxtRecords = default(IList)) - : base(id, name, kind, type) + public CustomHostnameAnalysisResult(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), bool? isHostnameAlreadyVerified = default(bool?), DnsVerificationTestResult? customDomainVerificationTest = default(DnsVerificationTestResult?), ErrorEntity customDomainVerificationFailureInfo = default(ErrorEntity), bool? hasConflictOnScaleUnit = default(bool?), bool? hasConflictAcrossSubscription = default(bool?), string conflictingAppResourceId = default(string), IList cNameRecords = default(IList), IList txtRecords = default(IList), IList aRecords = default(IList), IList alternateCNameRecords = default(IList), IList alternateTxtRecords = default(IList)) + : base(id, name, kind, type, systemData) { IsHostnameAlreadyVerified = isHostnameAlreadyVerified; CustomDomainVerificationTest = customDomainVerificationTest; 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 index c6bcf20e8429..e81816a03e80 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CustomOpenIdConnectProvider.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/CustomOpenIdConnectProvider.cs @@ -35,8 +35,10 @@ public CustomOpenIdConnectProvider() /// 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) + /// The system metadata relating to this + /// resource. + public CustomOpenIdConnectProvider(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), bool? enabled = default(bool?), OpenIdConnectRegistration registration = default(OpenIdConnectRegistration), OpenIdConnectLogin login = default(OpenIdConnectLogin)) + : base(id, name, kind, type, systemData) { Enabled = enabled; Registration = registration; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/DeletedAppRestoreRequest.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/DeletedAppRestoreRequest.cs index 347a22b2abf2..7cf0d66b7298 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/DeletedAppRestoreRequest.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/DeletedAppRestoreRequest.cs @@ -36,6 +36,8 @@ public DeletedAppRestoreRequest() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// ARM resource ID of the deleted app. /// Example: /// /subscriptions/{subId}/providers/Microsoft.Web/deletedSites/{deletedSiteId} @@ -47,8 +49,8 @@ public DeletedAppRestoreRequest() /// deleted. /// If true, the snapshot is retrieved /// from DRSecondary endpoint. - public DeletedAppRestoreRequest(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string deletedSiteId = default(string), bool? recoverConfiguration = default(bool?), string snapshotTime = default(string), bool? useDRSecondary = default(bool?)) - : base(id, name, kind, type) + public DeletedAppRestoreRequest(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string deletedSiteId = default(string), bool? recoverConfiguration = default(bool?), string snapshotTime = default(string), bool? useDRSecondary = default(bool?)) + : base(id, name, kind, type, systemData) { DeletedSiteId = deletedSiteId; RecoverConfiguration = recoverConfiguration; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/DeletedSite.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/DeletedSite.cs index 565a9b6b34d0..09ba38457592 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/DeletedSite.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/DeletedSite.cs @@ -36,6 +36,8 @@ public DeletedSite() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Numeric id for the deleted site /// Time in UTC when the app was /// deleted. @@ -47,8 +49,8 @@ public DeletedSite() /// Slot of the deleted site /// Kind of site that was deleted /// Geo Region of the deleted site - public DeletedSite(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), int? deletedSiteId = default(int?), string deletedTimestamp = default(string), string subscription = default(string), string resourceGroup = default(string), string deletedSiteName = default(string), string slot = default(string), string deletedSiteKind = default(string), string geoRegionName = default(string)) - : base(id, name, kind, type) + public DeletedSite(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), int? deletedSiteId = default(int?), string deletedTimestamp = default(string), string subscription = default(string), string resourceGroup = default(string), string deletedSiteName = default(string), string slot = default(string), string deletedSiteKind = default(string), string geoRegionName = default(string)) + : base(id, name, kind, type, systemData) { DeletedSiteId = deletedSiteId; DeletedTimestamp = deletedTimestamp; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Deployment.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Deployment.cs index 9a88a578c6b1..d27e4c5a6830 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Deployment.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Deployment.cs @@ -36,6 +36,8 @@ public Deployment() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Deployment status. /// Details about deployment status. /// Who authored the deployment. @@ -46,8 +48,8 @@ public Deployment() /// True if deployment is currently active, false /// if completed and null if not started. /// Details on deployment. - public Deployment(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), int? status = default(int?), string message = default(string), string author = default(string), string deployer = default(string), string authorEmail = default(string), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?), bool? active = default(bool?), string details = default(string)) - : base(id, name, kind, type) + public Deployment(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), int? status = default(int?), string message = default(string), string author = default(string), string deployer = default(string), string authorEmail = default(string), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?), bool? active = default(bool?), string details = default(string)) + : base(id, name, kind, type, systemData) { Status = status; Message = message; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/DetectorDefinition.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/DetectorDefinition.cs index bcccb400ddc8..7259b0880b4e 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/DetectorDefinition.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/DetectorDefinition.cs @@ -36,13 +36,15 @@ public DetectorDefinition() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Display name of the detector /// Description of the detector /// Detector Rank /// Flag representing whether detector is /// enabled or not. - public DetectorDefinition(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string displayName = default(string), string description = default(string), double? rank = default(double?), bool? isEnabled = default(bool?)) - : base(id, name, kind, type) + public DetectorDefinition(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string displayName = default(string), string description = default(string), double? rank = default(double?), bool? isEnabled = default(bool?)) + : base(id, name, kind, type, systemData) { DisplayName = displayName; Description = description; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/DetectorResponse.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/DetectorResponse.cs index 853860a84c5c..73def4e4f343 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/DetectorResponse.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/DetectorResponse.cs @@ -38,10 +38,12 @@ public DetectorResponse() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// metadata for the detector /// Data Set - public DetectorResponse(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), DetectorInfo metadata = default(DetectorInfo), IList dataset = default(IList)) - : base(id, name, kind, type) + public DetectorResponse(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), DetectorInfo metadata = default(DetectorInfo), IList dataset = default(IList)) + : base(id, name, kind, type, systemData) { Metadata = metadata; Dataset = dataset; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/DiagnosticAnalysis.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/DiagnosticAnalysis.cs index a14320e7e5e3..6c00427abc7c 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/DiagnosticAnalysis.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/DiagnosticAnalysis.cs @@ -38,14 +38,16 @@ public DiagnosticAnalysis() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Start time of the period /// End time of the period /// List of time periods. /// Data by each detector /// Data by each detector for /// detectors that did not corelate - public DiagnosticAnalysis(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?), IList abnormalTimePeriods = default(IList), IList payload = default(IList), IList nonCorrelatedDetectors = default(IList)) - : base(id, name, kind, type) + public DiagnosticAnalysis(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?), IList abnormalTimePeriods = default(IList), IList payload = default(IList), IList nonCorrelatedDetectors = default(IList)) + : base(id, name, kind, type, systemData) { StartTime = startTime; EndTime = endTime; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/DiagnosticCategory.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/DiagnosticCategory.cs index 57b10cf75dd7..2ddf0382f7d4 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/DiagnosticCategory.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/DiagnosticCategory.cs @@ -36,10 +36,12 @@ public DiagnosticCategory() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Description of the diagnostic /// category - public DiagnosticCategory(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string description = default(string)) - : base(id, name, kind, type) + public DiagnosticCategory(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string description = default(string)) + : base(id, name, kind, type, systemData) { Description = description; CustomInit(); diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/DiagnosticDetectorResponse.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/DiagnosticDetectorResponse.cs index 2a896dd8fdef..57a4146606de 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/DiagnosticDetectorResponse.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/DiagnosticDetectorResponse.cs @@ -38,6 +38,8 @@ public DiagnosticDetectorResponse() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Start time of the period /// End time of the period /// Flag representing Issue was @@ -49,8 +51,8 @@ public DiagnosticDetectorResponse() /// Additional Data that detector wants to /// send. /// Meta Data - public DiagnosticDetectorResponse(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?), bool? issueDetected = default(bool?), DetectorDefinition detectorDefinition = default(DetectorDefinition), IList metrics = default(IList), IList abnormalTimePeriods = default(IList), IList> data = default(IList>), ResponseMetaData responseMetaData = default(ResponseMetaData)) - : base(id, name, kind, type) + public DiagnosticDetectorResponse(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?), bool? issueDetected = default(bool?), DetectorDefinition detectorDefinition = default(DetectorDefinition), IList metrics = default(IList), IList abnormalTimePeriods = default(IList), IList> data = default(IList>), ResponseMetaData responseMetaData = default(ResponseMetaData)) + : base(id, name, kind, type, systemData) { StartTime = startTime; EndTime = endTime; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Domain.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Domain.cs index 7b37c3176248..29a240e9b023 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Domain.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Domain.cs @@ -45,6 +45,8 @@ public Domain() /// Kind of resource. /// Resource type. /// Resource tags. + /// The system metadata relating to this + /// resource. /// Domain registration status. /// Possible values include: 'Active', 'Awaiting', 'Cancelled', /// 'Confiscated', 'Disabled', 'Excluded', 'Expired', 'Failed', 'Held', @@ -83,8 +85,8 @@ public Domain() /// Target DNS type (would be used for /// migration). Possible values include: 'AzureDns', /// 'DefaultDomainRegistrarDns' - public Domain(string location, Contact contactAdmin, Contact contactBilling, Contact contactRegistrant, Contact contactTech, DomainPurchaseConsent consent, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), IDictionary tags = default(IDictionary), DomainStatus? registrationStatus = default(DomainStatus?), ProvisioningState? provisioningState = default(ProvisioningState?), IList nameServers = default(IList), bool? privacy = default(bool?), System.DateTime? createdTime = default(System.DateTime?), System.DateTime? expirationTime = default(System.DateTime?), System.DateTime? lastRenewedTime = default(System.DateTime?), bool? autoRenew = default(bool?), bool? readyForDnsRecordManagement = default(bool?), IList managedHostNames = default(IList), IList domainNotRenewableReasons = default(IList), DnsType? dnsType = default(DnsType?), string dnsZoneId = default(string), DnsType? targetDnsType = default(DnsType?), string authCode = default(string)) - : base(location, id, name, kind, type, tags) + public Domain(string location, Contact contactAdmin, Contact contactBilling, Contact contactRegistrant, Contact contactTech, DomainPurchaseConsent consent, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), IDictionary tags = default(IDictionary), SystemData systemData = default(SystemData), DomainStatus? registrationStatus = default(DomainStatus?), ProvisioningState? provisioningState = default(ProvisioningState?), IList nameServers = default(IList), bool? privacy = default(bool?), System.DateTime? createdTime = default(System.DateTime?), System.DateTime? expirationTime = default(System.DateTime?), System.DateTime? lastRenewedTime = default(System.DateTime?), bool? autoRenew = default(bool?), bool? readyForDnsRecordManagement = default(bool?), IList managedHostNames = default(IList), IList domainNotRenewableReasons = default(IList), DnsType? dnsType = default(DnsType?), string dnsZoneId = default(string), DnsType? targetDnsType = default(DnsType?), string authCode = default(string)) + : base(location, id, name, kind, type, tags, systemData) { ContactAdmin = contactAdmin; ContactBilling = contactBilling; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/DomainOwnershipIdentifier.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/DomainOwnershipIdentifier.cs index 76577cbd5406..e9cb22fe9f72 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/DomainOwnershipIdentifier.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/DomainOwnershipIdentifier.cs @@ -36,9 +36,11 @@ public DomainOwnershipIdentifier() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Ownership Id. - public DomainOwnershipIdentifier(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string ownershipId = default(string)) - : base(id, name, kind, type) + public DomainOwnershipIdentifier(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string ownershipId = default(string)) + : base(id, name, kind, type, systemData) { OwnershipId = ownershipId; CustomInit(); diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/DomainPatchResource.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/DomainPatchResource.cs index c91ad00fac20..d2e4d878803b 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/DomainPatchResource.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/DomainPatchResource.cs @@ -43,6 +43,8 @@ public DomainPatchResource() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Domain registration status. /// Possible values include: 'Active', 'Awaiting', 'Cancelled', /// 'Confiscated', 'Disabled', 'Excluded', 'Expired', 'Failed', 'Held', @@ -81,8 +83,8 @@ public DomainPatchResource() /// Target DNS type (would be used for /// migration). Possible values include: 'AzureDns', /// 'DefaultDomainRegistrarDns' - public DomainPatchResource(Contact contactAdmin, Contact contactBilling, Contact contactRegistrant, Contact contactTech, DomainPurchaseConsent consent, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), DomainStatus? registrationStatus = default(DomainStatus?), ProvisioningState? provisioningState = default(ProvisioningState?), IList nameServers = default(IList), bool? privacy = default(bool?), System.DateTime? createdTime = default(System.DateTime?), System.DateTime? expirationTime = default(System.DateTime?), System.DateTime? lastRenewedTime = default(System.DateTime?), bool? autoRenew = default(bool?), bool? readyForDnsRecordManagement = default(bool?), IList managedHostNames = default(IList), IList domainNotRenewableReasons = default(IList), DnsType? dnsType = default(DnsType?), string dnsZoneId = default(string), DnsType? targetDnsType = default(DnsType?), string authCode = default(string)) - : base(id, name, kind, type) + public DomainPatchResource(Contact contactAdmin, Contact contactBilling, Contact contactRegistrant, Contact contactTech, DomainPurchaseConsent consent, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), DomainStatus? registrationStatus = default(DomainStatus?), ProvisioningState? provisioningState = default(ProvisioningState?), IList nameServers = default(IList), bool? privacy = default(bool?), System.DateTime? createdTime = default(System.DateTime?), System.DateTime? expirationTime = default(System.DateTime?), System.DateTime? lastRenewedTime = default(System.DateTime?), bool? autoRenew = default(bool?), bool? readyForDnsRecordManagement = default(bool?), IList managedHostNames = default(IList), IList domainNotRenewableReasons = default(IList), DnsType? dnsType = default(DnsType?), string dnsZoneId = default(string), DnsType? targetDnsType = default(DnsType?), string authCode = default(string)) + : base(id, name, kind, type, systemData) { ContactAdmin = contactAdmin; ContactBilling = contactBilling; 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 index 5d66f50d57a6..3bfa84f53a0e 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Facebook.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Facebook.cs @@ -33,8 +33,10 @@ public Facebook() /// 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) + /// The system metadata relating to this + /// resource. + public Facebook(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), bool? enabled = default(bool?), AppRegistration registration = default(AppRegistration), string graphApiVersion = default(string), LoginScopes login = default(LoginScopes)) + : base(id, name, kind, type, systemData) { Enabled = enabled; Registration = registration; 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 index d56ea63988fe..49571dcabdf8 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/FileSystemTokenStore.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/FileSystemTokenStore.cs @@ -33,8 +33,10 @@ public FileSystemTokenStore() /// 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) + /// The system metadata relating to this + /// resource. + public FileSystemTokenStore(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string directory = default(string)) + : base(id, name, kind, type, systemData) { Directory = directory; CustomInit(); 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 index 239718fe2b4e..6a0d706058c9 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ForwardProxy.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ForwardProxy.cs @@ -33,10 +33,12 @@ public ForwardProxy() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// 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) + public ForwardProxy(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), ForwardProxyConvention? convention = default(ForwardProxyConvention?), string customHostHeaderName = default(string), string customProtoHeaderName = default(string)) + : base(id, name, kind, type, systemData) { Convention = convention; CustomHostHeaderName = customHostHeaderName; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/FunctionEnvelope.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/FunctionEnvelope.cs index 0e0627a92be9..f9d44be0ac07 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/FunctionEnvelope.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/FunctionEnvelope.cs @@ -38,6 +38,8 @@ public FunctionEnvelope() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Function App ID. /// Script root path URI. /// Script URI. @@ -53,8 +55,8 @@ public FunctionEnvelope() /// The function language /// Gets or sets a value indicating whether /// the function is disabled - public FunctionEnvelope(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string functionAppId = default(string), string scriptRootPathHref = default(string), string scriptHref = default(string), string configHref = default(string), string testDataHref = default(string), string secretsFileHref = default(string), string href = default(string), object config = default(object), IDictionary files = default(IDictionary), string testData = default(string), string invokeUrlTemplate = default(string), string language = default(string), bool? isDisabled = default(bool?)) - : base(id, name, kind, type) + public FunctionEnvelope(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string functionAppId = default(string), string scriptRootPathHref = default(string), string scriptHref = default(string), string configHref = default(string), string testDataHref = default(string), string secretsFileHref = default(string), string href = default(string), object config = default(object), IDictionary files = default(IDictionary), string testData = default(string), string invokeUrlTemplate = default(string), string language = default(string), bool? isDisabled = default(bool?)) + : base(id, name, kind, type, systemData) { FunctionAppId = functionAppId; ScriptRootPathHref = scriptRootPathHref; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/GeoRegion.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/GeoRegion.cs index e39413ff64dd..242148f99d15 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/GeoRegion.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/GeoRegion.cs @@ -36,11 +36,13 @@ public GeoRegion() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Region description. /// Display name for region. /// Display name for region. - public GeoRegion(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string description = default(string), string displayName = default(string), string orgDomain = default(string)) - : base(id, name, kind, type) + public GeoRegion(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string description = default(string), string displayName = default(string), string orgDomain = default(string)) + : base(id, name, kind, type, systemData) { Description = description; DisplayName = displayName; 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 index 8555c23b8f92..4638590e7a51 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/GitHub.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/GitHub.cs @@ -33,8 +33,10 @@ public GitHub() /// 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) + /// The system metadata relating to this + /// resource. + public GitHub(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), bool? enabled = default(bool?), ClientRegistration registration = default(ClientRegistration), LoginScopes login = default(LoginScopes)) + : base(id, name, kind, type, systemData) { Enabled = enabled; Registration = registration; 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 index 6e668cba711c..ccc599a9d9f8 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/GlobalValidation.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/GlobalValidation.cs @@ -35,11 +35,13 @@ public GlobalValidation() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// 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) + public GlobalValidation(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), bool? requireAuthentication = default(bool?), UnauthenticatedClientActionV2? unauthenticatedClientAction = default(UnauthenticatedClientActionV2?), string redirectToProvider = default(string), IList excludedPaths = default(IList)) + : base(id, name, kind, type, systemData) { RequireAuthentication = requireAuthentication; UnauthenticatedClientAction = unauthenticatedClientAction; 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 index 26af1e210ab7..665b222f6cda 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Google.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Google.cs @@ -33,8 +33,10 @@ public Google() /// 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) + /// The system metadata relating to this + /// resource. + public Google(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), bool? enabled = default(bool?), ClientRegistration registration = default(ClientRegistration), LoginScopes login = default(LoginScopes), AllowedAudiencesValidation validation = default(AllowedAudiencesValidation)) + : base(id, name, kind, type, systemData) { Enabled = enabled; Registration = registration; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/HostNameBinding.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/HostNameBinding.cs index fd1f70bf2206..b5466e6bae59 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/HostNameBinding.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/HostNameBinding.cs @@ -36,6 +36,8 @@ public HostNameBinding() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// App Service app name. /// Fully qualified ARM domain resource /// URI. @@ -51,8 +53,8 @@ public HostNameBinding() /// SSL certificate thumbprint /// Virtual IP address assigned to the hostname /// if IP based SSL is enabled. - public HostNameBinding(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string siteName = default(string), string domainId = default(string), string azureResourceName = default(string), AzureResourceType? azureResourceType = default(AzureResourceType?), CustomHostNameDnsRecordType? customHostNameDnsRecordType = default(CustomHostNameDnsRecordType?), HostNameType? hostNameType = default(HostNameType?), SslState? sslState = default(SslState?), string thumbprint = default(string), string virtualIP = default(string)) - : base(id, name, kind, type) + public HostNameBinding(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string siteName = default(string), string domainId = default(string), string azureResourceName = default(string), AzureResourceType? azureResourceType = default(AzureResourceType?), CustomHostNameDnsRecordType? customHostNameDnsRecordType = default(CustomHostNameDnsRecordType?), HostNameType? hostNameType = default(HostNameType?), SslState? sslState = default(SslState?), string thumbprint = default(string), string virtualIP = default(string)) + : base(id, name, kind, type, systemData) { SiteName = siteName; DomainId = domainId; 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 index b5090a80f932..acbb38338fce 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/HttpSettings.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/HttpSettings.cs @@ -33,8 +33,10 @@ public HttpSettings() /// 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) + /// The system metadata relating to this + /// resource. + public HttpSettings(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), bool? requireHttps = default(bool?), HttpSettingsRoutes routes = default(HttpSettingsRoutes), ForwardProxy forwardProxy = default(ForwardProxy)) + : base(id, name, kind, type, systemData) { RequireHttps = requireHttps; Routes = routes; 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 index 1c71deecd7f2..05fa00c8d41d 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/HttpSettingsRoutes.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/HttpSettingsRoutes.cs @@ -33,8 +33,10 @@ public HttpSettingsRoutes() /// 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) + /// The system metadata relating to this + /// resource. + public HttpSettingsRoutes(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string apiPrefix = default(string)) + : base(id, name, kind, type, systemData) { ApiPrefix = apiPrefix; CustomInit(); diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/HybridConnection.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/HybridConnection.cs index e98573aa1d10..ebec778f44ea 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/HybridConnection.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/HybridConnection.cs @@ -37,6 +37,8 @@ public HybridConnection() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// The name of the Service Bus /// namespace. /// The name of the Service Bus relay. @@ -53,8 +55,8 @@ public HybridConnection() /// normally, use the POST /listKeys API instead. /// The suffix for the service bus /// endpoint. By default this is .servicebus.windows.net - public HybridConnection(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string serviceBusNamespace = default(string), string relayName = default(string), string relayArmUri = default(string), string hostname = default(string), int? port = default(int?), string sendKeyName = default(string), string sendKeyValue = default(string), string serviceBusSuffix = default(string)) - : base(id, name, kind, type) + public HybridConnection(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string serviceBusNamespace = default(string), string relayName = default(string), string relayArmUri = default(string), string hostname = default(string), int? port = default(int?), string sendKeyName = default(string), string sendKeyValue = default(string), string serviceBusSuffix = default(string)) + : base(id, name, kind, type, systemData) { ServiceBusNamespace = serviceBusNamespace; RelayName = relayName; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/HybridConnectionKey.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/HybridConnectionKey.cs index c2e79154a648..da12b2cdd2e9 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/HybridConnectionKey.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/HybridConnectionKey.cs @@ -37,10 +37,12 @@ public HybridConnectionKey() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// The name of the send key. /// The value of the send key. - public HybridConnectionKey(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string sendKeyName = default(string), string sendKeyValue = default(string)) - : base(id, name, kind, type) + public HybridConnectionKey(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string sendKeyName = default(string), string sendKeyValue = default(string)) + : base(id, name, kind, type, systemData) { SendKeyName = sendKeyName; SendKeyValue = sendKeyValue; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/HybridConnectionLimits.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/HybridConnectionLimits.cs index 9ada5c91749b..ac2b0671871d 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/HybridConnectionLimits.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/HybridConnectionLimits.cs @@ -37,12 +37,14 @@ public HybridConnectionLimits() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// The current number of Hybrid /// Connections. /// The maximum number of Hybrid Connections /// allowed. - public HybridConnectionLimits(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), int? current = default(int?), int? maximum = default(int?)) - : base(id, name, kind, type) + public HybridConnectionLimits(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), int? current = default(int?), int? maximum = default(int?)) + : base(id, name, kind, type, systemData) { Current = current; Maximum = maximum; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Identifier.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Identifier.cs index 7571f8806156..a06ff2c3504b 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Identifier.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Identifier.cs @@ -36,9 +36,11 @@ public Identifier() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// String representation of the identity. - public Identifier(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string value = default(string)) - : base(id, name, kind, type) + public Identifier(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string value = default(string)) + : base(id, name, kind, type, systemData) { Value = value; CustomInit(); 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 index 25b7f98e559f..9a400f475d64 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/IdentityProviders.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/IdentityProviders.cs @@ -35,8 +35,10 @@ public IdentityProviders() /// 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) + /// The system metadata relating to this + /// resource. + public IdentityProviders(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), 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, systemData) { AzureActiveDirectory = azureActiveDirectory; Facebook = facebook; 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 index b6ac7bf567d9..05b34aecb843 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/JwtClaimChecks.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/JwtClaimChecks.cs @@ -35,8 +35,10 @@ public JwtClaimChecks() /// 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) + /// The system metadata relating to this + /// resource. + public JwtClaimChecks(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), IList allowedGroups = default(IList), IList allowedClientApplications = default(IList)) + : base(id, name, kind, type, systemData) { AllowedGroups = allowedGroups; AllowedClientApplications = allowedClientApplications; 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 index d14e1bc90117..241443fe6a96 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Login.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Login.cs @@ -35,8 +35,10 @@ public Login() /// 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) + /// The system metadata relating to this + /// resource. + public Login(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), 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, systemData) { Routes = routes; TokenStore = tokenStore; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/LoginRoutes.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/LoginRoutes.cs index 9b31fe5653bb..f723e42ff572 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/LoginRoutes.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/LoginRoutes.cs @@ -33,8 +33,10 @@ public LoginRoutes() /// Resource Name. /// Kind of resource. /// Resource type. - 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) + /// The system metadata relating to this + /// resource. + public LoginRoutes(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string logoutEndpoint = default(string)) + : base(id, name, kind, type, systemData) { LogoutEndpoint = logoutEndpoint; CustomInit(); 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 index ec2430e910eb..213746e849a4 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/LoginScopes.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/LoginScopes.cs @@ -35,8 +35,10 @@ public LoginScopes() /// 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) + /// The system metadata relating to this + /// resource. + public LoginScopes(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), IList scopes = default(IList)) + : base(id, name, kind, type, systemData) { Scopes = scopes; CustomInit(); diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/MSDeploy.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/MSDeploy.cs index 2a601fc13092..61b06ffe1022 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/MSDeploy.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/MSDeploy.cs @@ -38,6 +38,8 @@ public MSDeploy() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Package URI /// SQL Connection String /// Database Type @@ -55,8 +57,8 @@ public MSDeploy() /// Sets the AppOffline rule while the /// MSDeploy operation executes. /// Setting is <code>false</code> by default. - public MSDeploy(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string packageUri = default(string), string connectionString = default(string), string dbType = default(string), string setParametersXmlFileUri = default(string), IDictionary setParameters = default(IDictionary), bool? skipAppData = default(bool?), bool? appOffline = default(bool?)) - : base(id, name, kind, type) + public MSDeploy(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string packageUri = default(string), string connectionString = default(string), string dbType = default(string), string setParametersXmlFileUri = default(string), IDictionary setParameters = default(IDictionary), bool? skipAppData = default(bool?), bool? appOffline = default(bool?)) + : base(id, name, kind, type, systemData) { PackageUri = packageUri; ConnectionString = connectionString; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/MSDeployLog.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/MSDeployLog.cs index b98032e54b1e..ff19ad65e16d 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/MSDeployLog.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/MSDeployLog.cs @@ -38,9 +38,11 @@ public MSDeployLog() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// List of log entry messages - public MSDeployLog(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), IList entries = default(IList)) - : base(id, name, kind, type) + public MSDeployLog(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), IList entries = default(IList)) + : base(id, name, kind, type, systemData) { Entries = entries; CustomInit(); diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/MSDeployStatus.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/MSDeployStatus.cs index 32175ea1230d..d87f99c27188 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/MSDeployStatus.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/MSDeployStatus.cs @@ -36,6 +36,8 @@ public MSDeployStatus() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Username of deployer /// Provisioning state. Possible values /// include: 'accepted', 'running', 'succeeded', 'failed', @@ -44,8 +46,8 @@ public MSDeployStatus() /// End time of deploy operation /// Whether the deployment operation has /// completed - public MSDeployStatus(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string deployer = default(string), MSDeployProvisioningState? provisioningState = default(MSDeployProvisioningState?), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?), bool? complete = default(bool?)) - : base(id, name, kind, type) + public MSDeployStatus(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string deployer = default(string), MSDeployProvisioningState? provisioningState = default(MSDeployProvisioningState?), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?), bool? complete = default(bool?)) + : base(id, name, kind, type, systemData) { Deployer = deployer; ProvisioningState = provisioningState; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/MigrateMySqlRequest.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/MigrateMySqlRequest.cs index db3069fe54b2..340e5db8e772 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/MigrateMySqlRequest.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/MigrateMySqlRequest.cs @@ -41,8 +41,10 @@ public MigrateMySqlRequest() /// Resource Name. /// Kind of resource. /// Resource type. - public MigrateMySqlRequest(string connectionString, MySqlMigrationType migrationType, string id = default(string), string name = default(string), string kind = default(string), string type = default(string)) - : base(id, name, kind, type) + /// The system metadata relating to this + /// resource. + public MigrateMySqlRequest(string connectionString, MySqlMigrationType migrationType, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData)) + : base(id, name, kind, type, systemData) { ConnectionString = connectionString; MigrationType = migrationType; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/MigrateMySqlStatus.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/MigrateMySqlStatus.cs index 459d50aef84b..b18115658337 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/MigrateMySqlStatus.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/MigrateMySqlStatus.cs @@ -36,6 +36,8 @@ public MigrateMySqlStatus() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Status of the migration /// task. Possible values include: 'InProgress', 'Failed', 'Succeeded', /// 'TimedOut', 'Created' @@ -43,8 +45,8 @@ public MigrateMySqlStatus() /// task. /// True if the web app has in app /// MySql enabled - public MigrateMySqlStatus(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), OperationStatus? migrationOperationStatus = default(OperationStatus?), string operationId = default(string), bool? localMySqlEnabled = default(bool?)) - : base(id, name, kind, type) + public MigrateMySqlStatus(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), OperationStatus? migrationOperationStatus = default(OperationStatus?), string operationId = default(string), bool? localMySqlEnabled = default(bool?)) + : base(id, name, kind, type, systemData) { MigrationOperationStatus = migrationOperationStatus; OperationId = operationId; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/NetworkFeatures.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/NetworkFeatures.cs index af9cf1928dac..0e57d242d84c 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/NetworkFeatures.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/NetworkFeatures.cs @@ -39,6 +39,8 @@ public NetworkFeatures() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// The Virtual Network name. /// The Virtual Network summary /// view. @@ -46,8 +48,8 @@ public NetworkFeatures() /// view. /// The Hybrid Connection V2 (Service /// Bus) view. - public NetworkFeatures(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string virtualNetworkName = default(string), VnetInfo virtualNetworkConnection = default(VnetInfo), IList hybridConnections = default(IList), IList hybridConnectionsV2 = default(IList)) - : base(id, name, kind, type) + public NetworkFeatures(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string virtualNetworkName = default(string), VnetInfo virtualNetworkConnection = default(VnetInfo), IList hybridConnections = default(IList), IList hybridConnectionsV2 = default(IList)) + : base(id, name, kind, type, systemData) { VirtualNetworkName = virtualNetworkName; VirtualNetworkConnection = virtualNetworkConnection; 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 index 0057825eab8b..657d0d4f46af 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Nonce.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Nonce.cs @@ -33,8 +33,10 @@ public Nonce() /// 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) + /// The system metadata relating to this + /// resource. + public Nonce(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), bool? validateNonce = default(bool?), string nonceExpirationInterval = default(string)) + : base(id, name, kind, type, systemData) { ValidateNonce = validateNonce; NonceExpirationInterval = nonceExpirationInterval; 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 index c0ce182af5cf..a471fff25c59 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/OpenIdConnectClientCredential.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/OpenIdConnectClientCredential.cs @@ -35,10 +35,12 @@ public OpenIdConnectClientCredential() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// 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) + public OpenIdConnectClientCredential(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), ClientCredentialMethod? method = default(ClientCredentialMethod?), string clientSecretSettingName = default(string)) + : base(id, name, kind, type, systemData) { Method = method; ClientSecretSettingName = clientSecretSettingName; 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 index fe09ee1f099d..9a62ed880cef 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/OpenIdConnectConfig.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/OpenIdConnectConfig.cs @@ -33,8 +33,10 @@ public OpenIdConnectConfig() /// 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) + /// The system metadata relating to this + /// resource. + public OpenIdConnectConfig(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), 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, systemData) { AuthorizationEndpoint = authorizationEndpoint; TokenEndpoint = tokenEndpoint; 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 index cc0fe8682df0..5a3ddd60adb7 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/OpenIdConnectLogin.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/OpenIdConnectLogin.cs @@ -35,8 +35,10 @@ public OpenIdConnectLogin() /// 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) + /// The system metadata relating to this + /// resource. + public OpenIdConnectLogin(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string nameClaimType = default(string), IList scopes = default(IList)) + : base(id, name, kind, type, systemData) { NameClaimType = nameClaimType; Scopes = scopes; 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 index 810737d9830a..6fab0d1c3f5a 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/OpenIdConnectRegistration.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/OpenIdConnectRegistration.cs @@ -33,8 +33,10 @@ public OpenIdConnectRegistration() /// 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) + /// The system metadata relating to this + /// resource. + public OpenIdConnectRegistration(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string clientId = default(string), OpenIdConnectClientCredential clientCredential = default(OpenIdConnectClientCredential), OpenIdConnectConfig openIdConnectConfiguration = default(OpenIdConnectConfig)) + : base(id, name, kind, type, systemData) { ClientId = clientId; ClientCredential = clientCredential; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/PremierAddOn.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/PremierAddOn.cs index 680ea63fa64b..96c294081e65 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/PremierAddOn.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/PremierAddOn.cs @@ -40,6 +40,8 @@ public PremierAddOn() /// Kind of resource. /// Resource type. /// Resource tags. + /// The system metadata relating to this + /// resource. /// Premier add on SKU. /// Premier add on Product. /// Premier add on Vendor. @@ -47,8 +49,8 @@ public PremierAddOn() /// publisher. /// Premier add on Marketplace /// offer. - public PremierAddOn(string location, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), IDictionary tags = default(IDictionary), string sku = default(string), string product = default(string), string vendor = default(string), string marketplacePublisher = default(string), string marketplaceOffer = default(string)) - : base(location, id, name, kind, type, tags) + public PremierAddOn(string location, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), IDictionary tags = default(IDictionary), SystemData systemData = default(SystemData), string sku = default(string), string product = default(string), string vendor = default(string), string marketplacePublisher = default(string), string marketplaceOffer = default(string)) + : base(location, id, name, kind, type, tags, systemData) { Sku = sku; Product = product; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/PremierAddOnOffer.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/PremierAddOnOffer.cs index a81239aad5ef..b40ce19b234f 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/PremierAddOnOffer.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/PremierAddOnOffer.cs @@ -36,6 +36,8 @@ public PremierAddOnOffer() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Premier add on SKU. /// Premier add on offer Product. /// Premier add on offer Vendor. @@ -50,8 +52,8 @@ public PremierAddOnOffer() /// Legal terms URL. /// Marketplace publisher. /// Marketplace offer. - public PremierAddOnOffer(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string sku = default(string), string product = default(string), string vendor = default(string), bool? promoCodeRequired = default(bool?), int? quota = default(int?), AppServicePlanRestrictions? webHostingPlanRestrictions = default(AppServicePlanRestrictions?), string privacyPolicyUrl = default(string), string legalTermsUrl = default(string), string marketplacePublisher = default(string), string marketplaceOffer = default(string)) - : base(id, name, kind, type) + public PremierAddOnOffer(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string sku = default(string), string product = default(string), string vendor = default(string), bool? promoCodeRequired = default(bool?), int? quota = default(int?), AppServicePlanRestrictions? webHostingPlanRestrictions = default(AppServicePlanRestrictions?), string privacyPolicyUrl = default(string), string legalTermsUrl = default(string), string marketplacePublisher = default(string), string marketplaceOffer = default(string)) + : base(id, name, kind, type, systemData) { Sku = sku; Product = product; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/PremierAddOnPatchResource.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/PremierAddOnPatchResource.cs index db9df88b7a70..c7474d980b1a 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/PremierAddOnPatchResource.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/PremierAddOnPatchResource.cs @@ -36,6 +36,8 @@ public PremierAddOnPatchResource() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Premier add on SKU. /// Premier add on Product. /// Premier add on Vendor. @@ -43,8 +45,8 @@ public PremierAddOnPatchResource() /// publisher. /// Premier add on Marketplace /// offer. - public PremierAddOnPatchResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string sku = default(string), string product = default(string), string vendor = default(string), string marketplacePublisher = default(string), string marketplaceOffer = default(string)) - : base(id, name, kind, type) + public PremierAddOnPatchResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string sku = default(string), string product = default(string), string vendor = default(string), string marketplacePublisher = default(string), string marketplaceOffer = default(string)) + : base(id, name, kind, type, systemData) { Sku = sku; Product = product; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/PrivateAccess.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/PrivateAccess.cs index 776a949db130..eb77449e9800 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/PrivateAccess.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/PrivateAccess.cs @@ -38,12 +38,14 @@ public PrivateAccess() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Whether private access is enabled or /// not. /// The Virtual Networks (and subnets) /// allowed to access the site privately. - public PrivateAccess(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), bool? enabled = default(bool?), IList virtualNetworks = default(IList)) - : base(id, name, kind, type) + public PrivateAccess(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), bool? enabled = default(bool?), IList virtualNetworks = default(IList)) + : base(id, name, kind, type, systemData) { Enabled = enabled; VirtualNetworks = virtualNetworks; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/PrivateEndpointConnectionResource.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/PrivateEndpointConnectionResource.cs index 2785fb08e062..c63895481662 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/PrivateEndpointConnectionResource.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/PrivateEndpointConnectionResource.cs @@ -38,10 +38,12 @@ public PrivateEndpointConnectionResource() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// PrivateEndpoint of a remote private /// endpoint connection - public PrivateEndpointConnectionResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string provisioningState = default(string), ArmIdWrapper privateEndpoint = default(ArmIdWrapper), PrivateLinkConnectionState privateLinkServiceConnectionState = default(PrivateLinkConnectionState)) - : base(id, name, kind, type) + public PrivateEndpointConnectionResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string provisioningState = default(string), ArmIdWrapper privateEndpoint = default(ArmIdWrapper), PrivateLinkConnectionState privateLinkServiceConnectionState = default(PrivateLinkConnectionState)) + : base(id, name, kind, type, systemData) { ProvisioningState = provisioningState; PrivateEndpoint = privateEndpoint; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/PrivateLinkConnectionApprovalRequestResource.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/PrivateLinkConnectionApprovalRequestResource.cs index ef3b3bd9df49..ed16f8cf6a72 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/PrivateLinkConnectionApprovalRequestResource.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/PrivateLinkConnectionApprovalRequestResource.cs @@ -38,8 +38,10 @@ public PrivateLinkConnectionApprovalRequestResource() /// Resource Name. /// Kind of resource. /// Resource type. - public PrivateLinkConnectionApprovalRequestResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), PrivateLinkConnectionState privateLinkServiceConnectionState = default(PrivateLinkConnectionState)) - : base(id, name, kind, type) + /// The system metadata relating to this + /// resource. + public PrivateLinkConnectionApprovalRequestResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), PrivateLinkConnectionState privateLinkServiceConnectionState = default(PrivateLinkConnectionState)) + : base(id, name, kind, type, systemData) { PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; CustomInit(); diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ProcessInfo.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ProcessInfo.cs index a8bf754df141..0b904b8269c2 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ProcessInfo.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ProcessInfo.cs @@ -38,6 +38,8 @@ public ProcessInfo() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// ARM Identifier for deployment. /// Deployment name. /// HRef URI. @@ -77,8 +79,8 @@ public ProcessInfo() /// Is this the SCM site? /// Is this a Web Job? /// Description of process. - public ProcessInfo(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), int? identifier = default(int?), string deploymentName = default(string), string href = default(string), string minidump = default(string), bool? isProfileRunning = default(bool?), bool? isIisProfileRunning = default(bool?), double? iisProfileTimeoutInSeconds = default(double?), string parent = default(string), IList children = default(IList), IList threads = default(IList), IList openFileHandles = default(IList), IList modules = default(IList), string fileName = default(string), string commandLine = default(string), string userName = default(string), int? handleCount = default(int?), int? moduleCount = default(int?), int? threadCount = default(int?), System.DateTime? startTime = default(System.DateTime?), string totalCpuTime = default(string), string userCpuTime = default(string), string privilegedCpuTime = default(string), long? workingSet = default(long?), long? peakWorkingSet = default(long?), long? privateMemory = default(long?), long? virtualMemory = default(long?), long? peakVirtualMemory = default(long?), long? pagedSystemMemory = default(long?), long? nonPagedSystemMemory = default(long?), long? pagedMemory = default(long?), long? peakPagedMemory = default(long?), System.DateTime? timeStamp = default(System.DateTime?), IDictionary environmentVariables = default(IDictionary), bool? isScmSite = default(bool?), bool? isWebjob = default(bool?), string description = default(string)) - : base(id, name, kind, type) + public ProcessInfo(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), int? identifier = default(int?), string deploymentName = default(string), string href = default(string), string minidump = default(string), bool? isProfileRunning = default(bool?), bool? isIisProfileRunning = default(bool?), double? iisProfileTimeoutInSeconds = default(double?), string parent = default(string), IList children = default(IList), IList threads = default(IList), IList openFileHandles = default(IList), IList modules = default(IList), string fileName = default(string), string commandLine = default(string), string userName = default(string), int? handleCount = default(int?), int? moduleCount = default(int?), int? threadCount = default(int?), System.DateTime? startTime = default(System.DateTime?), string totalCpuTime = default(string), string userCpuTime = default(string), string privilegedCpuTime = default(string), long? workingSet = default(long?), long? peakWorkingSet = default(long?), long? privateMemory = default(long?), long? virtualMemory = default(long?), long? peakVirtualMemory = default(long?), long? pagedSystemMemory = default(long?), long? nonPagedSystemMemory = default(long?), long? pagedMemory = default(long?), long? peakPagedMemory = default(long?), System.DateTime? timeStamp = default(System.DateTime?), IDictionary environmentVariables = default(IDictionary), bool? isScmSite = default(bool?), bool? isWebjob = default(bool?), string description = default(string)) + : base(id, name, kind, type, systemData) { Identifier = identifier; DeploymentName = deploymentName; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ProcessModuleInfo.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ProcessModuleInfo.cs index 3f3c4a14c836..c4c9bce8d954 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ProcessModuleInfo.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ProcessModuleInfo.cs @@ -36,6 +36,8 @@ public ProcessModuleInfo() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Base address. Used as module identifier /// in ARM resource URI. /// File name. @@ -48,8 +50,8 @@ public ProcessModuleInfo() /// Product version. /// Is debug? /// Module language (locale). - public ProcessModuleInfo(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string baseAddress = default(string), string fileName = default(string), string href = default(string), string filePath = default(string), int? moduleMemorySize = default(int?), string fileVersion = default(string), string fileDescription = default(string), string product = default(string), string productVersion = default(string), bool? isDebug = default(bool?), string language = default(string)) - : base(id, name, kind, type) + public ProcessModuleInfo(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string baseAddress = default(string), string fileName = default(string), string href = default(string), string filePath = default(string), int? moduleMemorySize = default(int?), string fileVersion = default(string), string fileDescription = default(string), string product = default(string), string productVersion = default(string), bool? isDebug = default(bool?), string language = default(string)) + : base(id, name, kind, type, systemData) { BaseAddress = baseAddress; FileName = fileName; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ProcessThreadInfo.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ProcessThreadInfo.cs index 7e37d356eccf..6faf521c4ce3 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ProcessThreadInfo.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ProcessThreadInfo.cs @@ -36,6 +36,8 @@ public ProcessThreadInfo() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Site extension ID. /// HRef URI. /// Process URI. @@ -48,8 +50,8 @@ public ProcessThreadInfo() /// User processor time. /// Thread state. /// Wait reason. - public ProcessThreadInfo(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), int? identifier = default(int?), string href = default(string), string process = default(string), string startAddress = default(string), int? currentPriority = default(int?), string priorityLevel = default(string), int? basePriority = default(int?), System.DateTime? startTime = default(System.DateTime?), string totalProcessorTime = default(string), string userProcessorTime = default(string), string state = default(string), string waitReason = default(string)) - : base(id, name, kind, type) + public ProcessThreadInfo(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), int? identifier = default(int?), string href = default(string), string process = default(string), string startAddress = default(string), int? currentPriority = default(int?), string priorityLevel = default(string), int? basePriority = default(int?), System.DateTime? startTime = default(System.DateTime?), string totalProcessorTime = default(string), string userProcessorTime = default(string), string state = default(string), string waitReason = default(string)) + : base(id, name, kind, type, systemData) { Identifier = identifier; Href = href; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ProxyOnlyResource.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ProxyOnlyResource.cs index 1f933160fd10..fb41b3f6564a 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ProxyOnlyResource.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ProxyOnlyResource.cs @@ -36,12 +36,15 @@ public ProxyOnlyResource() /// Resource Name. /// Kind of resource. /// Resource type. - public ProxyOnlyResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string)) + /// The system metadata relating to this + /// resource. + public ProxyOnlyResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData)) { Id = id; Name = name; Kind = kind; Type = type; + SystemData = systemData; CustomInit(); } @@ -74,5 +77,11 @@ public ProxyOnlyResource() [JsonProperty(PropertyName = "type")] public string Type { get; private set; } + /// + /// Gets or sets the system metadata relating to this resource. + /// + [JsonProperty(PropertyName = "systemData")] + public SystemData SystemData { get; set; } + } } diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/PublicCertificate.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/PublicCertificate.cs index fd1011837ada..cb99e0720984 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/PublicCertificate.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/PublicCertificate.cs @@ -36,13 +36,15 @@ public PublicCertificate() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Public Certificate byte array /// Public Certificate /// Location. Possible values include: 'CurrentUserMy', /// 'LocalMachineMy', 'Unknown' /// Certificate Thumbprint - public PublicCertificate(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), byte[] blob = default(byte[]), PublicCertificateLocation? publicCertificateLocation = default(PublicCertificateLocation?), string thumbprint = default(string)) - : base(id, name, kind, type) + public PublicCertificate(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), byte[] blob = default(byte[]), PublicCertificateLocation? publicCertificateLocation = default(PublicCertificateLocation?), string thumbprint = default(string)) + : base(id, name, kind, type, systemData) { Blob = blob; PublicCertificateLocation = publicCertificateLocation; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/PushSettings.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/PushSettings.cs index 890d9b51bd1e..5b600dbafd24 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/PushSettings.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/PushSettings.cs @@ -38,6 +38,8 @@ public PushSettings() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Gets or sets a JSON string /// containing a list of tags that are whitelisted for use by the push /// registration endpoint. @@ -50,8 +52,8 @@ public PushSettings() /// Gets or sets a JSON string containing /// a list of dynamic tags that will be evaluated from user claims in /// the push registration endpoint. - public PushSettings(bool isPushEnabled, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string tagWhitelistJson = default(string), string tagsRequiringAuth = default(string), string dynamicTagsJson = default(string)) - : base(id, name, kind, type) + public PushSettings(bool isPushEnabled, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string tagWhitelistJson = default(string), string tagsRequiringAuth = default(string), string dynamicTagsJson = default(string)) + : base(id, name, kind, type, systemData) { IsPushEnabled = isPushEnabled; TagWhitelistJson = tagWhitelistJson; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Recommendation.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Recommendation.cs index 91e53bd92e74..c91250888995 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Recommendation.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Recommendation.cs @@ -39,6 +39,8 @@ public Recommendation() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Timestamp when this instance was /// created. /// A GUID value that each @@ -87,8 +89,8 @@ public Recommendation() /// Deep link to a blade on the portal. /// Forward link to an external document /// associated with the rule. - public Recommendation(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), System.DateTime? creationTime = default(System.DateTime?), System.Guid? recommendationId = default(System.Guid?), string resourceId = default(string), string resourceScope = default(string), string ruleName = default(string), string displayName = default(string), string message = default(string), NotificationLevel? level = default(NotificationLevel?), Channels? channels = default(Channels?), IList categoryTags = default(IList), string actionName = default(string), int? enabled = default(int?), IList states = default(IList), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?), System.DateTime? nextNotificationTime = default(System.DateTime?), System.DateTime? notificationExpirationTime = default(System.DateTime?), System.DateTime? notifiedTime = default(System.DateTime?), double? score = default(double?), bool? isDynamic = default(bool?), string extensionName = default(string), string bladeName = default(string), string forwardLink = default(string)) - : base(id, name, kind, type) + public Recommendation(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), System.DateTime? creationTime = default(System.DateTime?), System.Guid? recommendationId = default(System.Guid?), string resourceId = default(string), string resourceScope = default(string), string ruleName = default(string), string displayName = default(string), string message = default(string), NotificationLevel? level = default(NotificationLevel?), Channels? channels = default(Channels?), IList categoryTags = default(IList), string actionName = default(string), int? enabled = default(int?), IList states = default(IList), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?), System.DateTime? nextNotificationTime = default(System.DateTime?), System.DateTime? notificationExpirationTime = default(System.DateTime?), System.DateTime? notifiedTime = default(System.DateTime?), double? score = default(double?), bool? isDynamic = default(bool?), string extensionName = default(string), string bladeName = default(string), string forwardLink = default(string)) + : base(id, name, kind, type, systemData) { CreationTime = creationTime; RecommendationId = recommendationId; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/RecommendationRule.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/RecommendationRule.cs index 79ad1c3a6199..cccea2e86e58 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/RecommendationRule.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/RecommendationRule.cs @@ -39,6 +39,8 @@ public RecommendationRule() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Unique name of the rule. /// UI friendly name of the rule. /// Localized name of the rule (Good for @@ -66,8 +68,8 @@ public RecommendationRule() /// Applicable to dynamic rule only. /// Forward link to an external document /// associated with the rule. Applicable to dynamic rule only. - public RecommendationRule(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string recommendationName = default(string), string displayName = default(string), string message = default(string), System.Guid? recommendationId = default(System.Guid?), string description = default(string), string actionName = default(string), NotificationLevel? level = default(NotificationLevel?), Channels? channels = default(Channels?), IList categoryTags = default(IList), bool? isDynamic = default(bool?), string extensionName = default(string), string bladeName = default(string), string forwardLink = default(string)) - : base(id, name, kind, type) + public RecommendationRule(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string recommendationName = default(string), string displayName = default(string), string message = default(string), System.Guid? recommendationId = default(System.Guid?), string description = default(string), string actionName = default(string), NotificationLevel? level = default(NotificationLevel?), Channels? channels = default(Channels?), IList categoryTags = default(IList), bool? isDynamic = default(bool?), string extensionName = default(string), string bladeName = default(string), string forwardLink = default(string)) + : base(id, name, kind, type, systemData) { RecommendationName = recommendationName; DisplayName = displayName; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ReissueCertificateOrderRequest.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ReissueCertificateOrderRequest.cs index 6cc305676cc6..ad1d15e69321 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ReissueCertificateOrderRequest.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ReissueCertificateOrderRequest.cs @@ -38,6 +38,8 @@ public ReissueCertificateOrderRequest() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Certificate Key Size. /// Delay in hours to revoke /// existing certificate after the new certificate is issued. @@ -45,8 +47,8 @@ public ReissueCertificateOrderRequest() /// Should we change the ASC type /// (from managed private key to external private key and vice /// versa). - public ReissueCertificateOrderRequest(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), int? keySize = default(int?), int? delayExistingRevokeInHours = default(int?), string csr = default(string), bool? isPrivateKeyExternal = default(bool?)) - : base(id, name, kind, type) + public ReissueCertificateOrderRequest(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), int? keySize = default(int?), int? delayExistingRevokeInHours = default(int?), string csr = default(string), bool? isPrivateKeyExternal = default(bool?)) + : base(id, name, kind, type, systemData) { KeySize = keySize; DelayExistingRevokeInHours = delayExistingRevokeInHours; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/RelayServiceConnectionEntity.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/RelayServiceConnectionEntity.cs index 9323d5b30647..b2d53def06dc 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/RelayServiceConnectionEntity.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/RelayServiceConnectionEntity.cs @@ -38,8 +38,10 @@ public RelayServiceConnectionEntity() /// Resource Name. /// Kind of resource. /// Resource type. - public RelayServiceConnectionEntity(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string entityName = default(string), string entityConnectionString = default(string), string resourceType = default(string), string resourceConnectionString = default(string), string hostname = default(string), int? port = default(int?), string biztalkUri = default(string)) - : base(id, name, kind, type) + /// The system metadata relating to this + /// resource. + public RelayServiceConnectionEntity(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string entityName = default(string), string entityConnectionString = default(string), string resourceType = default(string), string resourceConnectionString = default(string), string hostname = default(string), int? port = default(int?), string biztalkUri = default(string)) + : base(id, name, kind, type, systemData) { EntityName = entityName; EntityConnectionString = entityConnectionString; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/RenewCertificateOrderRequest.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/RenewCertificateOrderRequest.cs index cdd22b65c909..217e4415865b 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/RenewCertificateOrderRequest.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/RenewCertificateOrderRequest.cs @@ -38,13 +38,15 @@ public RenewCertificateOrderRequest() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Certificate Key Size. /// Csr to be used for re-key operation. /// Should we change the ASC type /// (from managed private key to external private key and vice /// versa). - public RenewCertificateOrderRequest(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), int? keySize = default(int?), string csr = default(string), bool? isPrivateKeyExternal = default(bool?)) - : base(id, name, kind, type) + public RenewCertificateOrderRequest(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), int? keySize = default(int?), string csr = default(string), bool? isPrivateKeyExternal = default(bool?)) + : base(id, name, kind, type, systemData) { KeySize = keySize; Csr = csr; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Resource.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Resource.cs index b9afb2fc04f6..8b75abea0738 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Resource.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Resource.cs @@ -39,7 +39,9 @@ public Resource() /// Kind of resource. /// Resource type. /// Resource tags. - public Resource(string location, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), IDictionary tags = default(IDictionary)) + /// The system metadata relating to this + /// resource. + public Resource(string location, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), IDictionary tags = default(IDictionary), SystemData systemData = default(SystemData)) { Id = id; Name = name; @@ -47,6 +49,7 @@ public Resource() Location = location; Type = type; Tags = tags; + SystemData = systemData; CustomInit(); } @@ -91,6 +94,12 @@ public Resource() [JsonProperty(PropertyName = "tags")] public IDictionary Tags { get; set; } + /// + /// Gets or sets the system metadata relating to this resource. + /// + [JsonProperty(PropertyName = "systemData")] + public SystemData SystemData { get; set; } + /// /// Validate the object. /// diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ResourceHealthMetadata.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ResourceHealthMetadata.cs index d27a122a6915..f8dd782193cd 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ResourceHealthMetadata.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ResourceHealthMetadata.cs @@ -36,12 +36,14 @@ public ResourceHealthMetadata() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// The category that the resource matches in /// the RHC Policy File /// Is there a health signal for the /// resource - public ResourceHealthMetadata(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string category = default(string), bool? signalAvailability = default(bool?)) - : base(id, name, kind, type) + public ResourceHealthMetadata(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string category = default(string), bool? signalAvailability = default(bool?)) + : base(id, name, kind, type, systemData) { Category = category; SignalAvailability = signalAvailability; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ResourceMetricDefinition.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ResourceMetricDefinition.cs index 022529f87010..12450b028dcd 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ResourceMetricDefinition.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ResourceMetricDefinition.cs @@ -38,6 +38,8 @@ public ResourceMetricDefinition() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Unit of the metric. /// Primary aggregation /// type. @@ -46,8 +48,8 @@ public ResourceMetricDefinition() /// Resource URI. /// Resource metric definition /// properties. - public ResourceMetricDefinition(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string unit = default(string), string primaryAggregationType = default(string), IList metricAvailabilities = default(IList), string resourceUri = default(string), IDictionary properties = default(IDictionary)) - : base(id, name, kind, type) + public ResourceMetricDefinition(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string unit = default(string), string primaryAggregationType = default(string), IList metricAvailabilities = default(IList), string resourceUri = default(string), IDictionary properties = default(IDictionary)) + : base(id, name, kind, type, systemData) { Unit = unit; PrimaryAggregationType = primaryAggregationType; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/RestoreRequest.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/RestoreRequest.cs index 7f9f46f4791e..aedced0abd72 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/RestoreRequest.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/RestoreRequest.cs @@ -43,6 +43,8 @@ public RestoreRequest() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Name of a blob which contains the /// backup. /// Name of an app. @@ -68,8 +70,8 @@ public RestoreRequest() /// App Service Environment name, if /// needed (only when restoring an app to an App Service /// Environment). - public RestoreRequest(string storageAccountUrl, bool overwrite, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string blobName = default(string), string siteName = default(string), IList databases = default(IList), bool? ignoreConflictingHostNames = default(bool?), bool? ignoreDatabases = default(bool?), string appServicePlan = default(string), BackupRestoreOperationType? operationType = default(BackupRestoreOperationType?), bool? adjustConnectionStrings = default(bool?), string hostingEnvironment = default(string)) - : base(id, name, kind, type) + public RestoreRequest(string storageAccountUrl, bool overwrite, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string blobName = default(string), string siteName = default(string), IList databases = default(IList), bool? ignoreConflictingHostNames = default(bool?), bool? ignoreDatabases = default(bool?), string appServicePlan = default(string), BackupRestoreOperationType? operationType = default(BackupRestoreOperationType?), bool? adjustConnectionStrings = default(bool?), string hostingEnvironment = default(string)) + : base(id, name, kind, type, systemData) { StorageAccountUrl = storageAccountUrl; BlobName = blobName; 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 5a5d96d804c3..dadbed7f6b7a 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 @@ -40,6 +40,8 @@ public Site() /// Kind of resource. /// Resource type. /// Resource tags. + /// The system metadata relating to this + /// resource. /// Current state of the app. /// Hostnames associated with the app. /// Name of the repository @@ -140,8 +142,8 @@ 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?), 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) + public Site(string location, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), IDictionary tags = default(IDictionary), SystemData systemData = default(SystemData), 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, systemData) { State = state; HostNames = hostNames; 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 a87bf293faac..249263578ca1 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 @@ -39,6 +39,8 @@ public SiteAuthSettings() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// <code>true</code> if the /// Authentication / Authorization feature is enabled for the current /// app; otherwise, <code>false</code>. @@ -205,8 +207,8 @@ public SiteAuthSettings() /// 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) + public SiteAuthSettings(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), 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, systemData) { Enabled = enabled; RuntimeVersion = runtimeVersion; 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 index 5a587a3976c4..5d31bdf7afd0 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SiteAuthSettingsV2.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SiteAuthSettingsV2.cs @@ -33,8 +33,10 @@ public SiteAuthSettingsV2() /// 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) + /// The system metadata relating to this + /// resource. + public SiteAuthSettingsV2(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), 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, systemData) { Platform = platform; GlobalValidation = globalValidation; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SiteConfig.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SiteConfig.cs index 09a72225be37..a3ddad889fe0 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SiteConfig.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SiteConfig.cs @@ -98,6 +98,12 @@ public SiteConfig() /// Auto Heal rules. /// Tracing options. /// Virtual Network name. + /// Virtual Network Route All + /// enabled. This causes all outbound traffic to have Virtual Network + /// Security Groups and User Defined Routes applied. + /// The number of private ports + /// assigned to this app. These will be assigned dynamically on + /// runtime. /// Cross-Origin Resource Sharing (CORS) /// settings. /// Push endpoint settings. @@ -124,13 +130,16 @@ public SiteConfig() /// MinTlsVersion: configures the minimum /// version of TLS required for SSL requests. Possible values include: /// '1.0', '1.1', '1.2' + /// ScmMinTlsVersion: configures the + /// minimum version of TLS required for SSL requests for SCM site. + /// Possible values include: '1.0', '1.1', '1.2' /// State of FTP / FTPS service. Possible /// values include: 'AllAllowed', 'FtpsOnly', 'Disabled' /// Number of preWarmed instances. /// This setting only applies to the Consumption and Elastic /// Plans /// Health check path - public SiteConfig(int? numberOfWorkers = default(int?), IList defaultDocuments = default(IList), string netFrameworkVersion = default(string), string phpVersion = default(string), string pythonVersion = default(string), string nodeVersion = default(string), string powerShellVersion = default(string), string linuxFxVersion = default(string), string windowsFxVersion = default(string), bool? requestTracingEnabled = default(bool?), System.DateTime? requestTracingExpirationTime = default(System.DateTime?), bool? remoteDebuggingEnabled = default(bool?), string remoteDebuggingVersion = default(string), bool? httpLoggingEnabled = default(bool?), int? logsDirectorySizeLimit = default(int?), bool? detailedErrorLoggingEnabled = default(bool?), string publishingUsername = default(string), IList appSettings = default(IList), IList connectionStrings = default(IList), SiteMachineKey machineKey = default(SiteMachineKey), IList handlerMappings = default(IList), string documentRoot = default(string), string scmType = default(string), bool? use32BitWorkerProcess = default(bool?), bool? webSocketsEnabled = default(bool?), bool? alwaysOn = default(bool?), string javaVersion = default(string), string javaContainer = default(string), string javaContainerVersion = default(string), string appCommandLine = default(string), ManagedPipelineMode? managedPipelineMode = default(ManagedPipelineMode?), IList virtualApplications = default(IList), SiteLoadBalancing? loadBalancing = default(SiteLoadBalancing?), Experiments experiments = default(Experiments), SiteLimits limits = default(SiteLimits), bool? autoHealEnabled = default(bool?), AutoHealRules autoHealRules = default(AutoHealRules), string tracingOptions = default(string), string vnetName = default(string), CorsSettings cors = default(CorsSettings), PushSettings push = default(PushSettings), ApiDefinitionInfo apiDefinition = default(ApiDefinitionInfo), ApiManagementConfig apiManagementConfig = default(ApiManagementConfig), string autoSwapSlotName = default(string), bool? localMySqlEnabled = default(bool?), int? managedServiceIdentityId = default(int?), int? xManagedServiceIdentityId = default(int?), IList ipSecurityRestrictions = default(IList), IList scmIpSecurityRestrictions = default(IList), bool? scmIpSecurityRestrictionsUseMain = default(bool?), bool? http20Enabled = default(bool?), string minTlsVersion = default(string), string ftpsState = default(string), int? preWarmedInstanceCount = default(int?), string healthCheckPath = default(string)) + public SiteConfig(int? numberOfWorkers = default(int?), IList defaultDocuments = default(IList), string netFrameworkVersion = default(string), string phpVersion = default(string), string pythonVersion = default(string), string nodeVersion = default(string), string powerShellVersion = default(string), string linuxFxVersion = default(string), string windowsFxVersion = default(string), bool? requestTracingEnabled = default(bool?), System.DateTime? requestTracingExpirationTime = default(System.DateTime?), bool? remoteDebuggingEnabled = default(bool?), string remoteDebuggingVersion = default(string), bool? httpLoggingEnabled = default(bool?), int? logsDirectorySizeLimit = default(int?), bool? detailedErrorLoggingEnabled = default(bool?), string publishingUsername = default(string), IList appSettings = default(IList), IList connectionStrings = default(IList), SiteMachineKey machineKey = default(SiteMachineKey), IList handlerMappings = default(IList), string documentRoot = default(string), string scmType = default(string), bool? use32BitWorkerProcess = default(bool?), bool? webSocketsEnabled = default(bool?), bool? alwaysOn = default(bool?), string javaVersion = default(string), string javaContainer = default(string), string javaContainerVersion = default(string), string appCommandLine = default(string), ManagedPipelineMode? managedPipelineMode = default(ManagedPipelineMode?), IList virtualApplications = default(IList), SiteLoadBalancing? loadBalancing = default(SiteLoadBalancing?), Experiments experiments = default(Experiments), SiteLimits limits = default(SiteLimits), bool? autoHealEnabled = default(bool?), AutoHealRules autoHealRules = default(AutoHealRules), string tracingOptions = default(string), string vnetName = default(string), bool? vnetRouteAllEnabled = default(bool?), int? vnetPrivatePortsCount = default(int?), CorsSettings cors = default(CorsSettings), PushSettings push = default(PushSettings), ApiDefinitionInfo apiDefinition = default(ApiDefinitionInfo), ApiManagementConfig apiManagementConfig = default(ApiManagementConfig), string autoSwapSlotName = default(string), bool? localMySqlEnabled = default(bool?), int? managedServiceIdentityId = default(int?), int? xManagedServiceIdentityId = default(int?), IList ipSecurityRestrictions = default(IList), IList scmIpSecurityRestrictions = default(IList), bool? scmIpSecurityRestrictionsUseMain = default(bool?), bool? http20Enabled = default(bool?), string minTlsVersion = default(string), string scmMinTlsVersion = default(string), string ftpsState = default(string), int? preWarmedInstanceCount = default(int?), string healthCheckPath = default(string)) { NumberOfWorkers = numberOfWorkers; DefaultDocuments = defaultDocuments; @@ -171,6 +180,8 @@ public SiteConfig() AutoHealRules = autoHealRules; TracingOptions = tracingOptions; VnetName = vnetName; + VnetRouteAllEnabled = vnetRouteAllEnabled; + VnetPrivatePortsCount = vnetPrivatePortsCount; Cors = cors; Push = push; ApiDefinition = apiDefinition; @@ -184,6 +195,7 @@ public SiteConfig() ScmIpSecurityRestrictionsUseMain = scmIpSecurityRestrictionsUseMain; Http20Enabled = http20Enabled; MinTlsVersion = minTlsVersion; + ScmMinTlsVersion = scmMinTlsVersion; FtpsState = ftpsState; PreWarmedInstanceCount = preWarmedInstanceCount; HealthCheckPath = healthCheckPath; @@ -451,6 +463,21 @@ public SiteConfig() [JsonProperty(PropertyName = "vnetName")] public string VnetName { get; set; } + /// + /// Gets or sets virtual Network Route All enabled. This causes all + /// outbound traffic to have Virtual Network Security Groups and User + /// Defined Routes applied. + /// + [JsonProperty(PropertyName = "vnetRouteAllEnabled")] + public bool? VnetRouteAllEnabled { get; set; } + + /// + /// Gets or sets the number of private ports assigned to this app. + /// These will be assigned dynamically on runtime. + /// + [JsonProperty(PropertyName = "vnetPrivatePortsCount")] + public int? VnetPrivatePortsCount { get; set; } + /// /// Gets or sets cross-Origin Resource Sharing (CORS) settings. /// @@ -535,6 +562,14 @@ public SiteConfig() [JsonProperty(PropertyName = "minTlsVersion")] public string MinTlsVersion { get; set; } + /// + /// Gets or sets scmMinTlsVersion: configures the minimum version of + /// TLS required for SSL requests for SCM site. Possible values + /// include: '1.0', '1.1', '1.2' + /// + [JsonProperty(PropertyName = "scmMinTlsVersion")] + public string ScmMinTlsVersion { get; set; } + /// /// Gets or sets state of FTP / FTPS service. Possible values include: /// 'AllAllowed', 'FtpsOnly', 'Disabled' diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SiteConfigResource.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SiteConfigResource.cs index c51daa41c62e..eab2b73bc168 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SiteConfigResource.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SiteConfigResource.cs @@ -38,6 +38,8 @@ public SiteConfigResource() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Number of workers. /// Default documents. /// .NET Framework version. @@ -104,6 +106,12 @@ public SiteConfigResource() /// Auto Heal rules. /// Tracing options. /// Virtual Network name. + /// Virtual Network Route All + /// enabled. This causes all outbound traffic to have Virtual Network + /// Security Groups and User Defined Routes applied. + /// The number of private ports + /// assigned to this app. These will be assigned dynamically on + /// runtime. /// Cross-Origin Resource Sharing (CORS) /// settings. /// Push endpoint settings. @@ -130,14 +138,17 @@ public SiteConfigResource() /// MinTlsVersion: configures the minimum /// version of TLS required for SSL requests. Possible values include: /// '1.0', '1.1', '1.2' + /// ScmMinTlsVersion: configures the + /// minimum version of TLS required for SSL requests for SCM site. + /// Possible values include: '1.0', '1.1', '1.2' /// State of FTP / FTPS service. Possible /// values include: 'AllAllowed', 'FtpsOnly', 'Disabled' /// Number of preWarmed instances. /// This setting only applies to the Consumption and Elastic /// Plans /// Health check path - public SiteConfigResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), int? numberOfWorkers = default(int?), IList defaultDocuments = default(IList), string netFrameworkVersion = default(string), string phpVersion = default(string), string pythonVersion = default(string), string nodeVersion = default(string), string powerShellVersion = default(string), string linuxFxVersion = default(string), string windowsFxVersion = default(string), bool? requestTracingEnabled = default(bool?), System.DateTime? requestTracingExpirationTime = default(System.DateTime?), bool? remoteDebuggingEnabled = default(bool?), string remoteDebuggingVersion = default(string), bool? httpLoggingEnabled = default(bool?), int? logsDirectorySizeLimit = default(int?), bool? detailedErrorLoggingEnabled = default(bool?), string publishingUsername = default(string), IList appSettings = default(IList), IList connectionStrings = default(IList), SiteMachineKey machineKey = default(SiteMachineKey), IList handlerMappings = default(IList), string documentRoot = default(string), string scmType = default(string), bool? use32BitWorkerProcess = default(bool?), bool? webSocketsEnabled = default(bool?), bool? alwaysOn = default(bool?), string javaVersion = default(string), string javaContainer = default(string), string javaContainerVersion = default(string), string appCommandLine = default(string), ManagedPipelineMode? managedPipelineMode = default(ManagedPipelineMode?), IList virtualApplications = default(IList), SiteLoadBalancing? loadBalancing = default(SiteLoadBalancing?), Experiments experiments = default(Experiments), SiteLimits limits = default(SiteLimits), bool? autoHealEnabled = default(bool?), AutoHealRules autoHealRules = default(AutoHealRules), string tracingOptions = default(string), string vnetName = default(string), CorsSettings cors = default(CorsSettings), PushSettings push = default(PushSettings), ApiDefinitionInfo apiDefinition = default(ApiDefinitionInfo), ApiManagementConfig apiManagementConfig = default(ApiManagementConfig), string autoSwapSlotName = default(string), bool? localMySqlEnabled = default(bool?), int? managedServiceIdentityId = default(int?), int? xManagedServiceIdentityId = default(int?), IList ipSecurityRestrictions = default(IList), IList scmIpSecurityRestrictions = default(IList), bool? scmIpSecurityRestrictionsUseMain = default(bool?), bool? http20Enabled = default(bool?), string minTlsVersion = default(string), string ftpsState = default(string), int? preWarmedInstanceCount = default(int?), string healthCheckPath = default(string)) - : base(id, name, kind, type) + public SiteConfigResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), int? numberOfWorkers = default(int?), IList defaultDocuments = default(IList), string netFrameworkVersion = default(string), string phpVersion = default(string), string pythonVersion = default(string), string nodeVersion = default(string), string powerShellVersion = default(string), string linuxFxVersion = default(string), string windowsFxVersion = default(string), bool? requestTracingEnabled = default(bool?), System.DateTime? requestTracingExpirationTime = default(System.DateTime?), bool? remoteDebuggingEnabled = default(bool?), string remoteDebuggingVersion = default(string), bool? httpLoggingEnabled = default(bool?), int? logsDirectorySizeLimit = default(int?), bool? detailedErrorLoggingEnabled = default(bool?), string publishingUsername = default(string), IList appSettings = default(IList), IList connectionStrings = default(IList), SiteMachineKey machineKey = default(SiteMachineKey), IList handlerMappings = default(IList), string documentRoot = default(string), string scmType = default(string), bool? use32BitWorkerProcess = default(bool?), bool? webSocketsEnabled = default(bool?), bool? alwaysOn = default(bool?), string javaVersion = default(string), string javaContainer = default(string), string javaContainerVersion = default(string), string appCommandLine = default(string), ManagedPipelineMode? managedPipelineMode = default(ManagedPipelineMode?), IList virtualApplications = default(IList), SiteLoadBalancing? loadBalancing = default(SiteLoadBalancing?), Experiments experiments = default(Experiments), SiteLimits limits = default(SiteLimits), bool? autoHealEnabled = default(bool?), AutoHealRules autoHealRules = default(AutoHealRules), string tracingOptions = default(string), string vnetName = default(string), bool? vnetRouteAllEnabled = default(bool?), int? vnetPrivatePortsCount = default(int?), CorsSettings cors = default(CorsSettings), PushSettings push = default(PushSettings), ApiDefinitionInfo apiDefinition = default(ApiDefinitionInfo), ApiManagementConfig apiManagementConfig = default(ApiManagementConfig), string autoSwapSlotName = default(string), bool? localMySqlEnabled = default(bool?), int? managedServiceIdentityId = default(int?), int? xManagedServiceIdentityId = default(int?), IList ipSecurityRestrictions = default(IList), IList scmIpSecurityRestrictions = default(IList), bool? scmIpSecurityRestrictionsUseMain = default(bool?), bool? http20Enabled = default(bool?), string minTlsVersion = default(string), string scmMinTlsVersion = default(string), string ftpsState = default(string), int? preWarmedInstanceCount = default(int?), string healthCheckPath = default(string)) + : base(id, name, kind, type, systemData) { NumberOfWorkers = numberOfWorkers; DefaultDocuments = defaultDocuments; @@ -178,6 +189,8 @@ public SiteConfigResource() AutoHealRules = autoHealRules; TracingOptions = tracingOptions; VnetName = vnetName; + VnetRouteAllEnabled = vnetRouteAllEnabled; + VnetPrivatePortsCount = vnetPrivatePortsCount; Cors = cors; Push = push; ApiDefinition = apiDefinition; @@ -191,6 +204,7 @@ public SiteConfigResource() ScmIpSecurityRestrictionsUseMain = scmIpSecurityRestrictionsUseMain; Http20Enabled = http20Enabled; MinTlsVersion = minTlsVersion; + ScmMinTlsVersion = scmMinTlsVersion; FtpsState = ftpsState; PreWarmedInstanceCount = preWarmedInstanceCount; HealthCheckPath = healthCheckPath; @@ -458,6 +472,21 @@ public SiteConfigResource() [JsonProperty(PropertyName = "properties.vnetName")] public string VnetName { get; set; } + /// + /// Gets or sets virtual Network Route All enabled. This causes all + /// outbound traffic to have Virtual Network Security Groups and User + /// Defined Routes applied. + /// + [JsonProperty(PropertyName = "properties.vnetRouteAllEnabled")] + public bool? VnetRouteAllEnabled { get; set; } + + /// + /// Gets or sets the number of private ports assigned to this app. + /// These will be assigned dynamically on runtime. + /// + [JsonProperty(PropertyName = "properties.vnetPrivatePortsCount")] + public int? VnetPrivatePortsCount { get; set; } + /// /// Gets or sets cross-Origin Resource Sharing (CORS) settings. /// @@ -542,6 +571,14 @@ public SiteConfigResource() [JsonProperty(PropertyName = "properties.minTlsVersion")] public string MinTlsVersion { get; set; } + /// + /// Gets or sets scmMinTlsVersion: configures the minimum version of + /// TLS required for SSL requests for SCM site. Possible values + /// include: '1.0', '1.1', '1.2' + /// + [JsonProperty(PropertyName = "properties.scmMinTlsVersion")] + public string ScmMinTlsVersion { get; set; } + /// /// Gets or sets state of FTP / FTPS service. Possible values include: /// 'AllAllowed', 'FtpsOnly', 'Disabled' diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SiteConfigurationSnapshotInfo.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SiteConfigurationSnapshotInfo.cs index 8223f04b14fe..a0d3de3f185c 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SiteConfigurationSnapshotInfo.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SiteConfigurationSnapshotInfo.cs @@ -38,10 +38,12 @@ public SiteConfigurationSnapshotInfo() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// The time the snapshot was taken. /// The id of the snapshot - public SiteConfigurationSnapshotInfo(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), System.DateTime? time = default(System.DateTime?), int? snapshotId = default(int?)) - : base(id, name, kind, type) + public SiteConfigurationSnapshotInfo(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), System.DateTime? time = default(System.DateTime?), int? snapshotId = default(int?)) + : base(id, name, kind, type, systemData) { Time = time; SnapshotId = snapshotId; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SiteExtensionInfo.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SiteExtensionInfo.cs index e7a3772cee59..8ed86f402636 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SiteExtensionInfo.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SiteExtensionInfo.cs @@ -38,6 +38,8 @@ public SiteExtensionInfo() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Site extension ID. /// Site extension type. Possible values /// include: 'Gallery', 'WebRoot' @@ -61,8 +63,8 @@ public SiteExtensionInfo() /// Installed timestamp. /// Provisioning state. /// Site Extension comment. - public SiteExtensionInfo(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string extensionId = default(string), string title = default(string), SiteExtensionType? extensionType = default(SiteExtensionType?), string summary = default(string), string description = default(string), string version = default(string), string extensionUrl = default(string), string projectUrl = default(string), string iconUrl = default(string), string licenseUrl = default(string), string feedUrl = default(string), IList authors = default(IList), string installerCommandLineParams = default(string), System.DateTime? publishedDateTime = default(System.DateTime?), int? downloadCount = default(int?), bool? localIsLatestVersion = default(bool?), string localPath = default(string), System.DateTime? installedDateTime = default(System.DateTime?), string provisioningState = default(string), string comment = default(string)) - : base(id, name, kind, type) + public SiteExtensionInfo(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string extensionId = default(string), string title = default(string), SiteExtensionType? extensionType = default(SiteExtensionType?), string summary = default(string), string description = default(string), string version = default(string), string extensionUrl = default(string), string projectUrl = default(string), string iconUrl = default(string), string licenseUrl = default(string), string feedUrl = default(string), IList authors = default(IList), string installerCommandLineParams = default(string), System.DateTime? publishedDateTime = default(System.DateTime?), int? downloadCount = default(int?), bool? localIsLatestVersion = default(bool?), string localPath = default(string), System.DateTime? installedDateTime = default(System.DateTime?), string provisioningState = default(string), string comment = default(string)) + : base(id, name, kind, type, systemData) { ExtensionId = extensionId; Title = title; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SiteLogsConfig.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SiteLogsConfig.cs index 79c82b86b0e1..6f140e595bed 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SiteLogsConfig.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SiteLogsConfig.cs @@ -36,6 +36,8 @@ public SiteLogsConfig() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Application logs /// configuration. /// HTTP logs configuration. @@ -43,8 +45,8 @@ public SiteLogsConfig() /// configuration. /// Detailed error messages /// configuration. - public SiteLogsConfig(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), ApplicationLogsConfig applicationLogs = default(ApplicationLogsConfig), HttpLogsConfig httpLogs = default(HttpLogsConfig), EnabledConfig failedRequestsTracing = default(EnabledConfig), EnabledConfig detailedErrorMessages = default(EnabledConfig)) - : base(id, name, kind, type) + public SiteLogsConfig(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), ApplicationLogsConfig applicationLogs = default(ApplicationLogsConfig), HttpLogsConfig httpLogs = default(HttpLogsConfig), EnabledConfig failedRequestsTracing = default(EnabledConfig), EnabledConfig detailedErrorMessages = default(EnabledConfig)) + : base(id, name, kind, type, systemData) { ApplicationLogs = applicationLogs; HttpLogs = httpLogs; 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 567a5fb54af7..1df4ae2ca7dc 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 @@ -38,6 +38,8 @@ public SitePatchResource() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Current state of the app. /// Hostnames associated with the app. /// Name of the repository @@ -138,8 +140,8 @@ 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?), 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) + public SitePatchResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), 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, systemData) { State = state; HostNames = hostNames; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SitePhpErrorLogFlag.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SitePhpErrorLogFlag.cs index 8d7fc1abb334..dde5da9ccd08 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SitePhpErrorLogFlag.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SitePhpErrorLogFlag.cs @@ -36,14 +36,16 @@ public SitePhpErrorLogFlag() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Local log_errors setting. /// Master log_errors setting. /// Local log_errors_max_len /// setting. /// Master log_errors_max_len /// setting. - public SitePhpErrorLogFlag(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string localLogErrors = default(string), string masterLogErrors = default(string), string localLogErrorsMaxLength = default(string), string masterLogErrorsMaxLength = default(string)) - : base(id, name, kind, type) + public SitePhpErrorLogFlag(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string localLogErrors = default(string), string masterLogErrors = default(string), string localLogErrorsMaxLength = default(string), string masterLogErrorsMaxLength = default(string)) + : base(id, name, kind, type, systemData) { LocalLogErrors = localLogErrors; MasterLogErrors = masterLogErrors; 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 c2544d5f558f..20aaf6c7623b 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 @@ -36,6 +36,8 @@ public SiteSourceControl() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Repository or source control URL. /// Name of branch to use for deployment. /// <code>true</code> to @@ -51,8 +53,8 @@ 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? isGitHubAction = default(bool?), bool? deploymentRollbackEnabled = default(bool?), bool? isMercurial = default(bool?)) - : base(id, name, kind, type) + public SiteSourceControl(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), 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, systemData) { RepoUrl = repoUrl; Branch = branch; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SlotConfigNamesResource.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SlotConfigNamesResource.cs index a994ab81d947..b98a4c0bc564 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SlotConfigNamesResource.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SlotConfigNamesResource.cs @@ -38,14 +38,16 @@ public SlotConfigNamesResource() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// List of connection string /// names. /// List of application settings /// names. /// List of external Azure /// storage account identifiers. - public SlotConfigNamesResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), IList connectionStringNames = default(IList), IList appSettingNames = default(IList), IList azureStorageConfigNames = default(IList)) - : base(id, name, kind, type) + public SlotConfigNamesResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), IList connectionStringNames = default(IList), IList appSettingNames = default(IList), IList azureStorageConfigNames = default(IList)) + : base(id, name, kind, type, systemData) { ConnectionStringNames = connectionStringNames; AppSettingNames = appSettingNames; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SlotDifference.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SlotDifference.cs index 247330959681..5b69647446ea 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SlotDifference.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SlotDifference.cs @@ -36,6 +36,8 @@ public SlotDifference() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Level of the difference: Information, Warning /// or Error. /// The type of the setting: General, @@ -49,8 +51,8 @@ public SlotDifference() /// slot. /// Description of the setting /// difference. - public SlotDifference(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string level = default(string), string settingType = default(string), string diffRule = default(string), string settingName = default(string), string valueInCurrentSlot = default(string), string valueInTargetSlot = default(string), string description = default(string)) - : base(id, name, kind, type) + public SlotDifference(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string level = default(string), string settingType = default(string), string diffRule = default(string), string settingName = default(string), string valueInCurrentSlot = default(string), string valueInTargetSlot = default(string), string description = default(string)) + : base(id, name, kind, type, systemData) { Level = level; SettingType = settingType; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Snapshot.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Snapshot.cs index c0bb80c070d2..6334d3ad7372 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Snapshot.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Snapshot.cs @@ -36,9 +36,11 @@ public Snapshot() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// The time the snapshot was taken. - public Snapshot(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string time = default(string)) - : base(id, name, kind, type) + public Snapshot(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string time = default(string)) + : base(id, name, kind, type, systemData) { Time = time; CustomInit(); diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SnapshotRestoreRequest.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SnapshotRestoreRequest.cs index 2b4e6097d617..ea209de2dc94 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SnapshotRestoreRequest.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SnapshotRestoreRequest.cs @@ -39,6 +39,8 @@ public SnapshotRestoreRequest() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Point in time in which the app restore /// should be done, formatted as a DateTime string. /// Optional. Specifies the web app that @@ -52,8 +54,8 @@ public SnapshotRestoreRequest() /// enabled. /// If true, the snapshot is retrieved /// from DRSecondary endpoint. - public SnapshotRestoreRequest(bool overwrite, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string snapshotTime = default(string), SnapshotRecoverySource recoverySource = default(SnapshotRecoverySource), bool? recoverConfiguration = default(bool?), bool? ignoreConflictingHostNames = default(bool?), bool? useDRSecondary = default(bool?)) - : base(id, name, kind, type) + public SnapshotRestoreRequest(bool overwrite, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string snapshotTime = default(string), SnapshotRecoverySource recoverySource = default(SnapshotRecoverySource), bool? recoverConfiguration = default(bool?), bool? ignoreConflictingHostNames = default(bool?), bool? useDRSecondary = default(bool?)) + : base(id, name, kind, type, systemData) { SnapshotTime = snapshotTime; RecoverySource = recoverySource; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SourceControl.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SourceControl.cs index 6aed94a10774..46ae580aadbc 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SourceControl.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SourceControl.cs @@ -36,12 +36,14 @@ public SourceControl() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// OAuth access token. /// OAuth access token secret. /// OAuth refresh token. /// OAuth token expiration. - public SourceControl(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string token = default(string), string tokenSecret = default(string), string refreshToken = default(string), System.DateTime? expirationTime = default(System.DateTime?)) - : base(id, name, kind, type) + public SourceControl(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string token = default(string), string tokenSecret = default(string), string refreshToken = default(string), System.DateTime? expirationTime = default(System.DateTime?)) + : base(id, name, kind, type, systemData) { Token = token; TokenSecret = tokenSecret; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSiteARMResource.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSiteARMResource.cs index 656ca9e54a50..3c8456ac2283 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSiteARMResource.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSiteARMResource.cs @@ -40,6 +40,8 @@ public StaticSiteARMResource() /// Kind of resource. /// Resource type. /// Resource tags. + /// The system metadata relating to this + /// resource. /// The default autogenerated hostname /// for the static site. /// URL for the repository of the static @@ -52,8 +54,8 @@ public StaticSiteARMResource() /// secrets. /// Build properties to configure on the /// repository. - public StaticSiteARMResource(string location, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), IDictionary tags = default(IDictionary), string defaultHostname = default(string), string repositoryUrl = default(string), string branch = default(string), IList customDomains = default(IList), string repositoryToken = default(string), StaticSiteBuildProperties buildProperties = default(StaticSiteBuildProperties), SkuDescription sku = default(SkuDescription)) - : base(location, id, name, kind, type, tags) + public StaticSiteARMResource(string location, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), IDictionary tags = default(IDictionary), SystemData systemData = default(SystemData), string defaultHostname = default(string), string repositoryUrl = default(string), string branch = default(string), IList customDomains = default(IList), string repositoryToken = default(string), StaticSiteBuildProperties buildProperties = default(StaticSiteBuildProperties), SkuDescription sku = default(SkuDescription)) + : base(location, id, name, kind, type, tags, systemData) { DefaultHostname = defaultHostname; RepositoryUrl = repositoryUrl; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSiteBuildARMResource.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSiteBuildARMResource.cs index b82f1efcf925..28ec4c663cb1 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSiteBuildARMResource.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSiteBuildARMResource.cs @@ -36,6 +36,8 @@ public StaticSiteBuildARMResource() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// An identifier for the static site /// build. /// The source branch. @@ -48,8 +50,8 @@ public StaticSiteBuildARMResource() /// The status of the static site build. Possible /// values include: 'WaitingForDeployment', 'Uploading', 'Deploying', /// 'Ready', 'Failed', 'Deleting', 'Detached' - public StaticSiteBuildARMResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string buildId = default(string), string sourceBranch = default(string), string pullRequestTitle = default(string), string hostname = default(string), System.DateTime? createdTimeUtc = default(System.DateTime?), System.DateTime? lastUpdatedOn = default(System.DateTime?), string status = default(string)) - : base(id, name, kind, type) + public StaticSiteBuildARMResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string buildId = default(string), string sourceBranch = default(string), string pullRequestTitle = default(string), string hostname = default(string), System.DateTime? createdTimeUtc = default(System.DateTime?), System.DateTime? lastUpdatedOn = default(System.DateTime?), string status = default(string)) + : base(id, name, kind, type, systemData) { BuildId = buildId; SourceBranch = sourceBranch; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSiteCustomDomainOverviewARMResource.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSiteCustomDomainOverviewARMResource.cs index b2dca77065cf..02b8d78f1dc4 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSiteCustomDomainOverviewARMResource.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSiteCustomDomainOverviewARMResource.cs @@ -38,12 +38,14 @@ public StaticSiteCustomDomainOverviewARMResource() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// The domain name for the static site custom /// domain. /// The date and time on which the custom /// domain was created for the static site. - public StaticSiteCustomDomainOverviewARMResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string domainName = default(string), System.DateTime? createdOn = default(System.DateTime?)) - : base(id, name, kind, type) + public StaticSiteCustomDomainOverviewARMResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string domainName = default(string), System.DateTime? createdOn = default(System.DateTime?)) + : base(id, name, kind, type, systemData) { DomainName = domainName; CreatedOn = createdOn; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSiteFunctionOverviewARMResource.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSiteFunctionOverviewARMResource.cs index 2e39a7c18f36..799fdd0d53a7 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSiteFunctionOverviewARMResource.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSiteFunctionOverviewARMResource.cs @@ -38,11 +38,13 @@ public StaticSiteFunctionOverviewARMResource() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// The name for the function /// The trigger type of the function. /// Possible values include: 'HttpTrigger', 'Unknown' - public StaticSiteFunctionOverviewARMResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string functionName = default(string), string triggerType = default(string)) - : base(id, name, kind, type) + public StaticSiteFunctionOverviewARMResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string functionName = default(string), string triggerType = default(string)) + : base(id, name, kind, type, systemData) { FunctionName = functionName; TriggerType = triggerType; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSitePatchResource.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSitePatchResource.cs index a4de50863546..da6893218e5e 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSitePatchResource.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSitePatchResource.cs @@ -38,6 +38,8 @@ public StaticSitePatchResource() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// The default autogenerated hostname /// for the static site. /// URL for the repository of the static @@ -50,8 +52,8 @@ public StaticSitePatchResource() /// secrets. /// Build properties to configure on the /// repository. - public StaticSitePatchResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string defaultHostname = default(string), string repositoryUrl = default(string), string branch = default(string), IList customDomains = default(IList), string repositoryToken = default(string), StaticSiteBuildProperties buildProperties = default(StaticSiteBuildProperties)) - : base(id, name, kind, type) + public StaticSitePatchResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string defaultHostname = default(string), string repositoryUrl = default(string), string branch = default(string), IList customDomains = default(IList), string repositoryToken = default(string), StaticSiteBuildProperties buildProperties = default(StaticSiteBuildProperties)) + : base(id, name, kind, type, systemData) { DefaultHostname = defaultHostname; RepositoryUrl = repositoryUrl; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSiteResetPropertiesARMResource.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSiteResetPropertiesARMResource.cs index 337b9ceedcbb..adfcde20d5d0 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSiteResetPropertiesARMResource.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSiteResetPropertiesARMResource.cs @@ -38,12 +38,14 @@ public StaticSiteResetPropertiesARMResource() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// The token which proves admin /// privileges to the repository. /// Determines whether the /// repository should be updated with the new properties. - public StaticSiteResetPropertiesARMResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string repositoryToken = default(string), bool? shouldUpdateRepository = default(bool?)) - : base(id, name, kind, type) + public StaticSiteResetPropertiesARMResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string repositoryToken = default(string), bool? shouldUpdateRepository = default(bool?)) + : base(id, name, kind, type, systemData) { RepositoryToken = repositoryToken; ShouldUpdateRepository = shouldUpdateRepository; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSiteUserARMResource.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSiteUserARMResource.cs index 4999de01981e..84c673374473 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSiteUserARMResource.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSiteUserARMResource.cs @@ -36,6 +36,8 @@ public StaticSiteUserARMResource() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// The identity provider for the static site /// user. /// The user id for the static site user. @@ -43,8 +45,8 @@ public StaticSiteUserARMResource() /// user. /// The roles for the static site user, in /// free-form string format - public StaticSiteUserARMResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string provider = default(string), string userId = default(string), string displayName = default(string), string roles = default(string)) - : base(id, name, kind, type) + public StaticSiteUserARMResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string provider = default(string), string userId = default(string), string displayName = default(string), string roles = default(string)) + : base(id, name, kind, type, systemData) { Provider = provider; UserId = userId; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSiteUserInvitationRequestResource.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSiteUserInvitationRequestResource.cs index 1d33056a11c8..07f0707cdbb1 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSiteUserInvitationRequestResource.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSiteUserInvitationRequestResource.cs @@ -38,6 +38,8 @@ public StaticSiteUserInvitationRequestResource() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// The domain name for the static site custom /// domain. /// The identity provider for the static site @@ -48,8 +50,8 @@ public StaticSiteUserInvitationRequestResource() /// free-form string format /// The number of hours the sas /// token stays valid - public StaticSiteUserInvitationRequestResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string domain = default(string), string provider = default(string), string userDetails = default(string), string roles = default(string), int? numHoursToExpiration = default(int?)) - : base(id, name, kind, type) + public StaticSiteUserInvitationRequestResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string domain = default(string), string provider = default(string), string userDetails = default(string), string roles = default(string), int? numHoursToExpiration = default(int?)) + : base(id, name, kind, type, systemData) { Domain = domain; Provider = provider; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSiteUserInvitationResponseResource.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSiteUserInvitationResponseResource.cs index dfd32c63e2ce..8170a4dac3e7 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSiteUserInvitationResponseResource.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSiteUserInvitationResponseResource.cs @@ -38,11 +38,13 @@ public StaticSiteUserInvitationResponseResource() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// The expiration time of the /// invitation /// The url for the invitation link - public StaticSiteUserInvitationResponseResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), System.DateTime? expiresOn = default(System.DateTime?), string invitationUrl = default(string)) - : base(id, name, kind, type) + public StaticSiteUserInvitationResponseResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), System.DateTime? expiresOn = default(System.DateTime?), string invitationUrl = default(string)) + : base(id, name, kind, type, systemData) { ExpiresOn = expiresOn; InvitationUrl = invitationUrl; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSitesWorkflowPreview.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSitesWorkflowPreview.cs new file mode 100644 index 000000000000..2c39a14e8ac9 --- /dev/null +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSitesWorkflowPreview.cs @@ -0,0 +1,71 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.WebSites.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Preview for the Static Site Workflow to be generated + /// + [Rest.Serialization.JsonTransformation] + public partial class StaticSitesWorkflowPreview : ProxyOnlyResource + { + /// + /// Initializes a new instance of the StaticSitesWorkflowPreview class. + /// + public StaticSitesWorkflowPreview() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the StaticSitesWorkflowPreview class. + /// + /// Resource Id. + /// Resource Name. + /// Kind of resource. + /// Resource type. + /// The system metadata relating to this + /// resource. + /// The path for the workflow file to be + /// generated + /// The contents for the workflow file to be + /// generated + public StaticSitesWorkflowPreview(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string path = default(string), string contents = default(string)) + : base(id, name, kind, type, systemData) + { + Path = path; + Contents = contents; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets the path for the workflow file to be generated + /// + [JsonProperty(PropertyName = "properties.path")] + public string Path { get; private set; } + + /// + /// Gets the contents for the workflow file to be generated + /// + [JsonProperty(PropertyName = "properties.contents")] + public string Contents { get; private set; } + + } +} diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSitesWorkflowPreviewRequest.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSitesWorkflowPreviewRequest.cs new file mode 100644 index 000000000000..cc11a68afcc0 --- /dev/null +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSitesWorkflowPreviewRequest.cs @@ -0,0 +1,81 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.WebSites.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Request entity for previewing the Static Site workflow + /// + [Rest.Serialization.JsonTransformation] + public partial class StaticSitesWorkflowPreviewRequest : ProxyOnlyResource + { + /// + /// Initializes a new instance of the StaticSitesWorkflowPreviewRequest + /// class. + /// + public StaticSitesWorkflowPreviewRequest() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the StaticSitesWorkflowPreviewRequest + /// class. + /// + /// Resource Id. + /// Resource Name. + /// Kind of resource. + /// Resource type. + /// The system metadata relating to this + /// resource. + /// URL for the repository of the static + /// site. + /// The target branch in the repository. + /// Build properties to configure on the + /// repository. + public StaticSitesWorkflowPreviewRequest(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string repositoryUrl = default(string), string branch = default(string), StaticSiteBuildProperties buildProperties = default(StaticSiteBuildProperties)) + : base(id, name, kind, type, systemData) + { + RepositoryUrl = repositoryUrl; + Branch = branch; + BuildProperties = buildProperties; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets URL for the repository of the static site. + /// + [JsonProperty(PropertyName = "properties.repositoryUrl")] + public string RepositoryUrl { get; set; } + + /// + /// Gets or sets the target branch in the repository. + /// + [JsonProperty(PropertyName = "properties.branch")] + public string Branch { get; set; } + + /// + /// Gets or sets build properties to configure on the repository. + /// + [JsonProperty(PropertyName = "properties.buildProperties")] + public StaticSiteBuildProperties BuildProperties { get; set; } + + } +} diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StorageMigrationOptions.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StorageMigrationOptions.cs index 7b046b435230..899a9b92c9dc 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StorageMigrationOptions.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StorageMigrationOptions.cs @@ -39,6 +39,8 @@ public StorageMigrationOptions() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// <code>true</code>if the /// app should be switched over; otherwise, @@ -46,8 +48,8 @@ public StorageMigrationOptions() /// <code>true</code> /// if the app should be read only during copy operation; otherwise, /// <code>false</code>. - public StorageMigrationOptions(string azurefilesConnectionString, string azurefilesShare, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), bool? switchSiteAfterMigration = default(bool?), bool? blockWriteAccessToSite = default(bool?)) - : base(id, name, kind, type) + public StorageMigrationOptions(string azurefilesConnectionString, string azurefilesShare, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), bool? switchSiteAfterMigration = default(bool?), bool? blockWriteAccessToSite = default(bool?)) + : base(id, name, kind, type, systemData) { AzurefilesConnectionString = azurefilesConnectionString; AzurefilesShare = azurefilesShare; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StorageMigrationResponse.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StorageMigrationResponse.cs index e40f907ac262..ff3b18ec3368 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StorageMigrationResponse.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StorageMigrationResponse.cs @@ -36,11 +36,13 @@ public StorageMigrationResponse() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// When server starts the migration process, /// it will return an operation ID identifying that particular /// migration operation. - public StorageMigrationResponse(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string operationId = default(string)) - : base(id, name, kind, type) + public StorageMigrationResponse(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string operationId = default(string)) + : base(id, name, kind, type, systemData) { OperationId = operationId; CustomInit(); diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StringDictionary.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StringDictionary.cs index 99192936fc6d..54b3624d2c50 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StringDictionary.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StringDictionary.cs @@ -35,9 +35,11 @@ public StringDictionary() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Settings. - public StringDictionary(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), IDictionary properties = default(IDictionary)) - : base(id, name, kind, type) + public StringDictionary(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), IDictionary properties = default(IDictionary)) + : base(id, name, kind, type, systemData) { Properties = properties; CustomInit(); diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SwiftVirtualNetwork.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SwiftVirtualNetwork.cs index 6237c01beb53..6767473eded3 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SwiftVirtualNetwork.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SwiftVirtualNetwork.cs @@ -37,14 +37,16 @@ public SwiftVirtualNetwork() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// The Virtual Network subnet's /// resource ID. This is the subnet that this Web App will join. This /// subnet must have a delegation to Microsoft.Web/serverFarms defined /// first. /// A flag that specifies if the scale /// unit this Web App is on supports Swift integration. - public SwiftVirtualNetwork(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string subnetResourceId = default(string), bool? swiftSupported = default(bool?)) - : base(id, name, kind, type) + public SwiftVirtualNetwork(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string subnetResourceId = default(string), bool? swiftSupported = default(bool?)) + : base(id, name, kind, type, systemData) { SubnetResourceId = subnetResourceId; SwiftSupported = swiftSupported; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SystemData.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SystemData.cs new file mode 100644 index 000000000000..647f0bf893cc --- /dev/null +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/SystemData.cs @@ -0,0 +1,103 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.WebSites.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + public partial class SystemData + { + /// + /// Initializes a new instance of the SystemData class. + /// + public SystemData() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the SystemData class. + /// + /// The identity that created the + /// resource. + /// The type of identity that created the + /// resource. Possible values include: 'User', 'Application', + /// 'ManagedIdentity', 'Key' + /// The timestamp of resource creation + /// (UTC). + /// The identity that last modified the + /// resource. + /// The type of identity that last + /// modified the resource. Possible values include: 'User', + /// 'Application', 'ManagedIdentity', 'Key' + /// The type of identity that last + /// modified the resource. + public SystemData(string createdBy = default(string), string createdByType = default(string), System.DateTime? createdAt = default(System.DateTime?), string lastModifiedBy = default(string), string lastModifiedByType = default(string), System.DateTime? lastModifiedAt = default(System.DateTime?)) + { + CreatedBy = createdBy; + CreatedByType = createdByType; + CreatedAt = createdAt; + LastModifiedBy = lastModifiedBy; + LastModifiedByType = lastModifiedByType; + LastModifiedAt = lastModifiedAt; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the identity that created the resource. + /// + [JsonProperty(PropertyName = "createdBy")] + public string CreatedBy { get; set; } + + /// + /// Gets or sets the type of identity that created the resource. + /// Possible values include: 'User', 'Application', 'ManagedIdentity', + /// 'Key' + /// + [JsonProperty(PropertyName = "createdByType")] + public string CreatedByType { get; set; } + + /// + /// Gets or sets the timestamp of resource creation (UTC). + /// + [JsonProperty(PropertyName = "createdAt")] + public System.DateTime? CreatedAt { get; set; } + + /// + /// Gets or sets the identity that last modified the resource. + /// + [JsonProperty(PropertyName = "lastModifiedBy")] + public string LastModifiedBy { get; set; } + + /// + /// Gets or sets the type of identity that last modified the resource. + /// Possible values include: 'User', 'Application', 'ManagedIdentity', + /// 'Key' + /// + [JsonProperty(PropertyName = "lastModifiedByType")] + public string LastModifiedByType { get; set; } + + /// + /// Gets or sets the type of identity that last modified the resource. + /// + [JsonProperty(PropertyName = "lastModifiedAt")] + public System.DateTime? LastModifiedAt { get; set; } + + } +} 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 index ffe3edf35446..9e4c6c7f12c1 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/TokenStore.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/TokenStore.cs @@ -33,8 +33,10 @@ public TokenStore() /// 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) + /// The system metadata relating to this + /// resource. + public TokenStore(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), bool? enabled = default(bool?), double? tokenRefreshExtensionHours = default(double?), FileSystemTokenStore fileSystem = default(FileSystemTokenStore), BlobStorageTokenStore azureBlobStorage = default(BlobStorageTokenStore)) + : base(id, name, kind, type, systemData) { Enabled = enabled; TokenRefreshExtensionHours = tokenRefreshExtensionHours; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/TopLevelDomain.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/TopLevelDomain.cs index 6dec6fc5f030..92fc91602790 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/TopLevelDomain.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/TopLevelDomain.cs @@ -36,11 +36,13 @@ public TopLevelDomain() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// If <code>true</code>, then the /// top level domain supports domain privacy; otherwise, /// <code>false</code>. - public TopLevelDomain(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), bool? privacy = default(bool?)) - : base(id, name, kind, type) + public TopLevelDomain(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), bool? privacy = default(bool?)) + : base(id, name, kind, type, systemData) { Privacy = privacy; CustomInit(); diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/TriggeredJobHistory.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/TriggeredJobHistory.cs index cb058d3cd9c3..20e8e46a4a7e 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/TriggeredJobHistory.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/TriggeredJobHistory.cs @@ -39,9 +39,11 @@ public TriggeredJobHistory() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// List of triggered web job runs. - public TriggeredJobHistory(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), IList runs = default(IList)) - : base(id, name, kind, type) + public TriggeredJobHistory(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), IList runs = default(IList)) + : base(id, name, kind, type, systemData) { Runs = runs; CustomInit(); diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/TriggeredJobRun.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/TriggeredJobRun.cs index 976e997acb80..44f31436043e 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/TriggeredJobRun.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/TriggeredJobRun.cs @@ -36,6 +36,8 @@ public TriggeredJobRun() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Job ID. /// Job name. /// Job status. Possible values include: @@ -48,8 +50,8 @@ public TriggeredJobRun() /// Job URL. /// Job name. /// Job trigger. - public TriggeredJobRun(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string webJobId = default(string), string webJobName = default(string), TriggeredWebJobStatus? status = default(TriggeredWebJobStatus?), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?), string duration = default(string), string outputUrl = default(string), string errorUrl = default(string), string url = default(string), string jobName = default(string), string trigger = default(string)) - : base(id, name, kind, type) + public TriggeredJobRun(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string webJobId = default(string), string webJobName = default(string), TriggeredWebJobStatus? status = default(TriggeredWebJobStatus?), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?), string duration = default(string), string outputUrl = default(string), string errorUrl = default(string), string url = default(string), string jobName = default(string), string trigger = default(string)) + : base(id, name, kind, type, systemData) { WebJobId = webJobId; WebJobName = webJobName; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/TriggeredWebJob.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/TriggeredWebJob.cs index e22db3b35e2e..2899020538cd 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/TriggeredWebJob.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/TriggeredWebJob.cs @@ -38,6 +38,8 @@ public TriggeredWebJob() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Latest job run information. /// History URL. /// Scheduler Logs URL. @@ -49,8 +51,8 @@ public TriggeredWebJob() /// Error information. /// Using SDK? /// Job settings. - public TriggeredWebJob(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), TriggeredJobRun latestRun = default(TriggeredJobRun), string historyUrl = default(string), string schedulerLogsUrl = default(string), string runCommand = default(string), string url = default(string), string extraInfoUrl = default(string), WebJobType? webJobType = default(WebJobType?), string error = default(string), bool? usingSdk = default(bool?), IDictionary settings = default(IDictionary)) - : base(id, name, kind, type) + public TriggeredWebJob(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), TriggeredJobRun latestRun = default(TriggeredJobRun), string historyUrl = default(string), string schedulerLogsUrl = default(string), string runCommand = default(string), string url = default(string), string extraInfoUrl = default(string), WebJobType? webJobType = default(WebJobType?), string error = default(string), bool? usingSdk = default(bool?), IDictionary settings = default(IDictionary)) + : base(id, name, kind, type, systemData) { LatestRun = latestRun; HistoryUrl = historyUrl; 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 index c2c7bdf49b9c..c3b7209cecbf 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Twitter.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Twitter.cs @@ -33,8 +33,10 @@ public Twitter() /// 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) + /// The system metadata relating to this + /// resource. + public Twitter(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), bool? enabled = default(bool?), TwitterRegistration registration = default(TwitterRegistration)) + : base(id, name, kind, type, systemData) { Enabled = enabled; Registration = registration; 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 index 92b77941cf02..43d79ef21117 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/TwitterRegistration.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/TwitterRegistration.cs @@ -33,8 +33,10 @@ public TwitterRegistration() /// 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) + /// The system metadata relating to this + /// resource. + public TwitterRegistration(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string consumerKey = default(string), string consumerSecretSettingName = default(string)) + : base(id, name, kind, type, systemData) { ConsumerKey = consumerKey; ConsumerSecretSettingName = consumerSecretSettingName; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Usage.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Usage.cs index 3a3b84a8828b..ae976ca835d7 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Usage.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/Usage.cs @@ -36,6 +36,8 @@ public Usage() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Friendly name shown in the UI. /// Name of the quota resource. /// Units of measurement for the quota @@ -48,8 +50,8 @@ public Usage() /// Compute mode used for this usage. /// Possible values include: 'Shared', 'Dedicated', 'Dynamic' /// Site mode used for this usage. - public Usage(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string displayName = default(string), string resourceName = default(string), string unit = default(string), long? currentValue = default(long?), long? limit = default(long?), System.DateTime? nextResetTime = default(System.DateTime?), ComputeModeOptions? computeMode = default(ComputeModeOptions?), string siteMode = default(string)) - : base(id, name, kind, type) + public Usage(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string displayName = default(string), string resourceName = default(string), string unit = default(string), long? currentValue = default(long?), long? limit = default(long?), System.DateTime? nextResetTime = default(System.DateTime?), ComputeModeOptions? computeMode = default(ComputeModeOptions?), string siteMode = default(string)) + : base(id, name, kind, type, systemData) { DisplayName = displayName; ResourceName = resourceName; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/User.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/User.cs index c35bdf513eca..c39ea6b88abf 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/User.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/User.cs @@ -38,6 +38,8 @@ public User() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Password used for /// publishing. /// Password hash used for @@ -45,8 +47,8 @@ public User() /// Password hash salt used /// for publishing. /// Url of SCM site. - public User(string publishingUserName, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string publishingPassword = default(string), string publishingPasswordHash = default(string), string publishingPasswordHashSalt = default(string), string scmUri = default(string)) - : base(id, name, kind, type) + public User(string publishingUserName, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string publishingPassword = default(string), string publishingPasswordHash = default(string), string publishingPasswordHashSalt = default(string), string scmUri = default(string)) + : base(id, name, kind, type, systemData) { PublishingUserName = publishingUserName; PublishingPassword = publishingPassword; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/VnetGateway.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/VnetGateway.cs index f1e125c9e20d..1410cf46e0ad 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/VnetGateway.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/VnetGateway.cs @@ -39,9 +39,11 @@ public VnetGateway() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// The Virtual Network name. - public VnetGateway(string vpnPackageUri, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string vnetName = default(string)) - : base(id, name, kind, type) + public VnetGateway(string vpnPackageUri, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string vnetName = default(string)) + : base(id, name, kind, type, systemData) { VnetName = vnetName; VpnPackageUri = vpnPackageUri; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/VnetInfo.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/VnetInfo.cs index 9105621d291e..3ef977460566 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/VnetInfo.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/VnetInfo.cs @@ -38,6 +38,8 @@ public VnetInfo() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// The Virtual Network's resource /// ID. /// The client certificate @@ -55,8 +57,8 @@ public VnetInfo() /// addresses. /// Flag that is used to denote if this is VNET /// injection - public VnetInfo(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string vnetResourceId = default(string), string certThumbprint = default(string), string certBlob = default(string), IList routes = default(IList), bool? resyncRequired = default(bool?), string dnsServers = default(string), bool? isSwift = default(bool?)) - : base(id, name, kind, type) + public VnetInfo(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string vnetResourceId = default(string), string certThumbprint = default(string), string certBlob = default(string), IList routes = default(IList), bool? resyncRequired = default(bool?), string dnsServers = default(string), bool? isSwift = default(bool?)) + : base(id, name, kind, type, systemData) { VnetResourceId = vnetResourceId; CertThumbprint = certThumbprint; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/VnetParameters.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/VnetParameters.cs index 0afb85613b5f..57c3a197c3bb 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/VnetParameters.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/VnetParameters.cs @@ -36,13 +36,15 @@ public VnetParameters() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// The Resource Group of the VNET to /// be validated /// The name of the VNET to be validated /// The subnet name to be /// validated - public VnetParameters(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string vnetResourceGroup = default(string), string vnetName = default(string), string vnetSubnetName = default(string)) - : base(id, name, kind, type) + public VnetParameters(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string vnetResourceGroup = default(string), string vnetName = default(string), string vnetSubnetName = default(string)) + : base(id, name, kind, type, systemData) { VnetResourceGroup = vnetResourceGroup; VnetName = vnetName; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/VnetRoute.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/VnetRoute.cs index 5d89d8ccbcf9..6731d6e2e784 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/VnetRoute.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/VnetRoute.cs @@ -37,6 +37,8 @@ public VnetRoute() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// The starting address for this route. /// This may also include a CIDR notation, in which case the end /// address must not be specified. @@ -52,8 +54,8 @@ public VnetRoute() /// These values will be used for syncing an app's routes with those /// from a Virtual Network. Possible values include: 'DEFAULT', /// 'INHERITED', 'STATIC' - public VnetRoute(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string startAddress = default(string), string endAddress = default(string), string routeType = default(string)) - : base(id, name, kind, type) + public VnetRoute(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string startAddress = default(string), string endAddress = default(string), string routeType = default(string)) + : base(id, name, kind, type, systemData) { StartAddress = startAddress; EndAddress = endAddress; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/VnetValidationFailureDetails.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/VnetValidationFailureDetails.cs index f72ab080b2cf..28eab23bed79 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/VnetValidationFailureDetails.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/VnetValidationFailureDetails.cs @@ -40,12 +40,14 @@ public VnetValidationFailureDetails() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// A flag describing whether or not validation /// failed. /// A list of tests that failed in the /// validation. - public VnetValidationFailureDetails(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), bool? failed = default(bool?), IList failedTests = default(IList)) - : base(id, name, kind, type) + public VnetValidationFailureDetails(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), bool? failed = default(bool?), IList failedTests = default(IList)) + : base(id, name, kind, type, systemData) { Failed = failed; FailedTests = failedTests; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/VnetValidationTestFailure.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/VnetValidationTestFailure.cs index b0c504e4ebd9..2511e642ff49 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/VnetValidationTestFailure.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/VnetValidationTestFailure.cs @@ -37,11 +37,13 @@ public VnetValidationTestFailure() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// The name of the test that failed. /// The details of what caused the failure, e.g. /// the blocking rule name, etc. - public VnetValidationTestFailure(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string testName = default(string), string details = default(string)) - : base(id, name, kind, type) + public VnetValidationTestFailure(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string testName = default(string), string details = default(string)) + : base(id, name, kind, type, systemData) { TestName = testName; Details = details; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/WebJob.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/WebJob.cs index 588aa9240332..38f470f9f69f 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/WebJob.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/WebJob.cs @@ -38,6 +38,8 @@ public WebJob() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Run command. /// Job URL. /// Extra Info URL. @@ -46,8 +48,8 @@ public WebJob() /// Error information. /// Using SDK? /// Job settings. - public WebJob(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string runCommand = default(string), string url = default(string), string extraInfoUrl = default(string), WebJobType? webJobType = default(WebJobType?), string error = default(string), bool? usingSdk = default(bool?), IDictionary settings = default(IDictionary)) - : base(id, name, kind, type) + public WebJob(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), string runCommand = default(string), string url = default(string), string extraInfoUrl = default(string), WebJobType? webJobType = default(WebJobType?), string error = default(string), bool? usingSdk = default(bool?), IDictionary settings = default(IDictionary)) + : base(id, name, kind, type, systemData) { RunCommand = runCommand; Url = url; 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 c9e91df2ae59..f3bc4be7720e 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 @@ -35,6 +35,8 @@ public WebSiteInstanceStatus() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Possible values include: 'READY', 'STOPPED', /// 'UNKNOWN' /// Link to the GetStatusApi in Kudu @@ -44,8 +46,8 @@ public WebSiteInstanceStatus() /// 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) + public WebSiteInstanceStatus(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), 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, systemData) { State = state; StatusUrl = statusUrl; diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/WorkerPoolResource.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/WorkerPoolResource.cs index 1fc210ba63f6..c6e23e1b5a13 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/WorkerPoolResource.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/WorkerPoolResource.cs @@ -38,6 +38,8 @@ public WorkerPoolResource() /// Resource Name. /// Kind of resource. /// Resource type. + /// The system metadata relating to this + /// resource. /// Worker size ID for referencing this /// worker pool. /// Shared or dedicated app hosting. Possible @@ -48,8 +50,8 @@ public WorkerPoolResource() /// pool. /// Names of all instances in the worker /// pool (read only). - public WorkerPoolResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), int? workerSizeId = default(int?), ComputeModeOptions? computeMode = default(ComputeModeOptions?), string workerSize = default(string), int? workerCount = default(int?), IList instanceNames = default(IList), SkuDescription sku = default(SkuDescription)) - : base(id, name, kind, type) + public WorkerPoolResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), SystemData systemData = default(SystemData), int? workerSizeId = default(int?), ComputeModeOptions? computeMode = default(ComputeModeOptions?), string workerSize = default(string), int? workerCount = default(int?), IList instanceNames = default(IList), SkuDescription sku = default(SkuDescription)) + : base(id, name, kind, type, systemData) { WorkerSizeId = workerSizeId; ComputeMode = computeMode; 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 1c65562c417c..e3e0e214851f 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,50 +19,40 @@ public static IEnumerable> ApiInfo_WebSiteManageme { return new Tuple[] { - new Tuple("CertificateRegistration", "AppServiceCertificateOrders", "2020-06-01"), - new Tuple("CertificateRegistration", "CertificateRegistrationProvider", "2020-06-01"), - new Tuple("DomainRegistration", "DomainRegistrationProvider", "2020-06-01"), - new Tuple("DomainRegistration", "Domains", "2020-06-01"), - new Tuple("DomainRegistration", "TopLevelDomains", "2020-06-01"), - new Tuple("Web", "AppServiceEnvironments", "2020-06-01"), - new Tuple("Web", "AppServicePlans", "2020-06-01"), - new Tuple("Web", "Certificates", "2020-06-01"), - new Tuple("Web", "CheckNameAvailability", "2020-06-01"), - new Tuple("Web", "DeletedWebApps", "2020-06-01"), - new Tuple("Web", "Diagnostics", "2020-06-01"), - new Tuple("Web", "GetPublishingUser", "2020-06-01"), - new Tuple("Web", "GetSourceControl", "2020-06-01"), - new Tuple("Web", "GetSubscriptionDeploymentLocations", "2020-06-01"), - new Tuple("Web", "ListBillingMeters", "2020-06-01"), - new Tuple("Web", "ListGeoRegions", "2020-06-01"), - new Tuple("Web", "ListPremierAddOnOffers", "2020-06-01"), - new Tuple("Web", "ListSiteIdentifiersAssignedToHostName", "2020-06-01"), - new Tuple("Web", "ListSkus", "2020-06-01"), - new Tuple("Web", "ListSourceControls", "2020-06-01"), - new Tuple("Web", "Provider", "2020-06-01"), - new Tuple("Web", "Recommendations", "2020-06-01"), - new Tuple("Web", "ResourceHealthMetadata", "2020-06-01"), - new Tuple("Web", "StaticSites", "2020-06-01"), - new Tuple("Web", "UpdatePublishingUser", "2020-06-01"), - new Tuple("Web", "UpdateSourceControl", "2020-06-01"), - new Tuple("Web", "Validate", "2020-06-01"), - new Tuple("Web", "VerifyHostingEnvironmentVnet", "2020-06-01"), - new Tuple("Web", "WebApps", "2020-06-01"), - new Tuple("WebSiteManagementClient", "Move", "2020-06-01"), - new Tuple("WebSiteManagementClient", "ValidateMove", "2020-06-01"), + new Tuple("CertificateRegistration", "AppServiceCertificateOrders", "2020-09-01"), + new Tuple("CertificateRegistration", "CertificateRegistrationProvider", "2020-09-01"), + new Tuple("DomainRegistration", "DomainRegistrationProvider", "2020-09-01"), + new Tuple("DomainRegistration", "Domains", "2020-09-01"), + new Tuple("DomainRegistration", "TopLevelDomains", "2020-09-01"), + new Tuple("Web", "AppServiceEnvironments", "2020-09-01"), + new Tuple("Web", "AppServicePlans", "2020-09-01"), + new Tuple("Web", "Certificates", "2020-09-01"), + new Tuple("Web", "CheckNameAvailability", "2020-09-01"), + new Tuple("Web", "DeletedWebApps", "2020-09-01"), + new Tuple("Web", "Diagnostics", "2020-09-01"), + new Tuple("Web", "GenerateGithubAccessTokenForAppserviceCLIAsync", "2020-09-01"), + new Tuple("Web", "GetPublishingUser", "2020-09-01"), + new Tuple("Web", "GetSourceControl", "2020-09-01"), + new Tuple("Web", "GetSubscriptionDeploymentLocations", "2020-09-01"), + new Tuple("Web", "ListBillingMeters", "2020-09-01"), + new Tuple("Web", "ListGeoRegions", "2020-09-01"), + new Tuple("Web", "ListPremierAddOnOffers", "2020-09-01"), + new Tuple("Web", "ListSiteIdentifiersAssignedToHostName", "2020-09-01"), + new Tuple("Web", "ListSkus", "2020-09-01"), + new Tuple("Web", "ListSourceControls", "2020-09-01"), + new Tuple("Web", "Provider", "2020-09-01"), + new Tuple("Web", "Recommendations", "2020-09-01"), + new Tuple("Web", "ResourceHealthMetadata", "2020-09-01"), + new Tuple("Web", "StaticSites", "2020-09-01"), + new Tuple("Web", "UpdatePublishingUser", "2020-09-01"), + new Tuple("Web", "UpdateSourceControl", "2020-09-01"), + new Tuple("Web", "Validate", "2020-09-01"), + new Tuple("Web", "VerifyHostingEnvironmentVnet", "2020-09-01"), + new Tuple("Web", "WebApps", "2020-09-01"), + new Tuple("WebSiteManagementClient", "Move", "2020-09-01"), + new Tuple("WebSiteManagementClient", "ValidateMove", "2020-09-01"), }.AsEnumerable(); } } - // BEGIN: Code Generation Metadata Section - public static readonly String AutoRestVersion = "v2"; - public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4413"; - public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/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"; - public static readonly String GithubForkName = "Azure"; - public static readonly String GithubBranchName = "master"; - public static readonly String GithubCommidId = "1b04f5fce19cd330dcc0eec11a98e499c0cda50d"; - public static readonly String CodeGenerationErrors = ""; - public static readonly String GithubRepoName = "azure-rest-api-specs"; - // END: Code Generation Metadata Section } } - diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/StaticSitesOperations.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/StaticSitesOperations.cs index a8a84874472b..b7ec82ebf3b2 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/StaticSitesOperations.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/StaticSitesOperations.cs @@ -50,6 +50,206 @@ internal StaticSitesOperations(WebSiteManagementClient client) /// public WebSiteManagementClient Client { get; private set; } + /// + /// Generates a preview workflow file for the static site + /// + /// + /// Description for Generates a preview workflow file for the static site + /// + /// + /// Location where you plan to create the static site. + /// + /// + /// A JSON representation of the StaticSitesWorkflowPreviewRequest properties. + /// See example. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> PreviewWorkflowWithHttpMessagesAsync(string location, StaticSitesWorkflowPreviewRequest staticSitesWorkflowPreviewRequest, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (location == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "location"); + } + if (staticSitesWorkflowPreviewRequest == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "staticSitesWorkflowPreviewRequest"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("location", location); + tracingParameters.Add("staticSitesWorkflowPreviewRequest", staticSitesWorkflowPreviewRequest); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "PreviewWorkflow", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/previewStaticSiteWorkflowFile").ToString(); + _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(staticSitesWorkflowPreviewRequest != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(staticSitesWorkflowPreviewRequest, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new DefaultErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + DefaultErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// /// Get all Static Sites for a subscription. /// diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/StaticSitesOperationsExtensions.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/StaticSitesOperationsExtensions.cs index 4fea3668e831..65ac45fe7612 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/StaticSitesOperationsExtensions.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/StaticSitesOperationsExtensions.cs @@ -21,6 +21,54 @@ namespace Microsoft.Azure.Management.WebSites /// public static partial class StaticSitesOperationsExtensions { + /// + /// Generates a preview workflow file for the static site + /// + /// + /// Description for Generates a preview workflow file for the static site + /// + /// + /// The operations group for this extension method. + /// + /// + /// Location where you plan to create the static site. + /// + /// + /// A JSON representation of the StaticSitesWorkflowPreviewRequest properties. + /// See example. + /// + public static StaticSitesWorkflowPreview PreviewWorkflow(this IStaticSitesOperations operations, string location, StaticSitesWorkflowPreviewRequest staticSitesWorkflowPreviewRequest) + { + return operations.PreviewWorkflowAsync(location, staticSitesWorkflowPreviewRequest).GetAwaiter().GetResult(); + } + + /// + /// Generates a preview workflow file for the static site + /// + /// + /// Description for Generates a preview workflow file for the static site + /// + /// + /// The operations group for this extension method. + /// + /// + /// Location where you plan to create the static site. + /// + /// + /// A JSON representation of the StaticSitesWorkflowPreviewRequest properties. + /// See example. + /// + /// + /// The cancellation token. + /// + public static async Task PreviewWorkflowAsync(this IStaticSitesOperations operations, string location, StaticSitesWorkflowPreviewRequest staticSitesWorkflowPreviewRequest, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.PreviewWorkflowWithHttpMessagesAsync(location, staticSitesWorkflowPreviewRequest, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// /// Get all Static Sites for a subscription. /// diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/WebSiteManagementClient.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/WebSiteManagementClient.cs index e13c1b883b34..cb7c9a3f2b5a 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/WebSiteManagementClient.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/WebSiteManagementClient.cs @@ -409,7 +409,7 @@ private void Initialize() AppServicePlans = new AppServicePlansOperations(this); ResourceHealthMetadata = new ResourceHealthMetadataOperations(this); BaseUri = new System.Uri("https://management.azure.com"); - ApiVersion = "2020-06-01"; + ApiVersion = "2020-09-01"; AcceptLanguage = "en-US"; LongRunningOperationRetryTimeout = 30; GenerateClientRequestId = true; @@ -443,6 +443,204 @@ private void Initialize() DeserializationSettings.Converters.Add(new TransformationJsonConverter()); DeserializationSettings.Converters.Add(new CloudErrorJsonConverter()); } + /// + /// Exchange code for GitHub access token for AppService CLI + /// + /// + /// Description for Exchange code for GitHub access token for AppService CLI + /// + /// + /// Code string to exchange for Github Access token + /// + /// + /// State string used for verification. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GenerateGithubAccessTokenForAppserviceCLIAsyncWithHttpMessagesAsync(string code, string state, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.ApiVersion"); + } + if (code == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "code"); + } + if (state == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "state"); + } + AppserviceGithubTokenRequest request = new AppserviceGithubTokenRequest(); + if (code != null || state != null) + { + request.Code = code; + request.State = state; + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("request", request); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GenerateGithubAccessTokenForAppserviceCLIAsync", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "providers/Microsoft.Web/generateGithubAccessTokenForAppserviceCLI").ToString(); + List _queryParameters = new List(); + if (ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (GenerateClientRequestId != null && GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(request != null) + { + _requestContent = SafeJsonConvert.SerializeObject(request, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new DefaultErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + DefaultErrorResponse _errorBody = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// /// Gets publishing user /// diff --git a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/WebSiteManagementClientExtensions.cs b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/WebSiteManagementClientExtensions.cs index ef734c7a7f7b..49e2c1e5f5f1 100644 --- a/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/WebSiteManagementClientExtensions.cs +++ b/sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/WebSiteManagementClientExtensions.cs @@ -21,6 +21,52 @@ namespace Microsoft.Azure.Management.WebSites /// public static partial class WebSiteManagementClientExtensions { + /// + /// Exchange code for GitHub access token for AppService CLI + /// + /// + /// Description for Exchange code for GitHub access token for AppService CLI + /// + /// + /// The operations group for this extension method. + /// + /// + /// Code string to exchange for Github Access token + /// + /// + /// State string used for verification. + /// + public static AppserviceGithubToken GenerateGithubAccessTokenForAppserviceCLIAsync(this IWebSiteManagementClient operations, string code, string state) + { + return operations.GenerateGithubAccessTokenForAppserviceCLIAsyncAsync(code, state).GetAwaiter().GetResult(); + } + + /// + /// Exchange code for GitHub access token for AppService CLI + /// + /// + /// Description for Exchange code for GitHub access token for AppService CLI + /// + /// + /// The operations group for this extension method. + /// + /// + /// Code string to exchange for Github Access token + /// + /// + /// State string used for verification. + /// + /// + /// The cancellation token. + /// + public static async Task GenerateGithubAccessTokenForAppserviceCLIAsyncAsync(this IWebSiteManagementClient operations, string code, string state, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GenerateGithubAccessTokenForAppserviceCLIAsyncWithHttpMessagesAsync(code, state, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// /// Gets publishing user ///