diff --git a/sdk/appservice/arm-appservice/README.md b/sdk/appservice/arm-appservice/README.md index 916b2d0ac3e9..c9ea25bd055e 100644 --- a/sdk/appservice/arm-appservice/README.md +++ b/sdk/appservice/arm-appservice/README.md @@ -15,7 +15,7 @@ npm install @azure/arm-appservice ### How to use -#### nodejs - Authentication, client creation and list appServiceCertificateOrders as an example written in TypeScript. +#### nodejs - client creation and list appServiceCertificateOrders as an example written in TypeScript. ##### Install @azure/ms-rest-nodeauth @@ -26,11 +26,10 @@ npm install @azure/ms-rest-nodeauth@"^3.0.0" ##### Sample code +While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package ```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { WebSiteManagementClient, WebSiteManagementModels, WebSiteManagementMappers } from "@azure/arm-appservice"; +const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +const { WebSiteManagementClient } = require("@azure/arm-appservice"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; msRestNodeAuth.interactiveLogin().then((creds) => { diff --git a/sdk/appservice/arm-appservice/rollup.config.js b/sdk/appservice/arm-appservice/rollup.config.js index 6f74995874a1..6fb7635b5786 100644 --- a/sdk/appservice/arm-appservice/rollup.config.js +++ b/sdk/appservice/arm-appservice/rollup.config.js @@ -21,8 +21,8 @@ const config = { "@azure/ms-rest-azure-js": "msRestAzure" }, banner: `/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/appservice/arm-appservice/src/models/appServiceCertificateOrdersMappers.ts b/sdk/appservice/arm-appservice/src/models/appServiceCertificateOrdersMappers.ts index 602615db47d6..729152a6db2b 100644 --- a/sdk/appservice/arm-appservice/src/models/appServiceCertificateOrdersMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/appServiceCertificateOrdersMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -10,14 +10,15 @@ export { AbnormalTimePeriod, Address, AddressResponse, + AllowedAudiencesValidation, AnalysisData, AnalysisDefinition, ApiDefinitionInfo, - ApiKVReference, ApiManagementConfig, ApplicationLogsConfig, ApplicationStack, ApplicationStackResource, + AppRegistration, AppServiceCertificate, AppServiceCertificateCollection, AppServiceCertificateOrder, @@ -30,10 +31,15 @@ export { AppServicePlan, AppServicePlanPatchResource, ArmIdWrapper, + AuthPlatform, AutoHealActions, AutoHealCustomAction, AutoHealRules, AutoHealTriggers, + AzureActiveDirectory, + AzureActiveDirectoryLogin, + AzureActiveDirectoryRegistration, + AzureActiveDirectoryValidation, AzureBlobStorageApplicationLogsConfig, AzureBlobStorageHttpLogsConfig, AzureStorageInfoValue, @@ -44,12 +50,14 @@ export { BackupSchedule, BaseResource, BillingMeter, + BlobStorageTokenStore, Capability, Certificate, CertificateDetails, CertificateEmail, CertificateOrderAction, CertificatePatchResource, + ClientRegistration, CloningInfo, ConnectionStringDictionary, ConnStringInfo, @@ -62,10 +70,12 @@ export { ContainerNetworkInterfaceStatistics, ContainerThrottlingData, ContinuousWebJob, + CookieExpiration, CorsSettings, CsmPublishingCredentialsPoliciesCollection, CsmPublishingCredentialsPoliciesEntity, CustomHostnameAnalysisResult, + CustomOpenIdConnectProvider, DatabaseBackupSetting, DataSource, DataTableResponseColumn, @@ -93,24 +103,34 @@ export { EnabledConfig, ErrorEntity, Experiments, + Facebook, FileSystemApplicationLogsConfig, FileSystemHttpLogsConfig, + FileSystemTokenStore, + ForwardProxy, FunctionEnvelope, - FunctionSecrets, GeoRegion, + GitHub, + GlobalValidation, + Google, HandlerMapping, HostingEnvironmentProfile, HostName, HostNameBinding, HostNameSslState, HttpLogsConfig, + HttpSettings, + HttpSettingsRoutes, HybridConnection, HybridConnectionKey, HybridConnectionLimits, Identifier, + IdentityProviders, IpSecurityRestriction, - KeyVaultReferenceCollection, - KeyVaultReferenceResource, + JwtClaimChecks, + Login, + LoginRoutes, + LoginScopes, ManagedServiceIdentity, ManagedServiceIdentityUserAssignedIdentitiesValue, MigrateMySqlRequest, @@ -123,6 +143,11 @@ export { NameValuePair, NetworkAccessControlEntry, NetworkFeatures, + Nonce, + OpenIdConnectClientCredential, + OpenIdConnectConfig, + OpenIdConnectLogin, + OpenIdConnectRegistration, PremierAddOn, PremierAddOnOffer, PremierAddOnPatchResource, @@ -154,11 +179,11 @@ export { RestoreRequest, Site, SiteAuthSettings, + SiteAuthSettingsV2, SiteConfig, SiteConfigResource, SiteConfigurationSnapshotInfo, SiteExtensionInfo, - SiteInstance, SiteLimits, SiteLogsConfig, SiteMachineKey, @@ -188,6 +213,8 @@ export { StaticSiteFunctionOverviewARMResource, StaticSitePatchResource, StaticSiteResetPropertiesARMResource, + StaticSitesWorkflowPreview, + StaticSitesWorkflowPreviewRequest, StaticSiteUserARMResource, StaticSiteUserInvitationRequestResource, StaticSiteUserInvitationResponseResource, @@ -196,10 +223,14 @@ export { StorageMigrationResponse, StringDictionary, SwiftVirtualNetwork, + SystemData, + TokenStore, TopLevelDomain, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, + Twitter, + TwitterRegistration, Usage, User, VirtualApplication, diff --git a/sdk/appservice/arm-appservice/src/models/appServiceEnvironmentsMappers.ts b/sdk/appservice/arm-appservice/src/models/appServiceEnvironmentsMappers.ts index 24322870e614..b0b7f0d4d696 100644 --- a/sdk/appservice/arm-appservice/src/models/appServiceEnvironmentsMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/appServiceEnvironmentsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -10,14 +10,15 @@ export { AbnormalTimePeriod, Address, AddressResponse, + AllowedAudiencesValidation, AnalysisData, AnalysisDefinition, ApiDefinitionInfo, - ApiKVReference, ApiManagementConfig, ApplicationLogsConfig, ApplicationStack, ApplicationStackResource, + AppRegistration, AppServiceCertificate, AppServiceCertificateOrder, AppServiceCertificateOrderPatchResource, @@ -30,10 +31,15 @@ export { AppServicePlanCollection, AppServicePlanPatchResource, ArmIdWrapper, + AuthPlatform, AutoHealActions, AutoHealCustomAction, AutoHealRules, AutoHealTriggers, + AzureActiveDirectory, + AzureActiveDirectoryLogin, + AzureActiveDirectoryRegistration, + AzureActiveDirectoryValidation, AzureBlobStorageApplicationLogsConfig, AzureBlobStorageHttpLogsConfig, AzureStorageInfoValue, @@ -44,12 +50,14 @@ export { BackupSchedule, BaseResource, BillingMeter, + BlobStorageTokenStore, Capability, Certificate, CertificateDetails, CertificateEmail, CertificateOrderAction, CertificatePatchResource, + ClientRegistration, CloningInfo, ConnectionStringDictionary, ConnStringInfo, @@ -62,12 +70,14 @@ export { ContainerNetworkInterfaceStatistics, ContainerThrottlingData, ContinuousWebJob, + CookieExpiration, CorsSettings, CsmPublishingCredentialsPoliciesCollection, CsmPublishingCredentialsPoliciesEntity, CsmUsageQuota, CsmUsageQuotaCollection, CustomHostnameAnalysisResult, + CustomOpenIdConnectProvider, DatabaseBackupSetting, DataSource, DataTableResponseColumn, @@ -97,11 +107,16 @@ export { EndpointDetail, ErrorEntity, Experiments, + Facebook, FileSystemApplicationLogsConfig, FileSystemHttpLogsConfig, + FileSystemTokenStore, + ForwardProxy, FunctionEnvelope, - FunctionSecrets, GeoRegion, + GitHub, + GlobalValidation, + Google, HandlerMapping, HostingEnvironmentDiagnostics, HostingEnvironmentProfile, @@ -109,16 +124,21 @@ export { HostNameBinding, HostNameSslState, HttpLogsConfig, + HttpSettings, + HttpSettingsRoutes, HybridConnection, HybridConnectionKey, HybridConnectionLimits, Identifier, + IdentityProviders, InboundEnvironmentEndpoint, InboundEnvironmentEndpointCollection, IpSecurityRestriction, - KeyVaultReferenceCollection, - KeyVaultReferenceResource, + JwtClaimChecks, LocalizableString, + Login, + LoginRoutes, + LoginScopes, ManagedServiceIdentity, ManagedServiceIdentityUserAssignedIdentitiesValue, MigrateMySqlRequest, @@ -130,6 +150,11 @@ export { NameValuePair, NetworkAccessControlEntry, NetworkFeatures, + Nonce, + OpenIdConnectClientCredential, + OpenIdConnectConfig, + OpenIdConnectLogin, + OpenIdConnectRegistration, Operation, OutboundEnvironmentEndpoint, OutboundEnvironmentEndpointCollection, @@ -165,11 +190,11 @@ export { RestoreRequest, Site, SiteAuthSettings, + SiteAuthSettingsV2, SiteConfig, SiteConfigResource, SiteConfigurationSnapshotInfo, SiteExtensionInfo, - SiteInstance, SiteLimits, SiteLogsConfig, SiteMachineKey, @@ -200,6 +225,8 @@ export { StaticSiteFunctionOverviewARMResource, StaticSitePatchResource, StaticSiteResetPropertiesARMResource, + StaticSitesWorkflowPreview, + StaticSitesWorkflowPreviewRequest, StaticSiteUserARMResource, StaticSiteUserInvitationRequestResource, StaticSiteUserInvitationResponseResource, @@ -208,10 +235,14 @@ export { StorageMigrationResponse, StringDictionary, SwiftVirtualNetwork, + SystemData, + TokenStore, TopLevelDomain, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, + Twitter, + TwitterRegistration, Usage, UsageCollection, User, diff --git a/sdk/appservice/arm-appservice/src/models/appServicePlansMappers.ts b/sdk/appservice/arm-appservice/src/models/appServicePlansMappers.ts index 89f827a39725..a96da981914e 100644 --- a/sdk/appservice/arm-appservice/src/models/appServicePlansMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/appServicePlansMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -10,14 +10,15 @@ export { AbnormalTimePeriod, Address, AddressResponse, + AllowedAudiencesValidation, AnalysisData, AnalysisDefinition, ApiDefinitionInfo, - ApiKVReference, ApiManagementConfig, ApplicationLogsConfig, ApplicationStack, ApplicationStackResource, + AppRegistration, AppServiceCertificate, AppServiceCertificateOrder, AppServiceCertificateOrderPatchResource, @@ -29,10 +30,15 @@ export { AppServicePlanCollection, AppServicePlanPatchResource, ArmIdWrapper, + AuthPlatform, AutoHealActions, AutoHealCustomAction, AutoHealRules, AutoHealTriggers, + AzureActiveDirectory, + AzureActiveDirectoryLogin, + AzureActiveDirectoryRegistration, + AzureActiveDirectoryValidation, AzureBlobStorageApplicationLogsConfig, AzureBlobStorageHttpLogsConfig, AzureStorageInfoValue, @@ -43,12 +49,14 @@ export { BackupSchedule, BaseResource, BillingMeter, + BlobStorageTokenStore, Capability, Certificate, CertificateDetails, CertificateEmail, CertificateOrderAction, CertificatePatchResource, + ClientRegistration, CloningInfo, ConnectionStringDictionary, ConnStringInfo, @@ -61,12 +69,14 @@ export { ContainerNetworkInterfaceStatistics, ContainerThrottlingData, ContinuousWebJob, + CookieExpiration, CorsSettings, CsmPublishingCredentialsPoliciesCollection, CsmPublishingCredentialsPoliciesEntity, CsmUsageQuota, CsmUsageQuotaCollection, CustomHostnameAnalysisResult, + CustomOpenIdConnectProvider, DatabaseBackupSetting, DataSource, DataTableResponseColumn, @@ -94,26 +104,36 @@ export { EnabledConfig, ErrorEntity, Experiments, + Facebook, FileSystemApplicationLogsConfig, FileSystemHttpLogsConfig, + FileSystemTokenStore, + ForwardProxy, FunctionEnvelope, - FunctionSecrets, GeoRegion, + GitHub, + GlobalValidation, + Google, HandlerMapping, HostingEnvironmentProfile, HostName, HostNameBinding, HostNameSslState, HttpLogsConfig, + HttpSettings, + HttpSettingsRoutes, HybridConnection, HybridConnectionCollection, HybridConnectionKey, HybridConnectionLimits, Identifier, + IdentityProviders, IpSecurityRestriction, - KeyVaultReferenceCollection, - KeyVaultReferenceResource, + JwtClaimChecks, LocalizableString, + Login, + LoginRoutes, + LoginScopes, ManagedServiceIdentity, ManagedServiceIdentityUserAssignedIdentitiesValue, MigrateMySqlRequest, @@ -125,6 +145,11 @@ export { NameValuePair, NetworkAccessControlEntry, NetworkFeatures, + Nonce, + OpenIdConnectClientCredential, + OpenIdConnectConfig, + OpenIdConnectLogin, + OpenIdConnectRegistration, PremierAddOn, PremierAddOnOffer, PremierAddOnPatchResource, @@ -157,11 +182,11 @@ export { RestoreRequest, Site, SiteAuthSettings, + SiteAuthSettingsV2, SiteConfig, SiteConfigResource, SiteConfigurationSnapshotInfo, SiteExtensionInfo, - SiteInstance, SiteLimits, SiteLogsConfig, SiteMachineKey, @@ -189,6 +214,8 @@ export { StaticSiteFunctionOverviewARMResource, StaticSitePatchResource, StaticSiteResetPropertiesARMResource, + StaticSitesWorkflowPreview, + StaticSitesWorkflowPreviewRequest, StaticSiteUserARMResource, StaticSiteUserInvitationRequestResource, StaticSiteUserInvitationResponseResource, @@ -197,10 +224,14 @@ export { StorageMigrationResponse, StringDictionary, SwiftVirtualNetwork, + SystemData, + TokenStore, TopLevelDomain, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, + Twitter, + TwitterRegistration, Usage, User, VirtualApplication, diff --git a/sdk/appservice/arm-appservice/src/models/certificateRegistrationProviderMappers.ts b/sdk/appservice/arm-appservice/src/models/certificateRegistrationProviderMappers.ts index 3d64a964d021..c6c7950673c3 100644 --- a/sdk/appservice/arm-appservice/src/models/certificateRegistrationProviderMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/certificateRegistrationProviderMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/appservice/arm-appservice/src/models/certificatesMappers.ts b/sdk/appservice/arm-appservice/src/models/certificatesMappers.ts index 2c69e05c0aca..caa866a0a2b5 100644 --- a/sdk/appservice/arm-appservice/src/models/certificatesMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/certificatesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -10,14 +10,15 @@ export { AbnormalTimePeriod, Address, AddressResponse, + AllowedAudiencesValidation, AnalysisData, AnalysisDefinition, ApiDefinitionInfo, - ApiKVReference, ApiManagementConfig, ApplicationLogsConfig, ApplicationStack, ApplicationStackResource, + AppRegistration, AppServiceCertificate, AppServiceCertificateOrder, AppServiceCertificateOrderPatchResource, @@ -28,10 +29,15 @@ export { AppServicePlan, AppServicePlanPatchResource, ArmIdWrapper, + AuthPlatform, AutoHealActions, AutoHealCustomAction, AutoHealRules, AutoHealTriggers, + AzureActiveDirectory, + AzureActiveDirectoryLogin, + AzureActiveDirectoryRegistration, + AzureActiveDirectoryValidation, AzureBlobStorageApplicationLogsConfig, AzureBlobStorageHttpLogsConfig, AzureStorageInfoValue, @@ -42,6 +48,7 @@ export { BackupSchedule, BaseResource, BillingMeter, + BlobStorageTokenStore, Capability, Certificate, CertificateCollection, @@ -49,6 +56,7 @@ export { CertificateEmail, CertificateOrderAction, CertificatePatchResource, + ClientRegistration, CloningInfo, ConnectionStringDictionary, ConnStringInfo, @@ -61,10 +69,12 @@ export { ContainerNetworkInterfaceStatistics, ContainerThrottlingData, ContinuousWebJob, + CookieExpiration, CorsSettings, CsmPublishingCredentialsPoliciesCollection, CsmPublishingCredentialsPoliciesEntity, CustomHostnameAnalysisResult, + CustomOpenIdConnectProvider, DatabaseBackupSetting, DataSource, DataTableResponseColumn, @@ -92,24 +102,34 @@ export { EnabledConfig, ErrorEntity, Experiments, + Facebook, FileSystemApplicationLogsConfig, FileSystemHttpLogsConfig, + FileSystemTokenStore, + ForwardProxy, FunctionEnvelope, - FunctionSecrets, GeoRegion, + GitHub, + GlobalValidation, + Google, HandlerMapping, HostingEnvironmentProfile, HostName, HostNameBinding, HostNameSslState, HttpLogsConfig, + HttpSettings, + HttpSettingsRoutes, HybridConnection, HybridConnectionKey, HybridConnectionLimits, Identifier, + IdentityProviders, IpSecurityRestriction, - KeyVaultReferenceCollection, - KeyVaultReferenceResource, + JwtClaimChecks, + Login, + LoginRoutes, + LoginScopes, ManagedServiceIdentity, ManagedServiceIdentityUserAssignedIdentitiesValue, MigrateMySqlRequest, @@ -121,6 +141,11 @@ export { NameValuePair, NetworkAccessControlEntry, NetworkFeatures, + Nonce, + OpenIdConnectClientCredential, + OpenIdConnectConfig, + OpenIdConnectLogin, + OpenIdConnectRegistration, PremierAddOn, PremierAddOnOffer, PremierAddOnPatchResource, @@ -152,11 +177,11 @@ export { RestoreRequest, Site, SiteAuthSettings, + SiteAuthSettingsV2, SiteConfig, SiteConfigResource, SiteConfigurationSnapshotInfo, SiteExtensionInfo, - SiteInstance, SiteLimits, SiteLogsConfig, SiteMachineKey, @@ -184,6 +209,8 @@ export { StaticSiteFunctionOverviewARMResource, StaticSitePatchResource, StaticSiteResetPropertiesARMResource, + StaticSitesWorkflowPreview, + StaticSitesWorkflowPreviewRequest, StaticSiteUserARMResource, StaticSiteUserInvitationRequestResource, StaticSiteUserInvitationResponseResource, @@ -192,10 +219,14 @@ export { StorageMigrationResponse, StringDictionary, SwiftVirtualNetwork, + SystemData, + TokenStore, TopLevelDomain, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, + Twitter, + TwitterRegistration, Usage, User, VirtualApplication, diff --git a/sdk/appservice/arm-appservice/src/models/deletedWebAppsMappers.ts b/sdk/appservice/arm-appservice/src/models/deletedWebAppsMappers.ts index 7d7900181c96..bcc68a10871d 100644 --- a/sdk/appservice/arm-appservice/src/models/deletedWebAppsMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/deletedWebAppsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -10,14 +10,15 @@ export { AbnormalTimePeriod, Address, AddressResponse, + AllowedAudiencesValidation, AnalysisData, AnalysisDefinition, ApiDefinitionInfo, - ApiKVReference, ApiManagementConfig, ApplicationLogsConfig, ApplicationStack, ApplicationStackResource, + AppRegistration, AppServiceCertificate, AppServiceCertificateOrder, AppServiceCertificateOrderPatchResource, @@ -28,10 +29,15 @@ export { AppServicePlan, AppServicePlanPatchResource, ArmIdWrapper, + AuthPlatform, AutoHealActions, AutoHealCustomAction, AutoHealRules, AutoHealTriggers, + AzureActiveDirectory, + AzureActiveDirectoryLogin, + AzureActiveDirectoryRegistration, + AzureActiveDirectoryValidation, AzureBlobStorageApplicationLogsConfig, AzureBlobStorageHttpLogsConfig, AzureStorageInfoValue, @@ -42,12 +48,14 @@ export { BackupSchedule, BaseResource, BillingMeter, + BlobStorageTokenStore, Capability, Certificate, CertificateDetails, CertificateEmail, CertificateOrderAction, CertificatePatchResource, + ClientRegistration, CloningInfo, ConnectionStringDictionary, ConnStringInfo, @@ -60,10 +68,12 @@ export { ContainerNetworkInterfaceStatistics, ContainerThrottlingData, ContinuousWebJob, + CookieExpiration, CorsSettings, CsmPublishingCredentialsPoliciesCollection, CsmPublishingCredentialsPoliciesEntity, CustomHostnameAnalysisResult, + CustomOpenIdConnectProvider, DatabaseBackupSetting, DataSource, DataTableResponseColumn, @@ -92,24 +102,34 @@ export { EnabledConfig, ErrorEntity, Experiments, + Facebook, FileSystemApplicationLogsConfig, FileSystemHttpLogsConfig, + FileSystemTokenStore, + ForwardProxy, FunctionEnvelope, - FunctionSecrets, GeoRegion, + GitHub, + GlobalValidation, + Google, HandlerMapping, HostingEnvironmentProfile, HostName, HostNameBinding, HostNameSslState, HttpLogsConfig, + HttpSettings, + HttpSettingsRoutes, HybridConnection, HybridConnectionKey, HybridConnectionLimits, Identifier, + IdentityProviders, IpSecurityRestriction, - KeyVaultReferenceCollection, - KeyVaultReferenceResource, + JwtClaimChecks, + Login, + LoginRoutes, + LoginScopes, ManagedServiceIdentity, ManagedServiceIdentityUserAssignedIdentitiesValue, MigrateMySqlRequest, @@ -121,6 +141,11 @@ export { NameValuePair, NetworkAccessControlEntry, NetworkFeatures, + Nonce, + OpenIdConnectClientCredential, + OpenIdConnectConfig, + OpenIdConnectLogin, + OpenIdConnectRegistration, PremierAddOn, PremierAddOnOffer, PremierAddOnPatchResource, @@ -152,11 +177,11 @@ export { RestoreRequest, Site, SiteAuthSettings, + SiteAuthSettingsV2, SiteConfig, SiteConfigResource, SiteConfigurationSnapshotInfo, SiteExtensionInfo, - SiteInstance, SiteLimits, SiteLogsConfig, SiteMachineKey, @@ -184,6 +209,8 @@ export { StaticSiteFunctionOverviewARMResource, StaticSitePatchResource, StaticSiteResetPropertiesARMResource, + StaticSitesWorkflowPreview, + StaticSitesWorkflowPreviewRequest, StaticSiteUserARMResource, StaticSiteUserInvitationRequestResource, StaticSiteUserInvitationResponseResource, @@ -192,10 +219,14 @@ export { StorageMigrationResponse, StringDictionary, SwiftVirtualNetwork, + SystemData, + TokenStore, TopLevelDomain, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, + Twitter, + TwitterRegistration, Usage, User, VirtualApplication, diff --git a/sdk/appservice/arm-appservice/src/models/diagnosticsMappers.ts b/sdk/appservice/arm-appservice/src/models/diagnosticsMappers.ts index 80b2ffdc8f6e..e382b6d0aecb 100644 --- a/sdk/appservice/arm-appservice/src/models/diagnosticsMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/diagnosticsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -10,14 +10,15 @@ export { AbnormalTimePeriod, Address, AddressResponse, + AllowedAudiencesValidation, AnalysisData, AnalysisDefinition, ApiDefinitionInfo, - ApiKVReference, ApiManagementConfig, ApplicationLogsConfig, ApplicationStack, ApplicationStackResource, + AppRegistration, AppServiceCertificate, AppServiceCertificateOrder, AppServiceCertificateOrderPatchResource, @@ -28,10 +29,15 @@ export { AppServicePlan, AppServicePlanPatchResource, ArmIdWrapper, + AuthPlatform, AutoHealActions, AutoHealCustomAction, AutoHealRules, AutoHealTriggers, + AzureActiveDirectory, + AzureActiveDirectoryLogin, + AzureActiveDirectoryRegistration, + AzureActiveDirectoryValidation, AzureBlobStorageApplicationLogsConfig, AzureBlobStorageHttpLogsConfig, AzureStorageInfoValue, @@ -42,12 +48,14 @@ export { BackupSchedule, BaseResource, BillingMeter, + BlobStorageTokenStore, Capability, Certificate, CertificateDetails, CertificateEmail, CertificateOrderAction, CertificatePatchResource, + ClientRegistration, CloningInfo, ConnectionStringDictionary, ConnStringInfo, @@ -60,10 +68,12 @@ export { ContainerNetworkInterfaceStatistics, ContainerThrottlingData, ContinuousWebJob, + CookieExpiration, CorsSettings, CsmPublishingCredentialsPoliciesCollection, CsmPublishingCredentialsPoliciesEntity, CustomHostnameAnalysisResult, + CustomOpenIdConnectProvider, DatabaseBackupSetting, DataSource, DataTableResponseColumn, @@ -95,24 +105,34 @@ export { EnabledConfig, ErrorEntity, Experiments, + Facebook, FileSystemApplicationLogsConfig, FileSystemHttpLogsConfig, + FileSystemTokenStore, + ForwardProxy, FunctionEnvelope, - FunctionSecrets, GeoRegion, + GitHub, + GlobalValidation, + Google, HandlerMapping, HostingEnvironmentProfile, HostName, HostNameBinding, HostNameSslState, HttpLogsConfig, + HttpSettings, + HttpSettingsRoutes, HybridConnection, HybridConnectionKey, HybridConnectionLimits, Identifier, + IdentityProviders, IpSecurityRestriction, - KeyVaultReferenceCollection, - KeyVaultReferenceResource, + JwtClaimChecks, + Login, + LoginRoutes, + LoginScopes, ManagedServiceIdentity, ManagedServiceIdentityUserAssignedIdentitiesValue, MigrateMySqlRequest, @@ -124,6 +144,11 @@ export { NameValuePair, NetworkAccessControlEntry, NetworkFeatures, + Nonce, + OpenIdConnectClientCredential, + OpenIdConnectConfig, + OpenIdConnectLogin, + OpenIdConnectRegistration, PremierAddOn, PremierAddOnOffer, PremierAddOnPatchResource, @@ -155,11 +180,11 @@ export { RestoreRequest, Site, SiteAuthSettings, + SiteAuthSettingsV2, SiteConfig, SiteConfigResource, SiteConfigurationSnapshotInfo, SiteExtensionInfo, - SiteInstance, SiteLimits, SiteLogsConfig, SiteMachineKey, @@ -187,6 +212,8 @@ export { StaticSiteFunctionOverviewARMResource, StaticSitePatchResource, StaticSiteResetPropertiesARMResource, + StaticSitesWorkflowPreview, + StaticSitesWorkflowPreviewRequest, StaticSiteUserARMResource, StaticSiteUserInvitationRequestResource, StaticSiteUserInvitationResponseResource, @@ -195,10 +222,14 @@ export { StorageMigrationResponse, StringDictionary, SwiftVirtualNetwork, + SystemData, + TokenStore, TopLevelDomain, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, + Twitter, + TwitterRegistration, Usage, User, VirtualApplication, diff --git a/sdk/appservice/arm-appservice/src/models/domainRegistrationProviderMappers.ts b/sdk/appservice/arm-appservice/src/models/domainRegistrationProviderMappers.ts index 3d64a964d021..c6c7950673c3 100644 --- a/sdk/appservice/arm-appservice/src/models/domainRegistrationProviderMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/domainRegistrationProviderMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/appservice/arm-appservice/src/models/domainsMappers.ts b/sdk/appservice/arm-appservice/src/models/domainsMappers.ts index d63dc90e1df5..4c1a8161c560 100644 --- a/sdk/appservice/arm-appservice/src/models/domainsMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/domainsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -10,14 +10,15 @@ export { AbnormalTimePeriod, Address, AddressResponse, + AllowedAudiencesValidation, AnalysisData, AnalysisDefinition, ApiDefinitionInfo, - ApiKVReference, ApiManagementConfig, ApplicationLogsConfig, ApplicationStack, ApplicationStackResource, + AppRegistration, AppServiceCertificate, AppServiceCertificateOrder, AppServiceCertificateOrderPatchResource, @@ -28,10 +29,15 @@ export { AppServicePlan, AppServicePlanPatchResource, ArmIdWrapper, + AuthPlatform, AutoHealActions, AutoHealCustomAction, AutoHealRules, AutoHealTriggers, + AzureActiveDirectory, + AzureActiveDirectoryLogin, + AzureActiveDirectoryRegistration, + AzureActiveDirectoryValidation, AzureBlobStorageApplicationLogsConfig, AzureBlobStorageHttpLogsConfig, AzureStorageInfoValue, @@ -42,12 +48,14 @@ export { BackupSchedule, BaseResource, BillingMeter, + BlobStorageTokenStore, Capability, Certificate, CertificateDetails, CertificateEmail, CertificateOrderAction, CertificatePatchResource, + ClientRegistration, CloningInfo, ConnectionStringDictionary, ConnStringInfo, @@ -60,10 +68,12 @@ export { ContainerNetworkInterfaceStatistics, ContainerThrottlingData, ContinuousWebJob, + CookieExpiration, CorsSettings, CsmPublishingCredentialsPoliciesCollection, CsmPublishingCredentialsPoliciesEntity, CustomHostnameAnalysisResult, + CustomOpenIdConnectProvider, DatabaseBackupSetting, DataSource, DataTableResponseColumn, @@ -96,24 +106,34 @@ export { EnabledConfig, ErrorEntity, Experiments, + Facebook, FileSystemApplicationLogsConfig, FileSystemHttpLogsConfig, + FileSystemTokenStore, + ForwardProxy, FunctionEnvelope, - FunctionSecrets, GeoRegion, + GitHub, + GlobalValidation, + Google, HandlerMapping, HostingEnvironmentProfile, HostName, HostNameBinding, HostNameSslState, HttpLogsConfig, + HttpSettings, + HttpSettingsRoutes, HybridConnection, HybridConnectionKey, HybridConnectionLimits, Identifier, + IdentityProviders, IpSecurityRestriction, - KeyVaultReferenceCollection, - KeyVaultReferenceResource, + JwtClaimChecks, + Login, + LoginRoutes, + LoginScopes, ManagedServiceIdentity, ManagedServiceIdentityUserAssignedIdentitiesValue, MigrateMySqlRequest, @@ -127,6 +147,11 @@ export { NameValuePair, NetworkAccessControlEntry, NetworkFeatures, + Nonce, + OpenIdConnectClientCredential, + OpenIdConnectConfig, + OpenIdConnectLogin, + OpenIdConnectRegistration, PremierAddOn, PremierAddOnOffer, PremierAddOnPatchResource, @@ -158,11 +183,11 @@ export { RestoreRequest, Site, SiteAuthSettings, + SiteAuthSettingsV2, SiteConfig, SiteConfigResource, SiteConfigurationSnapshotInfo, SiteExtensionInfo, - SiteInstance, SiteLimits, SiteLogsConfig, SiteMachineKey, @@ -190,6 +215,8 @@ export { StaticSiteFunctionOverviewARMResource, StaticSitePatchResource, StaticSiteResetPropertiesARMResource, + StaticSitesWorkflowPreview, + StaticSitesWorkflowPreviewRequest, StaticSiteUserARMResource, StaticSiteUserInvitationRequestResource, StaticSiteUserInvitationResponseResource, @@ -198,10 +225,14 @@ export { StorageMigrationResponse, StringDictionary, SwiftVirtualNetwork, + SystemData, + TokenStore, TopLevelDomain, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, + Twitter, + TwitterRegistration, Usage, User, VirtualApplication, diff --git a/sdk/appservice/arm-appservice/src/models/index.ts b/sdk/appservice/arm-appservice/src/models/index.ts index d40a8d07d381..3b79428d8641 100644 --- a/sdk/appservice/arm-appservice/src/models/index.ts +++ b/sdk/appservice/arm-appservice/src/models/index.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -65,6 +65,10 @@ export interface Resource extends BaseResource { * Resource tags. */ tags?: { [propertyName: string]: string }; + /** + * The system metadata relating to this resource. + */ + systemData?: SystemData; } /** @@ -262,6 +266,10 @@ export interface ProxyOnlyResource extends BaseResource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; + /** + * The system metadata relating to this resource. + */ + systemData?: SystemData; } /** @@ -485,6 +493,38 @@ export interface SiteSealRequest { locale?: string; } +/** + * Metadata pertaining to creation and last modification of the resource. + */ +export interface SystemData { + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. Possible values include: 'User', + * 'Application', 'ManagedIdentity', 'Key' + */ + createdByType?: CreatedByType; + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: Date; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. Possible values include: 'User', + * 'Application', 'ManagedIdentity', 'Key' + */ + lastModifiedByType?: CreatedByType; + /** + * The type of identity that last modified the resource. + */ + lastModifiedAt?: Date; +} + /** * Virtual Network route contract used to pass routing information for a Virtual Network. */ @@ -915,7 +955,7 @@ export interface IpSecurityRestriction { action?: string; /** * Defines what this IP filter will be used for. This is to support IP filtering on proxies. - * Possible values include: 'Default', 'XffProxy' + * Possible values include: 'Default', 'XffProxy', 'ServiceTag' */ tag?: IpFilterTag; /** @@ -930,6 +970,30 @@ export interface IpSecurityRestriction { * IP restriction rule description. */ description?: string; + /** + * IP restriction rule headers. + * X-Forwarded-Host + * (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host#Examples). + * The matching logic is .. + * - If the property is null or empty (default), all hosts(or lack of) are allowed. + * - A value is compared using ordinal-ignore-case (excluding port number). + * - Subdomain wildcards are permitted but don't match the root domain. For example, + * *.contoso.com matches the subdomain foo.contoso.com + * but not the root domain contoso.com or multi-level foo.bar.contoso.com + * - Unicode host names are allowed but are converted to Punycode for matching. + * + * X-Forwarded-For + * (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For#Examples). + * The matching logic is .. + * - If the property is null or empty (default), any forwarded-for chains (or lack of) are + * allowed. + * - If any address (excluding port number) in the chain (comma separated) matches the CIDR + * defined by the property. + * + * X-Azure-FDID and X-FD-HealthProbe. + * The matching logic is exact match. + */ + headers?: { [propertyName: string]: string[] }; } /** @@ -1345,14 +1409,6 @@ export interface SiteConfig { * true if HTTP logging is enabled; otherwise, false. */ httpLoggingEnabled?: boolean; - /** - * Flag to use Managed Identity Creds for ACR pull - */ - acrUseManagedIdentityCreds?: boolean; - /** - * If using user managed identity, the user managed identity ClientId - */ - acrUserManagedIdentityID?: string; /** * HTTP logs directory size limit. */ @@ -1457,6 +1513,16 @@ export interface SiteConfig { * Virtual Network name. */ vnetName?: string; + /** + * Virtual Network Route All enabled. This causes all outbound traffic to have Virtual Network + * Security Groups and User Defined Routes applied. + */ + vnetRouteAllEnabled?: boolean; + /** + * The number of private ports assigned to this app. These will be assigned dynamically on + * runtime. + */ + vnetPrivatePortsCount?: number; /** * Cross-Origin Resource Sharing (CORS) settings. */ @@ -1511,6 +1577,11 @@ export interface SiteConfig { * values include: '1.0', '1.1', '1.2' */ minTlsVersion?: SupportedTlsVersions; + /** + * ScmMinTlsVersion: configures the minimum version of TLS required for SSL requests for SCM + * site. Possible values include: '1.0', '1.1', '1.2' + */ + scmMinTlsVersion?: SupportedTlsVersions; /** * State of FTP / FTPS service. Possible values include: 'AllAllowed', 'FtpsOnly', 'Disabled' */ @@ -1660,6 +1731,14 @@ export interface Site extends Resource { * otherwise, false. Default is false. */ clientCertEnabled?: boolean; + /** + * This composes with ClientCertEnabled setting. + * - ClientCertEnabled: false means ClientCert is ignored. + * - ClientCertEnabled: true and ClientCertMode: Required means ClientCert is required. + * - ClientCertEnabled: true and ClientCertMode: Optional means ClientCert is optional or + * accepted. Possible values include: 'Required', 'Optional' + */ + clientCertMode?: ClientCertMode; /** * client certificate authentication comma-separated exclusion paths */ @@ -1669,6 +1748,11 @@ export interface Site extends Resource { * If true, the app is only accessible via API management process. */ hostNamesDisabled?: boolean; + /** + * Unique identifier that verifies the custom domains assigned to the app. Customer will add this + * id to a txt record for verification. + */ + customDomainVerificationId?: string; /** * List of IP addresses that the app uses for outbound connections (e.g. database access). * Includes VIPs from tenants that site can be hosted with current settings. Read-only. @@ -1992,6 +2076,7 @@ export interface LogSpecification { name?: string; displayName?: string; blobDuration?: string; + logFilterPattern?: string; } /** @@ -2033,6 +2118,7 @@ export interface MetricSpecification { category?: string; availabilities?: MetricAvailability[]; supportedTimeGrainTypes?: string[]; + supportedAggregationTypes?: string[]; } /** @@ -2918,9 +3004,9 @@ export interface AppServiceEnvironment { virtualNetwork: VirtualNetworkProfile; /** * Specifies which endpoints to serve internally in the Virtual Network for the App Service - * Environment. Possible values include: 'None', 'Web', 'Publishing' + * Environment. Possible values include: 'None', 'Web', 'Publishing', 'Web,Publishing' */ - internalLoadBalancingMode?: InternalLoadBalancingMode; + internalLoadBalancingMode?: LoadBalancingMode; /** * Front-end VM size, e.g. "Medium", "Large". */ @@ -3884,6 +3970,46 @@ export interface RecommendationRule extends ProxyOnlyResource { forwardLink?: string; } +/** + * Github access token for Appservice CLI github integration. + */ +export interface AppserviceGithubToken { + /** + * Github access token for Appservice CLI github integration + */ + accessToken?: string; + /** + * Scope of the github access token + */ + scope?: string; + /** + * token type + */ + tokenType?: string; + /** + * True if valid github token received, False otherwise + */ + gotToken?: boolean; + /** + * Error message if unable to get token + */ + errorMessage?: string; +} + +/** + * Appservice Github token request content. + */ +export interface AppserviceGithubTokenRequest { + /** + * Code string to exchange for Github Access token + */ + code: string; + /** + * State string used for verification. + */ + state: string; +} + /** * App Service billing entity that contains information about meter which the Azure billing system * utilizes to charge users for services. @@ -4284,33 +4410,18 @@ export interface VnetValidationFailureDetails extends ProxyOnlyResource { } /** - * Description of site key vault references. + * An interface representing AllowedAudiencesValidation. */ -export interface ApiKVReference { - reference?: string; - /** - * Possible values include: 'Initialized', 'Resolved', 'InvalidSyntax', 'MSINotEnabled', - * 'VaultNotFound', 'SecretNotFound', 'SecretVersionNotFound', 'AccessToKeyVaultDenied', - * 'OtherReasons' - */ - status?: ResolveStatus; - vaultName?: string; - secretName?: string; - secretVersion?: string; - /** - * Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', - * 'None' - */ - identityType?: ManagedServiceIdentityType; - details?: string; - /** - * Possible values include: 'KeyVault' - */ - source?: ConfigReferenceSource; - /** - * Possible values include: 'ApplicationSetting' - */ - location?: ConfigReferenceLocation; +export interface AllowedAudiencesValidation extends ProxyOnlyResource { + allowedAudiences?: string[]; +} + +/** + * An interface representing AppRegistration. + */ +export interface AppRegistration extends ProxyOnlyResource { + appId?: string; + appSecretSettingName?: string; } /** @@ -4376,6 +4487,60 @@ export interface ApplicationLogsConfig { azureBlobStorage?: AzureBlobStorageApplicationLogsConfig; } +/** + * An interface representing AuthPlatform. + */ +export interface AuthPlatform extends ProxyOnlyResource { + enabled?: boolean; + runtimeVersion?: string; + configFilePath?: string; +} + +/** + * An interface representing AzureActiveDirectoryRegistration. + */ +export interface AzureActiveDirectoryRegistration extends ProxyOnlyResource { + openIdIssuer?: string; + clientId?: string; + clientSecretSettingName?: string; + clientSecretCertificateThumbprint?: string; +} + +/** + * An interface representing AzureActiveDirectoryLogin. + */ +export interface AzureActiveDirectoryLogin extends ProxyOnlyResource { + disableWWWAuthenticate?: boolean; + loginParameters?: string[]; +} + +/** + * An interface representing JwtClaimChecks. + */ +export interface JwtClaimChecks extends ProxyOnlyResource { + allowedGroups?: string[]; + allowedClientApplications?: string[]; +} + +/** + * An interface representing AzureActiveDirectoryValidation. + */ +export interface AzureActiveDirectoryValidation extends ProxyOnlyResource { + jwtClaimChecks?: JwtClaimChecks; + allowedAudiences?: string[]; +} + +/** + * An interface representing AzureActiveDirectory. + */ +export interface AzureActiveDirectory extends ProxyOnlyResource { + enabled?: boolean; + registration?: AzureActiveDirectoryRegistration; + login?: AzureActiveDirectoryLogin; + validation?: AzureActiveDirectoryValidation; + isAutoProvisioned?: boolean; +} + /** * A wrapper for an ARM resource id */ @@ -4612,6 +4777,21 @@ export interface BackupRequest extends ProxyOnlyResource { databases?: DatabaseBackupSetting[]; } +/** + * An interface representing BlobStorageTokenStore. + */ +export interface BlobStorageTokenStore extends ProxyOnlyResource { + sasUrlSettingName?: string; +} + +/** + * An interface representing ClientRegistration. + */ +export interface ClientRegistration extends ProxyOnlyResource { + clientId?: string; + clientSecretSettingName?: string; +} + /** * Database connection string value to type pair. */ @@ -4750,6 +4930,17 @@ export interface ContinuousWebJob extends ProxyOnlyResource { settings?: { [propertyName: string]: any }; } +/** + * An interface representing CookieExpiration. + */ +export interface CookieExpiration extends ProxyOnlyResource { + /** + * Possible values include: 'FixedTime', 'IdentityProviderDerived' + */ + convention?: CookieExpirationConvention; + timeToExpiration?: string; +} + /** * Copy deployment slot parameters. */ @@ -4879,6 +5070,54 @@ export interface CustomHostnameAnalysisResult extends ProxyOnlyResource { alternateTxtRecords?: string[]; } +/** + * An interface representing OpenIdConnectClientCredential. + */ +export interface OpenIdConnectClientCredential extends ProxyOnlyResource { + /** + * Possible values include: 'ClientSecretPost' + */ + method?: ClientCredentialMethod; + clientSecretSettingName?: string; +} + +/** + * An interface representing OpenIdConnectConfig. + */ +export interface OpenIdConnectConfig extends ProxyOnlyResource { + authorizationEndpoint?: string; + tokenEndpoint?: string; + issuer?: string; + certificationUri?: string; + wellKnownOpenIdConfiguration?: string; +} + +/** + * An interface representing OpenIdConnectRegistration. + */ +export interface OpenIdConnectRegistration extends ProxyOnlyResource { + clientId?: string; + clientCredential?: OpenIdConnectClientCredential; + openIdConnectConfiguration?: OpenIdConnectConfig; +} + +/** + * An interface representing OpenIdConnectLogin. + */ +export interface OpenIdConnectLogin extends ProxyOnlyResource { + nameClaimType?: string; + scopes?: string[]; +} + +/** + * An interface representing CustomOpenIdConnectProvider. + */ +export interface CustomOpenIdConnectProvider extends ProxyOnlyResource { + enabled?: boolean; + registration?: OpenIdConnectRegistration; + login?: OpenIdConnectLogin; +} + /** * Details about restoring a deleted app. */ @@ -4956,6 +5195,23 @@ export interface EnabledConfig { enabled?: boolean; } +/** + * An interface representing LoginScopes. + */ +export interface LoginScopes extends ProxyOnlyResource { + scopes?: string[]; +} + +/** + * An interface representing Facebook. + */ +export interface Facebook extends ProxyOnlyResource { + enabled?: boolean; + registration?: AppRegistration; + graphApiVersion?: string; + login?: LoginScopes; +} + /** * Http logs to file system configuration. */ @@ -4979,6 +5235,25 @@ export interface FileSystemHttpLogsConfig { enabled?: boolean; } +/** + * An interface representing FileSystemTokenStore. + */ +export interface FileSystemTokenStore extends ProxyOnlyResource { + directory?: string; +} + +/** + * An interface representing ForwardProxy. + */ +export interface ForwardProxy extends ProxyOnlyResource { + /** + * Possible values include: 'NoProxy', 'Standard', 'Custom' + */ + convention?: ForwardProxyConvention; + customHostHeaderName?: string; + customProtoHeaderName?: string; +} + /** * Function information. */ @@ -5040,7 +5315,7 @@ export interface FunctionEnvelope extends ProxyOnlyResource { /** * Function secrets. */ -export interface FunctionSecrets extends ProxyOnlyResource { +export interface FunctionSecrets { /** * Secret key. */ @@ -5051,6 +5326,38 @@ export interface FunctionSecrets extends ProxyOnlyResource { triggerUrl?: string; } +/** + * An interface representing GitHub. + */ +export interface GitHub extends ProxyOnlyResource { + enabled?: boolean; + registration?: ClientRegistration; + login?: LoginScopes; +} + +/** + * An interface representing GlobalValidation. + */ +export interface GlobalValidation extends ProxyOnlyResource { + requireAuthentication?: boolean; + /** + * Possible values include: 'RedirectToLoginPage', 'AllowAnonymous', 'Return401', 'Return403' + */ + unauthenticatedClientAction?: UnauthenticatedClientActionV2; + redirectToProvider?: string; + excludedPaths?: string[]; +} + +/** + * An interface representing Google. + */ +export interface Google extends ProxyOnlyResource { + enabled?: boolean; + registration?: ClientRegistration; + login?: LoginScopes; + validation?: AllowedAudiencesValidation; +} + /** * Functions host level keys. */ @@ -5126,6 +5433,50 @@ export interface HttpLogsConfig { azureBlobStorage?: AzureBlobStorageHttpLogsConfig; } +/** + * An interface representing HttpSettingsRoutes. + */ +export interface HttpSettingsRoutes extends ProxyOnlyResource { + apiPrefix?: string; +} + +/** + * An interface representing HttpSettings. + */ +export interface HttpSettings extends ProxyOnlyResource { + requireHttps?: boolean; + routes?: HttpSettingsRoutes; + forwardProxy?: ForwardProxy; +} + +/** + * An interface representing TwitterRegistration. + */ +export interface TwitterRegistration extends ProxyOnlyResource { + consumerKey?: string; + consumerSecretSettingName?: string; +} + +/** + * An interface representing Twitter. + */ +export interface Twitter extends ProxyOnlyResource { + enabled?: boolean; + registration?: TwitterRegistration; +} + +/** + * An interface representing IdentityProviders. + */ +export interface IdentityProviders extends ProxyOnlyResource { + azureActiveDirectory?: AzureActiveDirectory; + facebook?: Facebook; + gitHub?: GitHub; + google?: Google; + twitter?: Twitter; + customOpenIdConnectProviders?: { [propertyName: string]: CustomOpenIdConnectProvider }; +} + /** * Function key info. */ @@ -5141,40 +5492,40 @@ export interface KeyInfo { } /** - * Web app key vault reference and status ARM resource. + * An interface representing LoginRoutes. */ -export interface KeyVaultReferenceCollection extends ProxyOnlyResource { - keyToReferenceStatuses?: { [propertyName: string]: ApiKVReference }; +export interface LoginRoutes extends ProxyOnlyResource { + logoutEndpoint?: string; } /** - * Web app key vault reference and status ARM resource. + * An interface representing TokenStore. */ -export interface KeyVaultReferenceResource extends ProxyOnlyResource { - reference?: string; - /** - * Possible values include: 'Initialized', 'Resolved', 'InvalidSyntax', 'MSINotEnabled', - * 'VaultNotFound', 'SecretNotFound', 'SecretVersionNotFound', 'AccessToKeyVaultDenied', - * 'OtherReasons' - */ - status?: ResolveStatus; - vaultName?: string; - secretName?: string; - secretVersion?: string; - /** - * Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', - * 'None' - */ - identityType?: ManagedServiceIdentityType; - details?: string; - /** - * Possible values include: 'KeyVault' - */ - source?: ConfigReferenceSource; - /** - * Possible values include: 'ApplicationSetting' - */ - location?: ConfigReferenceLocation; +export interface TokenStore extends ProxyOnlyResource { + enabled?: boolean; + tokenRefreshExtensionHours?: number; + fileSystem?: FileSystemTokenStore; + azureBlobStorage?: BlobStorageTokenStore; +} + +/** + * An interface representing Nonce. + */ +export interface Nonce extends ProxyOnlyResource { + validateNonce?: boolean; + nonceExpirationInterval?: string; +} + +/** + * An interface representing Login. + */ +export interface Login extends ProxyOnlyResource { + routes?: LoginRoutes; + tokenStore?: TokenStore; + preserveUrlFragmentsForLogins?: boolean; + allowedExternalRedirectUrls?: string[]; + cookieExpiration?: CookieExpiration; + nonce?: Nonce; } /** @@ -5995,7 +6346,7 @@ export interface SiteAuthSettings extends ProxyOnlyResource { * This setting is only needed if multiple providers are configured and the unauthenticated * client * action is set to "RedirectToLoginPage". Possible values include: 'AzureActiveDirectory', - * 'Facebook', 'Google', 'MicrosoftAccount', 'Twitter' + * 'Facebook', 'Google', 'MicrosoftAccount', 'Twitter', 'Github' */ defaultProvider?: BuiltInAuthenticationProvider; /** @@ -6020,6 +6371,10 @@ export interface SiteAuthSettings extends ProxyOnlyResource { * More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html */ clientSecret?: string; + /** + * The app setting name that contains the client secret of the relying party application. + */ + clientSecretSettingName?: string; /** * An alternative to the client secret, that is the thumbprint of a certificate used for signing * purposes. This property acts as @@ -6052,6 +6407,10 @@ export interface SiteAuthSettings extends ProxyOnlyResource { * a user logs in. Each parameter must be in the form "key=value". */ additionalLoginParams?: string[]; + /** + * Gets a JSON string containing the Azure AD Acl settings. + */ + aadClaimsAuthorization?: string; /** * The OpenID Connect Client ID for the Google web application. * This setting is required for enabling Google Sign-In. @@ -6064,6 +6423,11 @@ export interface SiteAuthSettings extends ProxyOnlyResource { * Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/ */ googleClientSecret?: string; + /** + * The app setting name that contains the client secret associated with + * the Google web application. + */ + googleClientSecretSettingName?: string; /** * The OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. * This setting is optional. If not specified, "openid", "profile", and "email" are used as @@ -6083,12 +6447,36 @@ export interface SiteAuthSettings extends ProxyOnlyResource { * Facebook Login documentation: https://developers.facebook.com/docs/facebook-login */ facebookAppSecret?: string; + /** + * The app setting name that contains the app secret used for Facebook Login. + */ + facebookAppSecretSettingName?: string; /** * The OAuth 2.0 scopes that will be requested as part of Facebook Login authentication. * This setting is optional. * Facebook Login documentation: https://developers.facebook.com/docs/facebook-login */ facebookOAuthScopes?: string[]; + /** + * The Client Id of the GitHub app used for login. + * This setting is required for enabling Github login + */ + gitHubClientId?: string; + /** + * The Client Secret of the GitHub app used for Github Login. + * This setting is required for enabling Github login. + */ + gitHubClientSecret?: string; + /** + * The app setting name that contains the client secret of the Github + * app used for GitHub Login. + */ + gitHubClientSecretSettingName?: string; + /** + * The OAuth 2.0 scopes that will be requested as part of GitHub Login authentication. + * This setting is optional + */ + gitHubOAuthScopes?: string[]; /** * The OAuth 1.0a consumer key of the Twitter application used for sign-in. * This setting is required for enabling Twitter Sign-In. @@ -6101,6 +6489,11 @@ export interface SiteAuthSettings extends ProxyOnlyResource { * Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in */ twitterConsumerSecret?: string; + /** + * The app setting name that contains the OAuth 1.0a consumer secret of the Twitter + * application used for sign-in. + */ + twitterConsumerSecretSettingName?: string; /** * The OAuth 2.0 client ID that was created for the app used for authentication. * This setting is required for enabling Microsoft Account authentication. @@ -6113,6 +6506,11 @@ export interface SiteAuthSettings extends ProxyOnlyResource { * Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm */ microsoftAccountClientSecret?: string; + /** + * The app setting name containing the OAuth 2.0 client secret that was created for the + * app used for authentication. + */ + microsoftAccountClientSecretSettingName?: string; /** * The OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. * This setting is optional. If not specified, "wl.basic" is used as the default scope. @@ -6120,6 +6518,27 @@ export interface SiteAuthSettings extends ProxyOnlyResource { * https://msdn.microsoft.com/en-us/library/dn631845.aspx */ microsoftAccountOAuthScopes?: string[]; + /** + * "true" if the auth config settings should be read from a file, + * "false" otherwise + */ + isAuthFromFile?: string; + /** + * The path of the config file containing auth settings. + * If the path is relative, base will the site's root directory. + */ + authFilePath?: string; +} + +/** + * An interface representing SiteAuthSettingsV2. + */ +export interface SiteAuthSettingsV2 extends ProxyOnlyResource { + platform?: AuthPlatform; + globalValidation?: GlobalValidation; + identityProviders?: IdentityProviders; + login?: Login; + httpSettings?: HttpSettings; } /** @@ -6220,14 +6639,6 @@ export interface SiteConfigResource extends ProxyOnlyResource { * true if HTTP logging is enabled; otherwise, false. */ httpLoggingEnabled?: boolean; - /** - * Flag to use Managed Identity Creds for ACR pull - */ - acrUseManagedIdentityCreds?: boolean; - /** - * If using user managed identity, the user managed identity ClientId - */ - acrUserManagedIdentityID?: string; /** * HTTP logs directory size limit. */ @@ -6332,6 +6743,16 @@ export interface SiteConfigResource extends ProxyOnlyResource { * Virtual Network name. */ vnetName?: string; + /** + * Virtual Network Route All enabled. This causes all outbound traffic to have Virtual Network + * Security Groups and User Defined Routes applied. + */ + vnetRouteAllEnabled?: boolean; + /** + * The number of private ports assigned to this app. These will be assigned dynamically on + * runtime. + */ + vnetPrivatePortsCount?: number; /** * Cross-Origin Resource Sharing (CORS) settings. */ @@ -6386,6 +6807,11 @@ export interface SiteConfigResource extends ProxyOnlyResource { * values include: '1.0', '1.1', '1.2' */ minTlsVersion?: SupportedTlsVersions; + /** + * ScmMinTlsVersion: configures the minimum version of TLS required for SSL requests for SCM + * site. Possible values include: '1.0', '1.1', '1.2' + */ + scmMinTlsVersion?: SupportedTlsVersions; /** * State of FTP / FTPS service. Possible values include: 'AllAllowed', 'FtpsOnly', 'Disabled' */ @@ -6500,17 +6926,6 @@ export interface SiteExtensionInfo extends ProxyOnlyResource { comment?: string; } -/** - * Instance of an app. - */ -export interface SiteInstance extends ProxyOnlyResource { - /** - * Name of instance. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly siteInstanceName?: string; -} - /** * Configuration of App Service site logs. */ @@ -6636,6 +7051,14 @@ export interface SitePatchResource extends ProxyOnlyResource { * otherwise, false. Default is false. */ clientCertEnabled?: boolean; + /** + * This composes with ClientCertEnabled setting. + * - ClientCertEnabled: false means ClientCert is ignored. + * - ClientCertEnabled: true and ClientCertMode: Required means ClientCert is required. + * - ClientCertEnabled: true and ClientCertMode: Optional means ClientCert is optional or + * accepted. Possible values include: 'Required', 'Optional' + */ + clientCertMode?: ClientCertMode; /** * client certificate authentication comma-separated exclusion paths */ @@ -6645,6 +7068,11 @@ export interface SitePatchResource extends ProxyOnlyResource { * If true, the app is only accessible via API management process. */ hostNamesDisabled?: boolean; + /** + * Unique identifier that verifies the custom domains assigned to the app. Customer will add this + * id to a txt record for verification. + */ + customDomainVerificationId?: string; /** * List of IP addresses that the app uses for outbound connections (e.g. database access). * Includes VIPs from tenants that site can be hosted with current settings. Read-only. @@ -6757,6 +7185,10 @@ export interface SiteSourceControl extends ProxyOnlyResource { * integration (which configures webhooks into online repos like GitHub). */ isManualIntegration?: boolean; + /** + * true if this is deployed via GitHub action. + */ + isGitHubAction?: boolean; /** * true to enable deployment rollback; otherwise, false. */ @@ -7035,6 +7467,33 @@ export interface TriggeredWebJob extends ProxyOnlyResource { settings?: { [propertyName: string]: any }; } +/** + * An interface representing WebSiteInstanceStatus. + */ +export interface WebSiteInstanceStatus extends ProxyOnlyResource { + /** + * Possible values include: 'READY', 'STOPPED', 'UNKNOWN' + */ + state?: SiteRuntimeState; + /** + * Link to the GetStatusApi in Kudu + */ + statusUrl?: string; + /** + * Link to the Diagnose and Solve Portal + */ + detectorUrl?: string; + /** + * Link to the console to web app instance + */ + consoleUrl?: string; + /** + * Link to the console to web app instance + */ + healthCheckUrl?: string; + containers?: { [propertyName: string]: ContainerInfo }; +} + /** * Web Job Information. */ @@ -7069,29 +7528,6 @@ export interface WebJob extends ProxyOnlyResource { settings?: { [propertyName: string]: any }; } -/** - * An interface representing WebSiteInstanceStatus. - */ -export interface WebSiteInstanceStatus extends ProxyOnlyResource { - /** - * Possible values include: 'READY', 'STOPPED', 'UNKNOWN' - */ - state?: SiteRuntimeState; - /** - * Link to the GetStatusApi in Kudu - */ - statusUrl?: string; - /** - * Link to the Diagnose and Solve Portal - */ - detectorUrl?: string; - /** - * Link to the Diagnose and Solve Portal - */ - consoleUrl?: string; - containers?: { [propertyName: string]: ContainerInfo }; -} - /** * Build properties for the static site. */ @@ -7332,6 +7768,40 @@ export interface StaticSiteUserInvitationResponseResource extends ProxyOnlyResou readonly invitationUrl?: string; } +/** + * Preview for the Static Site Workflow to be generated + */ +export interface StaticSitesWorkflowPreview extends ProxyOnlyResource { + /** + * The path for the workflow file to be generated + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly path?: string; + /** + * The contents for the workflow file to be generated + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly contents?: string; +} + +/** + * Request entity for previewing the Static Site workflow + */ +export interface StaticSitesWorkflowPreviewRequest extends ProxyOnlyResource { + /** + * URL for the repository of the static site. + */ + repositoryUrl?: string; + /** + * The target branch in the repository. + */ + branch?: string; + /** + * Build properties to configure on the repository. + */ + buildProperties?: StaticSiteBuildProperties; +} + /** * Describes main public IP address and any extra virtual IPs. */ @@ -7397,9 +7867,9 @@ export interface AppServiceEnvironmentResource extends Resource { virtualNetwork: VirtualNetworkProfile; /** * Specifies which endpoints to serve internally in the Virtual Network for the App Service - * Environment. Possible values include: 'None', 'Web', 'Publishing' + * Environment. Possible values include: 'None', 'Web', 'Publishing', 'Web,Publishing' */ - internalLoadBalancingMode?: InternalLoadBalancingMode; + internalLoadBalancingMode?: LoadBalancingMode; /** * Front-end VM size, e.g. "Medium", "Large". */ @@ -7584,9 +8054,9 @@ export interface AppServiceEnvironmentPatchResource extends ProxyOnlyResource { virtualNetwork: VirtualNetworkProfile; /** * Specifies which endpoints to serve internally in the Virtual Network for the App Service - * Environment. Possible values include: 'None', 'Web', 'Publishing' + * Environment. Possible values include: 'None', 'Web', 'Publishing', 'Web,Publishing' */ - internalLoadBalancingMode?: InternalLoadBalancingMode; + internalLoadBalancingMode?: LoadBalancingMode; /** * Front-end VM size, e.g. "Medium", "Large". */ @@ -8274,6 +8744,26 @@ export interface ProviderGetAvailableStacksOnPremOptionalParams extends msRest.R osTypeSelected?: OsTypeSelected1; } +/** + * Optional Parameters. + */ +export interface ProviderGetAvailableStacksNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Possible values include: 'Windows', 'Linux', 'WindowsFunctions', 'LinuxFunctions' + */ + osTypeSelected?: OsTypeSelected; +} + +/** + * Optional Parameters. + */ +export interface ProviderGetAvailableStacksOnPremNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Possible values include: 'Windows', 'Linux', 'WindowsFunctions', 'LinuxFunctions' + */ + osTypeSelected?: OsTypeSelected1; +} + /** * Optional Parameters. */ @@ -8387,6 +8877,89 @@ export interface RecommendationsGetRuleDetailsByWebAppOptionalParams extends msR recommendationId?: string; } +/** + * Optional Parameters. + */ +export interface RecommendationsListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify true to return only the most critical recommendations. The default is + * false, which returns all recommendations. + */ + featured?: boolean; + /** + * Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq + * 'Notification' and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and + * timeGrain eq duration'[PT1H|PT1M|P1D] + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface RecommendationsListHistoryForHostingEnvironmentNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify false to return all recommendations. The default is true, + * which returns only expired recommendations. + */ + expiredOnly?: boolean; + /** + * Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq + * 'Notification' and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and + * timeGrain eq duration'[PT1H|PT1M|P1D] + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface RecommendationsListRecommendedRulesForHostingEnvironmentNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify true to return only the most critical recommendations. The default is + * false, which returns all recommendations. + */ + featured?: boolean; + /** + * Return only channels specified in the filter. Filter is specified by using OData syntax. + * Example: $filter=channel eq 'Api' or channel eq 'Notification' + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface RecommendationsListHistoryForWebAppNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify false to return all recommendations. The default is true, + * which returns only expired recommendations. + */ + expiredOnly?: boolean; + /** + * Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq + * 'Notification' and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and + * timeGrain eq duration'[PT1H|PT1M|P1D] + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface RecommendationsListRecommendedRulesForWebAppNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify true to return only the most critical recommendations. The default is + * false, which returns all recommendations. + */ + featured?: boolean; + /** + * Return only channels specified in the filter. Filter is specified by using OData syntax. + * Example: $filter=channel eq 'Api' or channel eq 'Notification' + */ + filter?: string; +} + /** * Optional Parameters. */ @@ -8442,7 +9015,45 @@ export interface WebSiteManagementClientListSiteIdentifiersAssignedToHostNameOpt /** * Name of the object. */ - name?: string; + name?: string; +} + +/** + * Optional Parameters. + */ +export interface WebSiteManagementClientListBillingMetersNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Azure Location of billable resource + */ + billingLocation?: string; + /** + * App Service OS type meters used for + */ + osType?: string; +} + +/** + * Optional Parameters. + */ +export interface WebSiteManagementClientListGeoRegionsNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Name of SKU used to filter the regions. Possible values include: 'Free', 'Shared', 'Basic', + * 'Standard', 'Premium', 'Dynamic', 'Isolated', 'PremiumV2', 'ElasticPremium', 'ElasticIsolated' + */ + sku?: SkuName; + /** + * Specify true if you want to filter to only regions that support Linux workers. + */ + linuxWorkersEnabled?: boolean; + /** + * Specify true if you want to filter to only regions that support Xenon workers. + */ + xenonWorkersEnabled?: boolean; + /** + * Specify true if you want to filter to only regions that support Linux Consumption + * Workers. + */ + linuxDynamicWorkersEnabled?: boolean; } /** @@ -8768,6 +9379,67 @@ export interface WebAppsBeginStartNetworkTraceOptionalParams extends msRest.Requ sasUrl?: string; } +/** + * Optional Parameters. + */ +export interface WebAppsListByResourceGroupNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify true to include deployment slots in results. The default is false, + * which only gives you the production slot of all apps. + */ + includeSlots?: boolean; +} + +/** + * Optional Parameters. + */ +export interface WebAppsListPerfMonCountersNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: + * $filter=(startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain + * eq duration'[Hour|Minute|Day]'. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface WebAppsListPerfMonCountersSlotNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: + * $filter=(startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain + * eq duration'[Hour|Minute|Day]'. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface WebAppsListUsagesSlotNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Return only information specified in the filter (using OData syntax). For example: + * $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq + * 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq + * duration'[Hour|Minute|Day]'. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface WebAppsListUsagesNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Return only information specified in the filter (using OData syntax). For example: + * $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq + * 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq + * duration'[Hour|Minute|Day]'. + */ + filter?: string; +} + /** * Optional Parameters. */ @@ -8813,6 +9485,29 @@ export interface AppServiceEnvironmentsBeginDeleteMethodOptionalParams extends m forceDelete?: boolean; } +/** + * Optional Parameters. + */ +export interface AppServiceEnvironmentsListWebAppsNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Comma separated list of app properties to include. + */ + propertiesToInclude?: string; +} + +/** + * Optional Parameters. + */ +export interface AppServiceEnvironmentsListUsagesNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: + * $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq + * 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq + * duration'[Hour|Minute|Day]'. + */ + filter?: string; +} + /** * Optional Parameters. */ @@ -8868,6 +9563,49 @@ export interface AppServicePlansListUsagesOptionalParams extends msRest.RequestO filter?: string; } +/** + * Optional Parameters. + */ +export interface AppServicePlansListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify true to return all App Service plan properties. The default is + * false, which returns a subset of the properties. + * Retrieval of all properties may increase the API latency. + */ + detailed?: boolean; +} + +/** + * Optional Parameters. + */ +export interface AppServicePlansListWebAppsNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Skip to a web app in the list of webapps associated with app service plan. If specified, the + * resulting list will contain web apps starting from (including) the skipToken. Otherwise, the + * resulting list contains web apps from the start of the list + */ + skipToken?: string; + /** + * Supported filter: $filter=state eq running. Returns only web apps that are currently running + */ + filter?: string; + /** + * List page size. If specified, results are paged. + */ + top?: string; +} + +/** + * Optional Parameters. + */ +export interface AppServicePlansListUsagesNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: + * $filter=(name.value eq 'Metric1' or name.value eq 'Metric2'). + */ + filter?: string; +} + /** * An interface representing WebSiteManagementClientOptions. */ @@ -9255,9 +9993,9 @@ export interface HostNameBindingCollection extends Array { /** * @interface * Collection of app instances. - * @extends Array + * @extends Array */ -export interface WebAppInstanceCollection extends Array { +export interface WebAppInstanceStatusCollection extends Array { /** * Link to next page of resources. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -9689,6 +10427,14 @@ export type CertificateOrderStatus = 'Pendingissuance' | 'Issued' | 'Revoked' | */ export type CertificateOrderActionType = 'CertificateIssued' | 'CertificateOrderCanceled' | 'CertificateOrderCreated' | 'CertificateRevoked' | 'DomainValidationComplete' | 'FraudDetected' | 'OrgNameChange' | 'OrgValidationComplete' | 'SanDrop' | 'FraudCleared' | 'CertificateExpired' | 'CertificateExpirationWarning' | 'FraudDocumentationRequired' | 'Unknown'; +/** + * Defines values for CreatedByType. + * Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key' + * @readonly + * @enum {string} + */ +export type CreatedByType = 'User' | 'Application' | 'ManagedIdentity' | 'Key'; + /** * Defines values for RouteType. * Possible values include: 'DEFAULT', 'INHERITED', 'STATIC' @@ -9708,11 +10454,11 @@ export type ManagedServiceIdentityType = 'SystemAssigned' | 'UserAssigned' | 'Sy /** * Defines values for IpFilterTag. - * Possible values include: 'Default', 'XffProxy' + * Possible values include: 'Default', 'XffProxy', 'ServiceTag' * @readonly * @enum {string} */ -export type IpFilterTag = 'Default' | 'XffProxy'; +export type IpFilterTag = 'Default' | 'XffProxy' | 'ServiceTag'; /** * Defines values for AutoHealActionType. @@ -9806,6 +10552,14 @@ export type UsageState = 'Normal' | 'Exceeded'; */ export type SiteAvailabilityState = 'Normal' | 'Limited' | 'DisasterRecoveryMode'; +/** + * Defines values for ClientCertMode. + * Possible values include: 'Required', 'Optional' + * @readonly + * @enum {string} + */ +export type ClientCertMode = 'Required' | 'Optional'; + /** * Defines values for RedundancyMode. * Possible values include: 'None', 'Manual', 'Failover', 'ActiveActive', 'GeoRedundant' @@ -9881,12 +10635,12 @@ export type DomainType = 'Regular' | 'SoftDeleted'; export type HostingEnvironmentStatus = 'Preparing' | 'Ready' | 'Scaling' | 'Deleting'; /** - * Defines values for InternalLoadBalancingMode. - * Possible values include: 'None', 'Web', 'Publishing' + * Defines values for LoadBalancingMode. + * Possible values include: 'None', 'Web', 'Publishing', 'Web,Publishing' * @readonly * @enum {string} */ -export type InternalLoadBalancingMode = 'None' | 'Web' | 'Publishing'; +export type LoadBalancingMode = 'None' | 'Web' | 'Publishing' | 'Web,Publishing'; /** * Defines values for ComputeModeOptions. @@ -10003,32 +10757,6 @@ export type CheckNameResourceTypes = 'Site' | 'Slot' | 'HostingEnvironment' | 'P */ export type ValidateResourceTypes = 'ServerFarm' | 'Site'; -/** - * Defines values for ResolveStatus. - * Possible values include: 'Initialized', 'Resolved', 'InvalidSyntax', 'MSINotEnabled', - * 'VaultNotFound', 'SecretNotFound', 'SecretVersionNotFound', 'AccessToKeyVaultDenied', - * 'OtherReasons' - * @readonly - * @enum {string} - */ -export type ResolveStatus = 'Initialized' | 'Resolved' | 'InvalidSyntax' | 'MSINotEnabled' | 'VaultNotFound' | 'SecretNotFound' | 'SecretVersionNotFound' | 'AccessToKeyVaultDenied' | 'OtherReasons'; - -/** - * Defines values for ConfigReferenceSource. - * Possible values include: 'KeyVault' - * @readonly - * @enum {string} - */ -export type ConfigReferenceSource = 'KeyVault'; - -/** - * Defines values for ConfigReferenceLocation. - * Possible values include: 'ApplicationSetting' - * @readonly - * @enum {string} - */ -export type ConfigReferenceLocation = 'ApplicationSetting'; - /** * Defines values for LogLevel. * Possible values include: 'Off', 'Verbose', 'Information', 'Warning', 'Error' @@ -10094,6 +10822,14 @@ export type ContinuousWebJobStatus = 'Initializing' | 'Starting' | 'Running' | ' */ export type WebJobType = 'Continuous' | 'Triggered'; +/** + * Defines values for CookieExpirationConvention. + * Possible values include: 'FixedTime', 'IdentityProviderDerived' + * @readonly + * @enum {string} + */ +export type CookieExpirationConvention = 'FixedTime' | 'IdentityProviderDerived'; + /** * Defines values for PublishingProfileFormat. * Possible values include: 'FileZilla3', 'WebDeploy', 'Ftp' @@ -10110,6 +10846,30 @@ export type PublishingProfileFormat = 'FileZilla3' | 'WebDeploy' | 'Ftp'; */ export type DnsVerificationTestResult = 'Passed' | 'Failed' | 'Skipped'; +/** + * Defines values for ClientCredentialMethod. + * Possible values include: 'ClientSecretPost' + * @readonly + * @enum {string} + */ +export type ClientCredentialMethod = 'ClientSecretPost'; + +/** + * Defines values for ForwardProxyConvention. + * Possible values include: 'NoProxy', 'Standard', 'Custom' + * @readonly + * @enum {string} + */ +export type ForwardProxyConvention = 'NoProxy' | 'Standard' | 'Custom'; + +/** + * Defines values for UnauthenticatedClientActionV2. + * Possible values include: 'RedirectToLoginPage', 'AllowAnonymous', 'Return401', 'Return403' + * @readonly + * @enum {string} + */ +export type UnauthenticatedClientActionV2 = 'RedirectToLoginPage' | 'AllowAnonymous' | 'Return401' | 'Return403'; + /** * Defines values for MSDeployLogEntryType. * Possible values include: 'Message', 'Warning', 'Error' @@ -10161,11 +10921,11 @@ export type UnauthenticatedClientAction = 'RedirectToLoginPage' | 'AllowAnonymou /** * Defines values for BuiltInAuthenticationProvider. * Possible values include: 'AzureActiveDirectory', 'Facebook', 'Google', 'MicrosoftAccount', - * 'Twitter' + * 'Twitter', 'Github' * @readonly * @enum {string} */ -export type BuiltInAuthenticationProvider = 'AzureActiveDirectory' | 'Facebook' | 'Google' | 'MicrosoftAccount' | 'Twitter'; +export type BuiltInAuthenticationProvider = 'AzureActiveDirectory' | 'Facebook' | 'Google' | 'MicrosoftAccount' | 'Twitter' | 'Github'; /** * Defines values for CloneAbilityResult. @@ -12321,6 +13081,26 @@ export type RecommendationsListRecommendedRulesForWebAppNextResponse = Recommend }; }; +/** + * Contains response data for the generateGithubAccessTokenForAppserviceCLIAsync operation. + */ +export type GenerateGithubAccessTokenForAppserviceCLIAsyncResponse = AppserviceGithubToken & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: AppserviceGithubToken; + }; +}; + /** * Contains response data for the getPublishingUser operation. */ @@ -13102,9 +13882,9 @@ export type WebAppsGetAuthSettingsResponse = SiteAuthSettings & { }; /** - * Contains response data for the updateAzureStorageAccounts operation. + * Contains response data for the updateAuthSettingsV2 operation. */ -export type WebAppsUpdateAzureStorageAccountsResponse = AzureStoragePropertyDictionaryResource & { +export type WebAppsUpdateAuthSettingsV2Response = SiteAuthSettingsV2 & { /** * The underlying HTTP response. */ @@ -13117,14 +13897,14 @@ export type WebAppsUpdateAzureStorageAccountsResponse = AzureStoragePropertyDict /** * The response body as parsed JSON or XML */ - parsedBody: AzureStoragePropertyDictionaryResource; + parsedBody: SiteAuthSettingsV2; }; }; /** - * Contains response data for the listAzureStorageAccounts operation. + * Contains response data for the getAuthSettingsV2 operation. */ -export type WebAppsListAzureStorageAccountsResponse = AzureStoragePropertyDictionaryResource & { +export type WebAppsGetAuthSettingsV2Response = SiteAuthSettingsV2 & { /** * The underlying HTTP response. */ @@ -13137,14 +13917,14 @@ export type WebAppsListAzureStorageAccountsResponse = AzureStoragePropertyDictio /** * The response body as parsed JSON or XML */ - parsedBody: AzureStoragePropertyDictionaryResource; + parsedBody: SiteAuthSettingsV2; }; }; /** - * Contains response data for the updateBackupConfiguration operation. + * Contains response data for the updateAzureStorageAccounts operation. */ -export type WebAppsUpdateBackupConfigurationResponse = BackupRequest & { +export type WebAppsUpdateAzureStorageAccountsResponse = AzureStoragePropertyDictionaryResource & { /** * The underlying HTTP response. */ @@ -13157,14 +13937,14 @@ export type WebAppsUpdateBackupConfigurationResponse = BackupRequest & { /** * The response body as parsed JSON or XML */ - parsedBody: BackupRequest; + parsedBody: AzureStoragePropertyDictionaryResource; }; }; /** - * Contains response data for the getBackupConfiguration operation. + * Contains response data for the listAzureStorageAccounts operation. */ -export type WebAppsGetBackupConfigurationResponse = BackupRequest & { +export type WebAppsListAzureStorageAccountsResponse = AzureStoragePropertyDictionaryResource & { /** * The underlying HTTP response. */ @@ -13177,14 +13957,14 @@ export type WebAppsGetBackupConfigurationResponse = BackupRequest & { /** * The response body as parsed JSON or XML */ - parsedBody: BackupRequest; + parsedBody: AzureStoragePropertyDictionaryResource; }; }; /** - * Contains response data for the getAppSettingsKeyVaultReferences operation. + * Contains response data for the updateBackupConfiguration operation. */ -export type WebAppsGetAppSettingsKeyVaultReferencesResponse = KeyVaultReferenceCollection & { +export type WebAppsUpdateBackupConfigurationResponse = BackupRequest & { /** * The underlying HTTP response. */ @@ -13197,14 +13977,14 @@ export type WebAppsGetAppSettingsKeyVaultReferencesResponse = KeyVaultReferenceC /** * The response body as parsed JSON or XML */ - parsedBody: KeyVaultReferenceCollection; + parsedBody: BackupRequest; }; }; /** - * Contains response data for the getAppSettingKeyVaultReference operation. + * Contains response data for the getBackupConfiguration operation. */ -export type WebAppsGetAppSettingKeyVaultReferenceResponse = KeyVaultReferenceResource & { +export type WebAppsGetBackupConfigurationResponse = BackupRequest & { /** * The underlying HTTP response. */ @@ -13217,7 +13997,7 @@ export type WebAppsGetAppSettingKeyVaultReferenceResponse = KeyVaultReferenceRes /** * The response body as parsed JSON or XML */ - parsedBody: KeyVaultReferenceResource; + parsedBody: BackupRequest; }; }; @@ -14281,7 +15061,7 @@ export type WebAppsUpdateRelayServiceConnectionResponse = RelayServiceConnection /** * Contains response data for the listInstanceIdentifiers operation. */ -export type WebAppsListInstanceIdentifiersResponse = WebAppInstanceCollection & { +export type WebAppsListInstanceIdentifiersResponse = WebAppInstanceStatusCollection & { /** * The underlying HTTP response. */ @@ -14294,7 +15074,7 @@ export type WebAppsListInstanceIdentifiersResponse = WebAppInstanceCollection & /** * The response body as parsed JSON or XML */ - parsedBody: WebAppInstanceCollection; + parsedBody: WebAppInstanceStatusCollection; }; }; @@ -15541,6 +16321,46 @@ export type WebAppsGetAuthSettingsSlotResponse = SiteAuthSettings & { }; }; +/** + * Contains response data for the updateAuthSettingsV2Slot operation. + */ +export type WebAppsUpdateAuthSettingsV2SlotResponse = SiteAuthSettingsV2 & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SiteAuthSettingsV2; + }; +}; + +/** + * Contains response data for the getAuthSettingsV2Slot operation. + */ +export type WebAppsGetAuthSettingsV2SlotResponse = SiteAuthSettingsV2 & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SiteAuthSettingsV2; + }; +}; + /** * Contains response data for the updateAzureStorageAccountsSlot operation. */ @@ -16641,7 +17461,7 @@ export type WebAppsUpdateRelayServiceConnectionSlotResponse = RelayServiceConnec /** * Contains response data for the listInstanceIdentifiersSlot operation. */ -export type WebAppsListInstanceIdentifiersSlotResponse = WebAppInstanceCollection & { +export type WebAppsListInstanceIdentifiersSlotResponse = WebAppInstanceStatusCollection & { /** * The underlying HTTP response. */ @@ -16654,7 +17474,7 @@ export type WebAppsListInstanceIdentifiersSlotResponse = WebAppInstanceCollectio /** * The response body as parsed JSON or XML */ - parsedBody: WebAppInstanceCollection; + parsedBody: WebAppInstanceStatusCollection; }; }; @@ -19154,7 +19974,7 @@ export type WebAppsListHostNameBindingsNextResponse = HostNameBindingCollection /** * Contains response data for the listInstanceIdentifiersNext operation. */ -export type WebAppsListInstanceIdentifiersNextResponse = WebAppInstanceCollection & { +export type WebAppsListInstanceIdentifiersNextResponse = WebAppInstanceStatusCollection & { /** * The underlying HTTP response. */ @@ -19167,7 +19987,7 @@ export type WebAppsListInstanceIdentifiersNextResponse = WebAppInstanceCollectio /** * The response body as parsed JSON or XML */ - parsedBody: WebAppInstanceCollection; + parsedBody: WebAppInstanceStatusCollection; }; }; @@ -19554,7 +20374,7 @@ export type WebAppsListHostNameBindingsSlotNextResponse = HostNameBindingCollect /** * Contains response data for the listInstanceIdentifiersSlotNext operation. */ -export type WebAppsListInstanceIdentifiersSlotNextResponse = WebAppInstanceCollection & { +export type WebAppsListInstanceIdentifiersSlotNextResponse = WebAppInstanceStatusCollection & { /** * The underlying HTTP response. */ @@ -19567,7 +20387,7 @@ export type WebAppsListInstanceIdentifiersSlotNextResponse = WebAppInstanceColle /** * The response body as parsed JSON or XML */ - parsedBody: WebAppInstanceCollection; + parsedBody: WebAppInstanceStatusCollection; }; }; @@ -20051,6 +20871,26 @@ export type WebAppsListWebJobsNextResponse = WebJobCollection & { }; }; +/** + * Contains response data for the previewWorkflow operation. + */ +export type StaticSitesPreviewWorkflowResponse = StaticSitesWorkflowPreview & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: StaticSitesWorkflowPreview; + }; +}; + /** * Contains response data for the list operation. */ diff --git a/sdk/appservice/arm-appservice/src/models/mappers.ts b/sdk/appservice/arm-appservice/src/models/mappers.ts index 422e194cf75c..a4d0193e6b4b 100644 --- a/sdk/appservice/arm-appservice/src/models/mappers.ts +++ b/sdk/appservice/arm-appservice/src/models/mappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -104,6 +104,13 @@ export const Resource: msRest.CompositeMapper = { } } } + }, + systemData: { + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" + } } } } @@ -439,6 +446,13 @@ export const ProxyOnlyResource: msRest.CompositeMapper = { type: { name: "String" } + }, + systemData: { + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" + } } } } @@ -836,6 +850,52 @@ export const SiteSealRequest: msRest.CompositeMapper = { } }; +export const SystemData: msRest.CompositeMapper = { + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData", + modelProperties: { + createdBy: { + serializedName: "createdBy", + type: { + name: "String" + } + }, + createdByType: { + serializedName: "createdByType", + type: { + name: "String" + } + }, + createdAt: { + serializedName: "createdAt", + type: { + name: "DateTime" + } + }, + lastModifiedBy: { + serializedName: "lastModifiedBy", + type: { + name: "String" + } + }, + lastModifiedByType: { + serializedName: "lastModifiedByType", + type: { + name: "String" + } + }, + lastModifiedAt: { + serializedName: "lastModifiedAt", + type: { + name: "DateTime" + } + } + } + } +}; + export const VnetRoute: msRest.CompositeMapper = { serializedName: "VnetRoute", type: { @@ -1472,11 +1532,7 @@ export const IpSecurityRestriction: msRest.CompositeMapper = { tag: { serializedName: "tag", type: { - name: "Enum", - allowedValues: [ - "Default", - "XffProxy" - ] + name: "String" } }, priority: { @@ -1496,6 +1552,22 @@ export const IpSecurityRestriction: msRest.CompositeMapper = { type: { name: "String" } + }, + headers: { + serializedName: "headers", + type: { + name: "Dictionary", + value: { + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } } } } @@ -2163,18 +2235,6 @@ export const SiteConfig: msRest.CompositeMapper = { name: "Boolean" } }, - acrUseManagedIdentityCreds: { - serializedName: "acrUseManagedIdentityCreds", - type: { - name: "Boolean" - } - }, - acrUserManagedIdentityID: { - serializedName: "acrUserManagedIdentityID", - type: { - name: "String" - } - }, logsDirectorySizeLimit: { serializedName: "logsDirectorySizeLimit", type: { @@ -2365,6 +2425,18 @@ export const SiteConfig: msRest.CompositeMapper = { name: "String" } }, + vnetRouteAllEnabled: { + serializedName: "vnetRouteAllEnabled", + type: { + name: "Boolean" + } + }, + vnetPrivatePortsCount: { + serializedName: "vnetPrivatePortsCount", + type: { + name: "Number" + } + }, cors: { serializedName: "cors", type: { @@ -2461,6 +2533,12 @@ export const SiteConfig: msRest.CompositeMapper = { name: "String" } }, + scmMinTlsVersion: { + serializedName: "scmMinTlsVersion", + type: { + name: "String" + } + }, ftpsState: { serializedName: "ftpsState", type: { @@ -2714,6 +2792,16 @@ export const Site: msRest.CompositeMapper = { name: "Boolean" } }, + clientCertMode: { + serializedName: "properties.clientCertMode", + type: { + name: "Enum", + allowedValues: [ + "Required", + "Optional" + ] + } + }, clientCertExclusionPaths: { serializedName: "properties.clientCertExclusionPaths", type: { @@ -2726,6 +2814,12 @@ export const Site: msRest.CompositeMapper = { name: "Boolean" } }, + customDomainVerificationId: { + serializedName: "properties.customDomainVerificationId", + type: { + name: "String" + } + }, outboundIpAddresses: { readOnly: true, serializedName: "properties.outboundIpAddresses", @@ -3265,6 +3359,12 @@ export const LogSpecification: msRest.CompositeMapper = { type: { name: "String" } + }, + logFilterPattern: { + serializedName: "logFilterPattern", + type: { + name: "String" + } } } } @@ -3444,6 +3544,17 @@ export const MetricSpecification: msRest.CompositeMapper = { } } } + }, + supportedAggregationTypes: { + serializedName: "supportedAggregationTypes", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } } } } @@ -5034,12 +5145,7 @@ export const AppServiceEnvironment: msRest.CompositeMapper = { internalLoadBalancingMode: { serializedName: "internalLoadBalancingMode", type: { - name: "Enum", - allowedValues: [ - "None", - "Web", - "Publishing" - ] + name: "String" } }, multiSize: { @@ -6785,6 +6891,70 @@ export const RecommendationRule: msRest.CompositeMapper = { } }; +export const AppserviceGithubToken: msRest.CompositeMapper = { + serializedName: "AppserviceGithubToken", + type: { + name: "Composite", + className: "AppserviceGithubToken", + modelProperties: { + accessToken: { + serializedName: "accessToken", + type: { + name: "String" + } + }, + scope: { + serializedName: "scope", + type: { + name: "String" + } + }, + tokenType: { + serializedName: "tokenType", + type: { + name: "String" + } + }, + gotToken: { + serializedName: "gotToken", + type: { + name: "Boolean" + } + }, + errorMessage: { + serializedName: "errorMessage", + type: { + name: "String" + } + } + } + } +}; + +export const AppserviceGithubTokenRequest: msRest.CompositeMapper = { + serializedName: "AppserviceGithubTokenRequest", + type: { + name: "Composite", + className: "AppserviceGithubTokenRequest", + modelProperties: { + code: { + required: true, + serializedName: "code", + type: { + name: "String" + } + }, + state: { + required: true, + serializedName: "state", + type: { + name: "String" + } + } + } + } +}; + export const BillingMeter: msRest.CompositeMapper = { serializedName: "BillingMeter", type: { @@ -7466,88 +7636,46 @@ export const VnetValidationFailureDetails: msRest.CompositeMapper = { } }; -export const ApiKVReference: msRest.CompositeMapper = { - serializedName: "ApiKVReference", +export const AllowedAudiencesValidation: msRest.CompositeMapper = { + serializedName: "AllowedAudiencesValidation", type: { name: "Composite", - className: "ApiKVReference", + className: "AllowedAudiencesValidation", modelProperties: { - reference: { - serializedName: "reference", - type: { - name: "String" - } - }, - status: { - serializedName: "status", - type: { - name: "Enum", - allowedValues: [ - "Initialized", - "Resolved", - "InvalidSyntax", - "MSINotEnabled", - "VaultNotFound", - "SecretNotFound", - "SecretVersionNotFound", - "AccessToKeyVaultDenied", - "OtherReasons" - ] - } - }, - vaultName: { - serializedName: "vaultName", - type: { - name: "String" - } - }, - secretName: { - serializedName: "secretName", + ...ProxyOnlyResource.type.modelProperties, + allowedAudiences: { + serializedName: "properties.allowedAudiences", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } - }, - secretVersion: { - serializedName: "secretVersion", + } + } + } +}; + +export const AppRegistration: msRest.CompositeMapper = { + serializedName: "AppRegistration", + type: { + name: "Composite", + className: "AppRegistration", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + appId: { + serializedName: "properties.appId", type: { name: "String" } }, - identityType: { - serializedName: "identityType", - type: { - name: "Enum", - allowedValues: [ - "SystemAssigned", - "UserAssigned", - "SystemAssigned, UserAssigned", - "None" - ] - } - }, - details: { - serializedName: "details", + appSecretSettingName: { + serializedName: "properties.appSecretSettingName", type: { name: "String" } - }, - source: { - serializedName: "source", - type: { - name: "Enum", - allowedValues: [ - "KeyVault" - ] - } - }, - location: { - serializedName: "location", - type: { - name: "Enum", - allowedValues: [ - "ApplicationSetting" - ] - } } } } @@ -7673,15 +7801,27 @@ export const ApplicationLogsConfig: msRest.CompositeMapper = { } }; -export const ArmIdWrapper: msRest.CompositeMapper = { - serializedName: "ArmIdWrapper", +export const AuthPlatform: msRest.CompositeMapper = { + serializedName: "AuthPlatform", type: { name: "Composite", - className: "ArmIdWrapper", + className: "AuthPlatform", modelProperties: { - id: { - readOnly: true, - serializedName: "id", + ...ProxyOnlyResource.type.modelProperties, + enabled: { + serializedName: "properties.enabled", + type: { + name: "Boolean" + } + }, + runtimeVersion: { + serializedName: "properties.runtimeVersion", + type: { + name: "String" + } + }, + configFilePath: { + serializedName: "properties.configFilePath", type: { name: "String" } @@ -7690,30 +7830,216 @@ export const ArmIdWrapper: msRest.CompositeMapper = { } }; -export const AzureBlobStorageHttpLogsConfig: msRest.CompositeMapper = { - serializedName: "AzureBlobStorageHttpLogsConfig", +export const AzureActiveDirectoryRegistration: msRest.CompositeMapper = { + serializedName: "AzureActiveDirectoryRegistration", type: { name: "Composite", - className: "AzureBlobStorageHttpLogsConfig", + className: "AzureActiveDirectoryRegistration", modelProperties: { - sasUrl: { - serializedName: "sasUrl", + ...ProxyOnlyResource.type.modelProperties, + openIdIssuer: { + serializedName: "properties.openIdIssuer", type: { name: "String" } }, - retentionInDays: { - serializedName: "retentionInDays", + clientId: { + serializedName: "properties.clientId", type: { - name: "Number" + name: "String" } }, - enabled: { - serializedName: "enabled", + clientSecretSettingName: { + serializedName: "properties.clientSecretSettingName", type: { - name: "Boolean" + name: "String" } - } + }, + clientSecretCertificateThumbprint: { + serializedName: "properties.clientSecretCertificateThumbprint", + type: { + name: "String" + } + } + } + } +}; + +export const AzureActiveDirectoryLogin: msRest.CompositeMapper = { + serializedName: "AzureActiveDirectoryLogin", + type: { + name: "Composite", + className: "AzureActiveDirectoryLogin", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + disableWWWAuthenticate: { + serializedName: "properties.disableWWWAuthenticate", + type: { + name: "Boolean" + } + }, + loginParameters: { + serializedName: "properties.loginParameters", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const JwtClaimChecks: msRest.CompositeMapper = { + serializedName: "JwtClaimChecks", + type: { + name: "Composite", + className: "JwtClaimChecks", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + allowedGroups: { + serializedName: "properties.allowedGroups", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + allowedClientApplications: { + serializedName: "properties.allowedClientApplications", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const AzureActiveDirectoryValidation: msRest.CompositeMapper = { + serializedName: "AzureActiveDirectoryValidation", + type: { + name: "Composite", + className: "AzureActiveDirectoryValidation", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + jwtClaimChecks: { + serializedName: "properties.jwtClaimChecks", + type: { + name: "Composite", + className: "JwtClaimChecks" + } + }, + allowedAudiences: { + serializedName: "properties.allowedAudiences", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const AzureActiveDirectory: msRest.CompositeMapper = { + serializedName: "AzureActiveDirectory", + type: { + name: "Composite", + className: "AzureActiveDirectory", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + enabled: { + serializedName: "properties.enabled", + type: { + name: "Boolean" + } + }, + registration: { + serializedName: "properties.registration", + type: { + name: "Composite", + className: "AzureActiveDirectoryRegistration" + } + }, + login: { + serializedName: "properties.login", + type: { + name: "Composite", + className: "AzureActiveDirectoryLogin" + } + }, + validation: { + serializedName: "properties.validation", + type: { + name: "Composite", + className: "AzureActiveDirectoryValidation" + } + }, + isAutoProvisioned: { + serializedName: "properties.isAutoProvisioned", + type: { + name: "Boolean" + } + } + } + } +}; + +export const ArmIdWrapper: msRest.CompositeMapper = { + serializedName: "ArmIdWrapper", + type: { + name: "Composite", + className: "ArmIdWrapper", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + } + } + } +}; + +export const AzureBlobStorageHttpLogsConfig: msRest.CompositeMapper = { + serializedName: "AzureBlobStorageHttpLogsConfig", + type: { + name: "Composite", + className: "AzureBlobStorageHttpLogsConfig", + modelProperties: { + sasUrl: { + serializedName: "sasUrl", + type: { + name: "String" + } + }, + retentionInDays: { + serializedName: "retentionInDays", + type: { + name: "Number" + } + }, + enabled: { + serializedName: "enabled", + type: { + name: "Boolean" + } + } } } }; @@ -8067,6 +8393,46 @@ export const BackupRequest: msRest.CompositeMapper = { } }; +export const BlobStorageTokenStore: msRest.CompositeMapper = { + serializedName: "BlobStorageTokenStore", + type: { + name: "Composite", + className: "BlobStorageTokenStore", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + sasUrlSettingName: { + serializedName: "properties.sasUrlSettingName", + type: { + name: "String" + } + } + } + } +}; + +export const ClientRegistration: msRest.CompositeMapper = { + serializedName: "ClientRegistration", + type: { + name: "Composite", + className: "ClientRegistration", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + clientId: { + serializedName: "properties.clientId", + type: { + name: "String" + } + }, + clientSecretSettingName: { + serializedName: "properties.clientSecretSettingName", + type: { + name: "String" + } + } + } + } +}; + export const ConnStringValueTypePair: msRest.CompositeMapper = { serializedName: "ConnStringValueTypePair", type: { @@ -8465,6 +8831,33 @@ export const ContinuousWebJob: msRest.CompositeMapper = { } }; +export const CookieExpiration: msRest.CompositeMapper = { + serializedName: "CookieExpiration", + type: { + name: "Composite", + className: "CookieExpiration", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + convention: { + serializedName: "properties.convention", + type: { + name: "Enum", + allowedValues: [ + "FixedTime", + "IdentityProviderDerived" + ] + } + }, + timeToExpiration: { + serializedName: "properties.timeToExpiration", + type: { + name: "String" + } + } + } + } +}; + export const CsmCopySlotEntity: msRest.CompositeMapper = { serializedName: "CsmCopySlotEntity", type: { @@ -8695,6 +9088,163 @@ export const CustomHostnameAnalysisResult: msRest.CompositeMapper = { } }; +export const OpenIdConnectClientCredential: msRest.CompositeMapper = { + serializedName: "OpenIdConnectClientCredential", + type: { + name: "Composite", + className: "OpenIdConnectClientCredential", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + method: { + serializedName: "properties.method", + type: { + name: "Enum", + allowedValues: [ + "ClientSecretPost" + ] + } + }, + clientSecretSettingName: { + serializedName: "properties.clientSecretSettingName", + type: { + name: "String" + } + } + } + } +}; + +export const OpenIdConnectConfig: msRest.CompositeMapper = { + serializedName: "OpenIdConnectConfig", + type: { + name: "Composite", + className: "OpenIdConnectConfig", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + authorizationEndpoint: { + serializedName: "properties.authorizationEndpoint", + type: { + name: "String" + } + }, + tokenEndpoint: { + serializedName: "properties.tokenEndpoint", + type: { + name: "String" + } + }, + issuer: { + serializedName: "properties.issuer", + type: { + name: "String" + } + }, + certificationUri: { + serializedName: "properties.certificationUri", + type: { + name: "String" + } + }, + wellKnownOpenIdConfiguration: { + serializedName: "properties.wellKnownOpenIdConfiguration", + type: { + name: "String" + } + } + } + } +}; + +export const OpenIdConnectRegistration: msRest.CompositeMapper = { + serializedName: "OpenIdConnectRegistration", + type: { + name: "Composite", + className: "OpenIdConnectRegistration", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + clientId: { + serializedName: "properties.clientId", + type: { + name: "String" + } + }, + clientCredential: { + serializedName: "properties.clientCredential", + type: { + name: "Composite", + className: "OpenIdConnectClientCredential" + } + }, + openIdConnectConfiguration: { + serializedName: "properties.openIdConnectConfiguration", + type: { + name: "Composite", + className: "OpenIdConnectConfig" + } + } + } + } +}; + +export const OpenIdConnectLogin: msRest.CompositeMapper = { + serializedName: "OpenIdConnectLogin", + type: { + name: "Composite", + className: "OpenIdConnectLogin", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + nameClaimType: { + serializedName: "properties.nameClaimType", + type: { + name: "String" + } + }, + scopes: { + serializedName: "properties.scopes", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const CustomOpenIdConnectProvider: msRest.CompositeMapper = { + serializedName: "CustomOpenIdConnectProvider", + type: { + name: "Composite", + className: "CustomOpenIdConnectProvider", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + enabled: { + serializedName: "properties.enabled", + type: { + name: "Boolean" + } + }, + registration: { + serializedName: "properties.registration", + type: { + name: "Composite", + className: "OpenIdConnectRegistration" + } + }, + login: { + serializedName: "properties.login", + type: { + name: "Composite", + className: "OpenIdConnectLogin" + } + } + } + } +}; + export const DeletedAppRestoreRequest: msRest.CompositeMapper = { serializedName: "DeletedAppRestoreRequest", type: { @@ -8811,6 +9361,65 @@ export const EnabledConfig: msRest.CompositeMapper = { } }; +export const LoginScopes: msRest.CompositeMapper = { + serializedName: "LoginScopes", + type: { + name: "Composite", + className: "LoginScopes", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + scopes: { + serializedName: "properties.scopes", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const Facebook: msRest.CompositeMapper = { + serializedName: "Facebook", + type: { + name: "Composite", + className: "Facebook", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + enabled: { + serializedName: "properties.enabled", + type: { + name: "Boolean" + } + }, + registration: { + serializedName: "properties.registration", + type: { + name: "Composite", + className: "AppRegistration" + } + }, + graphApiVersion: { + serializedName: "properties.graphApiVersion", + type: { + name: "String" + } + }, + login: { + serializedName: "properties.login", + type: { + name: "Composite", + className: "LoginScopes" + } + } + } + } +}; + export const FileSystemHttpLogsConfig: msRest.CompositeMapper = { serializedName: "FileSystemHttpLogsConfig", type: { @@ -8843,6 +9452,57 @@ export const FileSystemHttpLogsConfig: msRest.CompositeMapper = { } }; +export const FileSystemTokenStore: msRest.CompositeMapper = { + serializedName: "FileSystemTokenStore", + type: { + name: "Composite", + className: "FileSystemTokenStore", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + directory: { + serializedName: "properties.directory", + type: { + name: "String" + } + } + } + } +}; + +export const ForwardProxy: msRest.CompositeMapper = { + serializedName: "ForwardProxy", + type: { + name: "Composite", + className: "ForwardProxy", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + convention: { + serializedName: "properties.convention", + type: { + name: "Enum", + allowedValues: [ + "NoProxy", + "Standard", + "Custom" + ] + } + }, + customHostHeaderName: { + serializedName: "properties.customHostHeaderName", + type: { + name: "String" + } + }, + customProtoHeaderName: { + serializedName: "properties.customProtoHeaderName", + type: { + name: "String" + } + } + } + } +}; + export const FunctionEnvelope: msRest.CompositeMapper = { serializedName: "FunctionEnvelope", type: { @@ -8937,23 +9597,137 @@ export const FunctionEnvelope: msRest.CompositeMapper = { } }; -export const FunctionSecrets: msRest.CompositeMapper = { - serializedName: "FunctionSecrets", +export const FunctionSecrets: msRest.CompositeMapper = { + serializedName: "FunctionSecrets", + type: { + name: "Composite", + className: "FunctionSecrets", + modelProperties: { + key: { + serializedName: "key", + type: { + name: "String" + } + }, + triggerUrl: { + serializedName: "trigger_url", + type: { + name: "String" + } + } + } + } +}; + +export const GitHub: msRest.CompositeMapper = { + serializedName: "GitHub", + type: { + name: "Composite", + className: "GitHub", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + enabled: { + serializedName: "properties.enabled", + type: { + name: "Boolean" + } + }, + registration: { + serializedName: "properties.registration", + type: { + name: "Composite", + className: "ClientRegistration" + } + }, + login: { + serializedName: "properties.login", + type: { + name: "Composite", + className: "LoginScopes" + } + } + } + } +}; + +export const GlobalValidation: msRest.CompositeMapper = { + serializedName: "GlobalValidation", + type: { + name: "Composite", + className: "GlobalValidation", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + requireAuthentication: { + serializedName: "properties.requireAuthentication", + type: { + name: "Boolean" + } + }, + unauthenticatedClientAction: { + serializedName: "properties.unauthenticatedClientAction", + type: { + name: "Enum", + allowedValues: [ + "RedirectToLoginPage", + "AllowAnonymous", + "Return401", + "Return403" + ] + } + }, + redirectToProvider: { + serializedName: "properties.redirectToProvider", + type: { + name: "String" + } + }, + excludedPaths: { + serializedName: "properties.excludedPaths", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const Google: msRest.CompositeMapper = { + serializedName: "Google", type: { name: "Composite", - className: "FunctionSecrets", + className: "Google", modelProperties: { ...ProxyOnlyResource.type.modelProperties, - key: { - serializedName: "properties.key", + enabled: { + serializedName: "properties.enabled", type: { - name: "String" + name: "Boolean" } }, - triggerUrl: { - serializedName: "properties.trigger_url", + registration: { + serializedName: "properties.registration", type: { - name: "String" + name: "Composite", + className: "ClientRegistration" + } + }, + login: { + serializedName: "properties.login", + type: { + name: "Composite", + className: "LoginScopes" + } + }, + validation: { + serializedName: "properties.validation", + type: { + name: "Composite", + className: "AllowedAudiencesValidation" } } } @@ -9105,20 +9879,69 @@ export const HttpLogsConfig: msRest.CompositeMapper = { } }; -export const KeyInfo: msRest.CompositeMapper = { - serializedName: "KeyInfo", +export const HttpSettingsRoutes: msRest.CompositeMapper = { + serializedName: "HttpSettingsRoutes", type: { name: "Composite", - className: "KeyInfo", + className: "HttpSettingsRoutes", modelProperties: { - name: { - serializedName: "name", + ...ProxyOnlyResource.type.modelProperties, + apiPrefix: { + serializedName: "properties.apiPrefix", type: { name: "String" } + } + } + } +}; + +export const HttpSettings: msRest.CompositeMapper = { + serializedName: "HttpSettings", + type: { + name: "Composite", + className: "HttpSettings", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + requireHttps: { + serializedName: "properties.requireHttps", + type: { + name: "Boolean" + } }, - value: { - serializedName: "value", + routes: { + serializedName: "properties.routes", + type: { + name: "Composite", + className: "HttpSettingsRoutes" + } + }, + forwardProxy: { + serializedName: "properties.forwardProxy", + type: { + name: "Composite", + className: "ForwardProxy" + } + } + } + } +}; + +export const TwitterRegistration: msRest.CompositeMapper = { + serializedName: "TwitterRegistration", + type: { + name: "Composite", + className: "TwitterRegistration", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + consumerKey: { + serializedName: "properties.consumerKey", + type: { + name: "String" + } + }, + consumerSecretSettingName: { + serializedName: "properties.consumerSecretSettingName", type: { name: "String" } @@ -9127,21 +9950,80 @@ export const KeyInfo: msRest.CompositeMapper = { } }; -export const KeyVaultReferenceCollection: msRest.CompositeMapper = { - serializedName: "KeyVaultReferenceCollection", +export const Twitter: msRest.CompositeMapper = { + serializedName: "Twitter", + type: { + name: "Composite", + className: "Twitter", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + enabled: { + serializedName: "properties.enabled", + type: { + name: "Boolean" + } + }, + registration: { + serializedName: "properties.registration", + type: { + name: "Composite", + className: "TwitterRegistration" + } + } + } + } +}; + +export const IdentityProviders: msRest.CompositeMapper = { + serializedName: "IdentityProviders", type: { name: "Composite", - className: "KeyVaultReferenceCollection", + className: "IdentityProviders", modelProperties: { ...ProxyOnlyResource.type.modelProperties, - keyToReferenceStatuses: { - serializedName: "properties.keyToReferenceStatuses", + azureActiveDirectory: { + serializedName: "properties.azureActiveDirectory", + type: { + name: "Composite", + className: "AzureActiveDirectory" + } + }, + facebook: { + serializedName: "properties.facebook", + type: { + name: "Composite", + className: "Facebook" + } + }, + gitHub: { + serializedName: "properties.gitHub", + type: { + name: "Composite", + className: "GitHub" + } + }, + google: { + serializedName: "properties.google", + type: { + name: "Composite", + className: "Google" + } + }, + twitter: { + serializedName: "properties.twitter", + type: { + name: "Composite", + className: "Twitter" + } + }, + customOpenIdConnectProviders: { + serializedName: "properties.customOpenIdConnectProviders", type: { name: "Dictionary", value: { type: { name: "Composite", - className: "ApiKVReference" + className: "CustomOpenIdConnectProvider" } } } @@ -9150,88 +10032,155 @@ export const KeyVaultReferenceCollection: msRest.CompositeMapper = { } }; -export const KeyVaultReferenceResource: msRest.CompositeMapper = { - serializedName: "KeyVaultReferenceResource", +export const KeyInfo: msRest.CompositeMapper = { + serializedName: "KeyInfo", + type: { + name: "Composite", + className: "KeyInfo", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + value: { + serializedName: "value", + type: { + name: "String" + } + } + } + } +}; + +export const LoginRoutes: msRest.CompositeMapper = { + serializedName: "LoginRoutes", type: { name: "Composite", - className: "KeyVaultReferenceResource", + className: "LoginRoutes", modelProperties: { ...ProxyOnlyResource.type.modelProperties, - reference: { - serializedName: "properties.reference", + logoutEndpoint: { + serializedName: "properties.logoutEndpoint", type: { name: "String" } + } + } + } +}; + +export const TokenStore: msRest.CompositeMapper = { + serializedName: "TokenStore", + type: { + name: "Composite", + className: "TokenStore", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + enabled: { + serializedName: "properties.enabled", + type: { + name: "Boolean" + } }, - status: { - serializedName: "properties.status", + tokenRefreshExtensionHours: { + serializedName: "properties.tokenRefreshExtensionHours", type: { - name: "Enum", - allowedValues: [ - "Initialized", - "Resolved", - "InvalidSyntax", - "MSINotEnabled", - "VaultNotFound", - "SecretNotFound", - "SecretVersionNotFound", - "AccessToKeyVaultDenied", - "OtherReasons" - ] + name: "Number" } }, - vaultName: { - serializedName: "properties.vaultName", + fileSystem: { + serializedName: "properties.fileSystem", type: { - name: "String" + name: "Composite", + className: "FileSystemTokenStore" } }, - secretName: { - serializedName: "properties.secretName", + azureBlobStorage: { + serializedName: "properties.azureBlobStorage", type: { - name: "String" + name: "Composite", + className: "BlobStorageTokenStore" + } + } + } + } +}; + +export const Nonce: msRest.CompositeMapper = { + serializedName: "Nonce", + type: { + name: "Composite", + className: "Nonce", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + validateNonce: { + serializedName: "properties.validateNonce", + type: { + name: "Boolean" } }, - secretVersion: { - serializedName: "properties.secretVersion", + nonceExpirationInterval: { + serializedName: "properties.nonceExpirationInterval", type: { name: "String" } + } + } + } +}; + +export const Login: msRest.CompositeMapper = { + serializedName: "Login", + type: { + name: "Composite", + className: "Login", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + routes: { + serializedName: "properties.routes", + type: { + name: "Composite", + className: "LoginRoutes" + } }, - identityType: { - serializedName: "properties.identityType", + tokenStore: { + serializedName: "properties.tokenStore", type: { - name: "Enum", - allowedValues: [ - "SystemAssigned", - "UserAssigned", - "SystemAssigned, UserAssigned", - "None" - ] + name: "Composite", + className: "TokenStore" } }, - details: { - serializedName: "properties.details", + preserveUrlFragmentsForLogins: { + serializedName: "properties.preserveUrlFragmentsForLogins", type: { - name: "String" + name: "Boolean" } }, - source: { - serializedName: "properties.source", + allowedExternalRedirectUrls: { + serializedName: "properties.allowedExternalRedirectUrls", type: { - name: "Enum", - allowedValues: [ - "KeyVault" - ] + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - location: { - serializedName: "properties.location", + cookieExpiration: { + serializedName: "properties.cookieExpiration", type: { - name: "Enum", - allowedValues: [ - "ApplicationSetting" - ] + name: "Composite", + className: "CookieExpiration" + } + }, + nonce: { + serializedName: "properties.nonce", + type: { + name: "Composite", + className: "Nonce" } } } @@ -10668,7 +11617,8 @@ export const SiteAuthSettings: msRest.CompositeMapper = { "Facebook", "Google", "MicrosoftAccount", - "Twitter" + "Twitter", + "Github" ] } }, @@ -10690,6 +11640,12 @@ export const SiteAuthSettings: msRest.CompositeMapper = { name: "String" } }, + clientSecretSettingName: { + serializedName: "properties.clientSecretSettingName", + type: { + name: "String" + } + }, clientSecretCertificateThumbprint: { serializedName: "properties.clientSecretCertificateThumbprint", type: { @@ -10730,6 +11686,12 @@ export const SiteAuthSettings: msRest.CompositeMapper = { } } }, + aadClaimsAuthorization: { + serializedName: "properties.aadClaimsAuthorization", + type: { + name: "String" + } + }, googleClientId: { serializedName: "properties.googleClientId", type: { @@ -10742,6 +11704,12 @@ export const SiteAuthSettings: msRest.CompositeMapper = { name: "String" } }, + googleClientSecretSettingName: { + serializedName: "properties.googleClientSecretSettingName", + type: { + name: "String" + } + }, googleOAuthScopes: { serializedName: "properties.googleOAuthScopes", type: { @@ -10753,20 +11721,55 @@ export const SiteAuthSettings: msRest.CompositeMapper = { } } }, - facebookAppId: { - serializedName: "properties.facebookAppId", + facebookAppId: { + serializedName: "properties.facebookAppId", + type: { + name: "String" + } + }, + facebookAppSecret: { + serializedName: "properties.facebookAppSecret", + type: { + name: "String" + } + }, + facebookAppSecretSettingName: { + serializedName: "properties.facebookAppSecretSettingName", + type: { + name: "String" + } + }, + facebookOAuthScopes: { + serializedName: "properties.facebookOAuthScopes", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + gitHubClientId: { + serializedName: "properties.gitHubClientId", + type: { + name: "String" + } + }, + gitHubClientSecret: { + serializedName: "properties.gitHubClientSecret", type: { name: "String" } }, - facebookAppSecret: { - serializedName: "properties.facebookAppSecret", + gitHubClientSecretSettingName: { + serializedName: "properties.gitHubClientSecretSettingName", type: { name: "String" } }, - facebookOAuthScopes: { - serializedName: "properties.facebookOAuthScopes", + gitHubOAuthScopes: { + serializedName: "properties.gitHubOAuthScopes", type: { name: "Sequence", element: { @@ -10788,6 +11791,12 @@ export const SiteAuthSettings: msRest.CompositeMapper = { name: "String" } }, + twitterConsumerSecretSettingName: { + serializedName: "properties.twitterConsumerSecretSettingName", + type: { + name: "String" + } + }, microsoftAccountClientId: { serializedName: "properties.microsoftAccountClientId", type: { @@ -10800,6 +11809,12 @@ export const SiteAuthSettings: msRest.CompositeMapper = { name: "String" } }, + microsoftAccountClientSecretSettingName: { + serializedName: "properties.microsoftAccountClientSecretSettingName", + type: { + name: "String" + } + }, microsoftAccountOAuthScopes: { serializedName: "properties.microsoftAccountOAuthScopes", type: { @@ -10810,6 +11825,64 @@ export const SiteAuthSettings: msRest.CompositeMapper = { } } } + }, + isAuthFromFile: { + serializedName: "properties.isAuthFromFile", + type: { + name: "String" + } + }, + authFilePath: { + serializedName: "properties.authFilePath", + type: { + name: "String" + } + } + } + } +}; + +export const SiteAuthSettingsV2: msRest.CompositeMapper = { + serializedName: "SiteAuthSettingsV2", + type: { + name: "Composite", + className: "SiteAuthSettingsV2", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + platform: { + serializedName: "properties.platform", + type: { + name: "Composite", + className: "AuthPlatform" + } + }, + globalValidation: { + serializedName: "properties.globalValidation", + type: { + name: "Composite", + className: "GlobalValidation" + } + }, + identityProviders: { + serializedName: "properties.identityProviders", + type: { + name: "Composite", + className: "IdentityProviders" + } + }, + login: { + serializedName: "properties.login", + type: { + name: "Composite", + className: "Login" + } + }, + httpSettings: { + serializedName: "properties.httpSettings", + type: { + name: "Composite", + className: "HttpSettings" + } } } } @@ -10991,18 +12064,6 @@ export const SiteConfigResource: msRest.CompositeMapper = { name: "Boolean" } }, - acrUseManagedIdentityCreds: { - serializedName: "properties.acrUseManagedIdentityCreds", - type: { - name: "Boolean" - } - }, - acrUserManagedIdentityID: { - serializedName: "properties.acrUserManagedIdentityID", - type: { - name: "String" - } - }, logsDirectorySizeLimit: { serializedName: "properties.logsDirectorySizeLimit", type: { @@ -11193,6 +12254,18 @@ export const SiteConfigResource: msRest.CompositeMapper = { name: "String" } }, + vnetRouteAllEnabled: { + serializedName: "properties.vnetRouteAllEnabled", + type: { + name: "Boolean" + } + }, + vnetPrivatePortsCount: { + serializedName: "properties.vnetPrivatePortsCount", + type: { + name: "Number" + } + }, cors: { serializedName: "properties.cors", type: { @@ -11289,6 +12362,12 @@ export const SiteConfigResource: msRest.CompositeMapper = { name: "String" } }, + scmMinTlsVersion: { + serializedName: "properties.scmMinTlsVersion", + type: { + name: "String" + } + }, ftpsState: { serializedName: "properties.ftpsState", type: { @@ -11480,24 +12559,6 @@ export const SiteExtensionInfo: msRest.CompositeMapper = { } }; -export const SiteInstance: msRest.CompositeMapper = { - serializedName: "SiteInstance", - type: { - name: "Composite", - className: "SiteInstance", - modelProperties: { - ...ProxyOnlyResource.type.modelProperties, - siteInstanceName: { - readOnly: true, - serializedName: "properties.siteInstanceName", - type: { - name: "String" - } - } - } - } -}; - export const SiteLogsConfig: msRest.CompositeMapper = { serializedName: "SiteLogsConfig", type: { @@ -11709,6 +12770,16 @@ export const SitePatchResource: msRest.CompositeMapper = { name: "Boolean" } }, + clientCertMode: { + serializedName: "properties.clientCertMode", + type: { + name: "Enum", + allowedValues: [ + "Required", + "Optional" + ] + } + }, clientCertExclusionPaths: { serializedName: "properties.clientCertExclusionPaths", type: { @@ -11721,6 +12792,12 @@ export const SitePatchResource: msRest.CompositeMapper = { name: "Boolean" } }, + customDomainVerificationId: { + serializedName: "properties.customDomainVerificationId", + type: { + name: "String" + } + }, outboundIpAddresses: { readOnly: true, serializedName: "properties.outboundIpAddresses", @@ -11894,6 +12971,12 @@ export const SiteSourceControl: msRest.CompositeMapper = { name: "Boolean" } }, + isGitHubAction: { + serializedName: "properties.isGitHubAction", + type: { + name: "Boolean" + } + }, deploymentRollbackEnabled: { serializedName: "properties.deploymentRollbackEnabled", type: { @@ -12351,60 +13434,56 @@ export const TriggeredWebJob: msRest.CompositeMapper = { } }; -export const WebJob: msRest.CompositeMapper = { - serializedName: "WebJob", +export const WebSiteInstanceStatus: msRest.CompositeMapper = { + serializedName: "WebSiteInstanceStatus", type: { name: "Composite", - className: "WebJob", + className: "WebSiteInstanceStatus", modelProperties: { ...ProxyOnlyResource.type.modelProperties, - runCommand: { - serializedName: "properties.run_command", + state: { + serializedName: "properties.state", type: { - name: "String" + name: "Enum", + allowedValues: [ + "READY", + "STOPPED", + "UNKNOWN" + ] } }, - url: { - serializedName: "properties.url", + statusUrl: { + serializedName: "properties.statusUrl", type: { name: "String" } }, - extraInfoUrl: { - serializedName: "properties.extra_info_url", + detectorUrl: { + serializedName: "properties.detectorUrl", type: { name: "String" } }, - webJobType: { - serializedName: "properties.web_job_type", - type: { - name: "Enum", - allowedValues: [ - "Continuous", - "Triggered" - ] - } - }, - error: { - serializedName: "properties.error", + consoleUrl: { + serializedName: "properties.consoleUrl", type: { name: "String" } }, - usingSdk: { - serializedName: "properties.using_sdk", + healthCheckUrl: { + serializedName: "properties.healthCheckUrl", type: { - name: "Boolean" + name: "String" } }, - settings: { - serializedName: "properties.settings", + containers: { + serializedName: "properties.containers", type: { name: "Dictionary", value: { type: { - name: "Object" + name: "Composite", + className: "ContainerInfo" } } } @@ -12413,50 +13492,60 @@ export const WebJob: msRest.CompositeMapper = { } }; -export const WebSiteInstanceStatus: msRest.CompositeMapper = { - serializedName: "WebSiteInstanceStatus", +export const WebJob: msRest.CompositeMapper = { + serializedName: "WebJob", type: { name: "Composite", - className: "WebSiteInstanceStatus", + className: "WebJob", modelProperties: { ...ProxyOnlyResource.type.modelProperties, - state: { - serializedName: "properties.state", + runCommand: { + serializedName: "properties.run_command", type: { - name: "Enum", - allowedValues: [ - "READY", - "STOPPED", - "UNKNOWN" - ] + name: "String" } }, - statusUrl: { - serializedName: "properties.statusUrl", + url: { + serializedName: "properties.url", type: { name: "String" } }, - detectorUrl: { - serializedName: "properties.detectorUrl", + extraInfoUrl: { + serializedName: "properties.extra_info_url", type: { name: "String" } }, - consoleUrl: { - serializedName: "properties.consoleUrl", + webJobType: { + serializedName: "properties.web_job_type", + type: { + name: "Enum", + allowedValues: [ + "Continuous", + "Triggered" + ] + } + }, + error: { + serializedName: "properties.error", type: { name: "String" } }, - containers: { - serializedName: "properties.containers", + usingSdk: { + serializedName: "properties.using_sdk", + type: { + name: "Boolean" + } + }, + settings: { + serializedName: "properties.settings", type: { name: "Dictionary", value: { type: { - name: "Composite", - className: "ContainerInfo" + name: "Object" } } } @@ -12847,6 +13936,61 @@ export const StaticSiteUserInvitationResponseResource: msRest.CompositeMapper = } }; +export const StaticSitesWorkflowPreview: msRest.CompositeMapper = { + serializedName: "StaticSitesWorkflowPreview", + type: { + name: "Composite", + className: "StaticSitesWorkflowPreview", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + path: { + readOnly: true, + serializedName: "properties.path", + type: { + name: "String" + } + }, + contents: { + readOnly: true, + serializedName: "properties.contents", + type: { + name: "String" + } + } + } + } +}; + +export const StaticSitesWorkflowPreviewRequest: msRest.CompositeMapper = { + serializedName: "StaticSitesWorkflowPreviewRequest", + type: { + name: "Composite", + className: "StaticSitesWorkflowPreviewRequest", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + repositoryUrl: { + serializedName: "properties.repositoryUrl", + type: { + name: "String" + } + }, + branch: { + serializedName: "properties.branch", + type: { + name: "String" + } + }, + buildProperties: { + serializedName: "properties.buildProperties", + type: { + name: "Composite", + className: "StaticSiteBuildProperties" + } + } + } + } +}; + export const AddressResponse: msRest.CompositeMapper = { serializedName: "AddressResponse", type: { @@ -12970,12 +14114,7 @@ export const AppServiceEnvironmentResource: msRest.CompositeMapper = { internalLoadBalancingMode: { serializedName: "properties.internalLoadBalancingMode", type: { - name: "Enum", - allowedValues: [ - "None", - "Web", - "Publishing" - ] + name: "String" } }, multiSize: { @@ -13290,12 +14429,7 @@ export const AppServiceEnvironmentPatchResource: msRest.CompositeMapper = { internalLoadBalancingMode: { serializedName: "properties.internalLoadBalancingMode", type: { - name: "Enum", - allowedValues: [ - "None", - "Web", - "Publishing" - ] + name: "String" } }, multiSize: { @@ -15017,11 +16151,11 @@ export const HostNameBindingCollection: msRest.CompositeMapper = { } }; -export const WebAppInstanceCollection: msRest.CompositeMapper = { - serializedName: "WebAppInstanceCollection", +export const WebAppInstanceStatusCollection: msRest.CompositeMapper = { + serializedName: "WebAppInstanceStatusCollection", type: { name: "Composite", - className: "WebAppInstanceCollection", + className: "WebAppInstanceStatusCollection", modelProperties: { value: { required: true, @@ -15031,7 +16165,7 @@ export const WebAppInstanceCollection: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "SiteInstance" + className: "WebSiteInstanceStatus" } } } diff --git a/sdk/appservice/arm-appservice/src/models/parameters.ts b/sdk/appservice/arm-appservice/src/models/parameters.ts index 5295e2ec2ef0..c6e3db07280f 100644 --- a/sdk/appservice/arm-appservice/src/models/parameters.ts +++ b/sdk/appservice/arm-appservice/src/models/parameters.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -40,16 +39,6 @@ export const apiVersion: msRest.OperationQueryParameter = { } } }; -export const appSettingKey: msRest.OperationURLParameter = { - parameterPath: "appSettingKey", - mapper: { - required: true, - serializedName: "appSettingKey", - type: { - name: "String" - } - } -}; export const authprovider: msRest.OperationURLParameter = { parameterPath: "authprovider", mapper: { diff --git a/sdk/appservice/arm-appservice/src/models/providerMappers.ts b/sdk/appservice/arm-appservice/src/models/providerMappers.ts index 23b1be4a88b7..5b78911e2aa9 100644 --- a/sdk/appservice/arm-appservice/src/models/providerMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/providerMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -10,15 +10,16 @@ export { AbnormalTimePeriod, Address, AddressResponse, + AllowedAudiencesValidation, AnalysisData, AnalysisDefinition, ApiDefinitionInfo, - ApiKVReference, ApiManagementConfig, ApplicationLogsConfig, ApplicationStack, ApplicationStackCollection, ApplicationStackResource, + AppRegistration, AppServiceCertificate, AppServiceCertificateOrder, AppServiceCertificateOrderPatchResource, @@ -29,10 +30,15 @@ export { AppServicePlan, AppServicePlanPatchResource, ArmIdWrapper, + AuthPlatform, AutoHealActions, AutoHealCustomAction, AutoHealRules, AutoHealTriggers, + AzureActiveDirectory, + AzureActiveDirectoryLogin, + AzureActiveDirectoryRegistration, + AzureActiveDirectoryValidation, AzureBlobStorageApplicationLogsConfig, AzureBlobStorageHttpLogsConfig, AzureStorageInfoValue, @@ -43,12 +49,14 @@ export { BackupSchedule, BaseResource, BillingMeter, + BlobStorageTokenStore, Capability, Certificate, CertificateDetails, CertificateEmail, CertificateOrderAction, CertificatePatchResource, + ClientRegistration, CloningInfo, ConnectionStringDictionary, ConnStringInfo, @@ -61,6 +69,7 @@ export { ContainerNetworkInterfaceStatistics, ContainerThrottlingData, ContinuousWebJob, + CookieExpiration, CorsSettings, CsmOperationCollection, CsmOperationDescription, @@ -69,6 +78,7 @@ export { CsmPublishingCredentialsPoliciesCollection, CsmPublishingCredentialsPoliciesEntity, CustomHostnameAnalysisResult, + CustomOpenIdConnectProvider, DatabaseBackupSetting, DataSource, DataTableResponseColumn, @@ -97,24 +107,34 @@ export { EnabledConfig, ErrorEntity, Experiments, + Facebook, FileSystemApplicationLogsConfig, FileSystemHttpLogsConfig, + FileSystemTokenStore, + ForwardProxy, FunctionEnvelope, - FunctionSecrets, GeoRegion, + GitHub, + GlobalValidation, + Google, HandlerMapping, HostingEnvironmentProfile, HostName, HostNameBinding, HostNameSslState, HttpLogsConfig, + HttpSettings, + HttpSettingsRoutes, HybridConnection, HybridConnectionKey, HybridConnectionLimits, Identifier, + IdentityProviders, IpSecurityRestriction, - KeyVaultReferenceCollection, - KeyVaultReferenceResource, + JwtClaimChecks, + Login, + LoginRoutes, + LoginScopes, LogSpecification, ManagedServiceIdentity, ManagedServiceIdentityUserAssignedIdentitiesValue, @@ -129,6 +149,11 @@ export { NameValuePair, NetworkAccessControlEntry, NetworkFeatures, + Nonce, + OpenIdConnectClientCredential, + OpenIdConnectConfig, + OpenIdConnectLogin, + OpenIdConnectRegistration, PremierAddOn, PremierAddOnOffer, PremierAddOnPatchResource, @@ -161,11 +186,11 @@ export { ServiceSpecification, Site, SiteAuthSettings, + SiteAuthSettingsV2, SiteConfig, SiteConfigResource, SiteConfigurationSnapshotInfo, SiteExtensionInfo, - SiteInstance, SiteLimits, SiteLogsConfig, SiteMachineKey, @@ -193,6 +218,8 @@ export { StaticSiteFunctionOverviewARMResource, StaticSitePatchResource, StaticSiteResetPropertiesARMResource, + StaticSitesWorkflowPreview, + StaticSitesWorkflowPreviewRequest, StaticSiteUserARMResource, StaticSiteUserInvitationRequestResource, StaticSiteUserInvitationResponseResource, @@ -201,10 +228,14 @@ export { StorageMigrationResponse, StringDictionary, SwiftVirtualNetwork, + SystemData, + TokenStore, TopLevelDomain, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, + Twitter, + TwitterRegistration, Usage, User, VirtualApplication, diff --git a/sdk/appservice/arm-appservice/src/models/recommendationsMappers.ts b/sdk/appservice/arm-appservice/src/models/recommendationsMappers.ts index d05cfcccc925..1d4d83c12d65 100644 --- a/sdk/appservice/arm-appservice/src/models/recommendationsMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/recommendationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -10,14 +10,15 @@ export { AbnormalTimePeriod, Address, AddressResponse, + AllowedAudiencesValidation, AnalysisData, AnalysisDefinition, ApiDefinitionInfo, - ApiKVReference, ApiManagementConfig, ApplicationLogsConfig, ApplicationStack, ApplicationStackResource, + AppRegistration, AppServiceCertificate, AppServiceCertificateOrder, AppServiceCertificateOrderPatchResource, @@ -28,10 +29,15 @@ export { AppServicePlan, AppServicePlanPatchResource, ArmIdWrapper, + AuthPlatform, AutoHealActions, AutoHealCustomAction, AutoHealRules, AutoHealTriggers, + AzureActiveDirectory, + AzureActiveDirectoryLogin, + AzureActiveDirectoryRegistration, + AzureActiveDirectoryValidation, AzureBlobStorageApplicationLogsConfig, AzureBlobStorageHttpLogsConfig, AzureStorageInfoValue, @@ -42,12 +48,14 @@ export { BackupSchedule, BaseResource, BillingMeter, + BlobStorageTokenStore, Capability, Certificate, CertificateDetails, CertificateEmail, CertificateOrderAction, CertificatePatchResource, + ClientRegistration, CloningInfo, ConnectionStringDictionary, ConnStringInfo, @@ -60,10 +68,12 @@ export { ContainerNetworkInterfaceStatistics, ContainerThrottlingData, ContinuousWebJob, + CookieExpiration, CorsSettings, CsmPublishingCredentialsPoliciesCollection, CsmPublishingCredentialsPoliciesEntity, CustomHostnameAnalysisResult, + CustomOpenIdConnectProvider, DatabaseBackupSetting, DataSource, DataTableResponseColumn, @@ -91,24 +101,34 @@ export { EnabledConfig, ErrorEntity, Experiments, + Facebook, FileSystemApplicationLogsConfig, FileSystemHttpLogsConfig, + FileSystemTokenStore, + ForwardProxy, FunctionEnvelope, - FunctionSecrets, GeoRegion, + GitHub, + GlobalValidation, + Google, HandlerMapping, HostingEnvironmentProfile, HostName, HostNameBinding, HostNameSslState, HttpLogsConfig, + HttpSettings, + HttpSettingsRoutes, HybridConnection, HybridConnectionKey, HybridConnectionLimits, Identifier, + IdentityProviders, IpSecurityRestriction, - KeyVaultReferenceCollection, - KeyVaultReferenceResource, + JwtClaimChecks, + Login, + LoginRoutes, + LoginScopes, ManagedServiceIdentity, ManagedServiceIdentityUserAssignedIdentitiesValue, MigrateMySqlRequest, @@ -120,6 +140,11 @@ export { NameValuePair, NetworkAccessControlEntry, NetworkFeatures, + Nonce, + OpenIdConnectClientCredential, + OpenIdConnectConfig, + OpenIdConnectLogin, + OpenIdConnectRegistration, PremierAddOn, PremierAddOnOffer, PremierAddOnPatchResource, @@ -152,11 +177,11 @@ export { RestoreRequest, Site, SiteAuthSettings, + SiteAuthSettingsV2, SiteConfig, SiteConfigResource, SiteConfigurationSnapshotInfo, SiteExtensionInfo, - SiteInstance, SiteLimits, SiteLogsConfig, SiteMachineKey, @@ -184,6 +209,8 @@ export { StaticSiteFunctionOverviewARMResource, StaticSitePatchResource, StaticSiteResetPropertiesARMResource, + StaticSitesWorkflowPreview, + StaticSitesWorkflowPreviewRequest, StaticSiteUserARMResource, StaticSiteUserInvitationRequestResource, StaticSiteUserInvitationResponseResource, @@ -192,10 +219,14 @@ export { StorageMigrationResponse, StringDictionary, SwiftVirtualNetwork, + SystemData, + TokenStore, TopLevelDomain, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, + Twitter, + TwitterRegistration, Usage, User, VirtualApplication, diff --git a/sdk/appservice/arm-appservice/src/models/resourceHealthMetadataOperationsMappers.ts b/sdk/appservice/arm-appservice/src/models/resourceHealthMetadataOperationsMappers.ts index e432f144f6fb..26109847abc7 100644 --- a/sdk/appservice/arm-appservice/src/models/resourceHealthMetadataOperationsMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/resourceHealthMetadataOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -10,14 +10,15 @@ export { AbnormalTimePeriod, Address, AddressResponse, + AllowedAudiencesValidation, AnalysisData, AnalysisDefinition, ApiDefinitionInfo, - ApiKVReference, ApiManagementConfig, ApplicationLogsConfig, ApplicationStack, ApplicationStackResource, + AppRegistration, AppServiceCertificate, AppServiceCertificateOrder, AppServiceCertificateOrderPatchResource, @@ -28,10 +29,15 @@ export { AppServicePlan, AppServicePlanPatchResource, ArmIdWrapper, + AuthPlatform, AutoHealActions, AutoHealCustomAction, AutoHealRules, AutoHealTriggers, + AzureActiveDirectory, + AzureActiveDirectoryLogin, + AzureActiveDirectoryRegistration, + AzureActiveDirectoryValidation, AzureBlobStorageApplicationLogsConfig, AzureBlobStorageHttpLogsConfig, AzureStorageInfoValue, @@ -42,12 +48,14 @@ export { BackupSchedule, BaseResource, BillingMeter, + BlobStorageTokenStore, Capability, Certificate, CertificateDetails, CertificateEmail, CertificateOrderAction, CertificatePatchResource, + ClientRegistration, CloningInfo, ConnectionStringDictionary, ConnStringInfo, @@ -60,10 +68,12 @@ export { ContainerNetworkInterfaceStatistics, ContainerThrottlingData, ContinuousWebJob, + CookieExpiration, CorsSettings, CsmPublishingCredentialsPoliciesCollection, CsmPublishingCredentialsPoliciesEntity, CustomHostnameAnalysisResult, + CustomOpenIdConnectProvider, DatabaseBackupSetting, DataSource, DataTableResponseColumn, @@ -91,24 +101,34 @@ export { EnabledConfig, ErrorEntity, Experiments, + Facebook, FileSystemApplicationLogsConfig, FileSystemHttpLogsConfig, + FileSystemTokenStore, + ForwardProxy, FunctionEnvelope, - FunctionSecrets, GeoRegion, + GitHub, + GlobalValidation, + Google, HandlerMapping, HostingEnvironmentProfile, HostName, HostNameBinding, HostNameSslState, HttpLogsConfig, + HttpSettings, + HttpSettingsRoutes, HybridConnection, HybridConnectionKey, HybridConnectionLimits, Identifier, + IdentityProviders, IpSecurityRestriction, - KeyVaultReferenceCollection, - KeyVaultReferenceResource, + JwtClaimChecks, + Login, + LoginRoutes, + LoginScopes, ManagedServiceIdentity, ManagedServiceIdentityUserAssignedIdentitiesValue, MigrateMySqlRequest, @@ -120,6 +140,11 @@ export { NameValuePair, NetworkAccessControlEntry, NetworkFeatures, + Nonce, + OpenIdConnectClientCredential, + OpenIdConnectConfig, + OpenIdConnectLogin, + OpenIdConnectRegistration, PremierAddOn, PremierAddOnOffer, PremierAddOnPatchResource, @@ -152,11 +177,11 @@ export { RestoreRequest, Site, SiteAuthSettings, + SiteAuthSettingsV2, SiteConfig, SiteConfigResource, SiteConfigurationSnapshotInfo, SiteExtensionInfo, - SiteInstance, SiteLimits, SiteLogsConfig, SiteMachineKey, @@ -184,6 +209,8 @@ export { StaticSiteFunctionOverviewARMResource, StaticSitePatchResource, StaticSiteResetPropertiesARMResource, + StaticSitesWorkflowPreview, + StaticSitesWorkflowPreviewRequest, StaticSiteUserARMResource, StaticSiteUserInvitationRequestResource, StaticSiteUserInvitationResponseResource, @@ -192,10 +219,14 @@ export { StorageMigrationResponse, StringDictionary, SwiftVirtualNetwork, + SystemData, + TokenStore, TopLevelDomain, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, + Twitter, + TwitterRegistration, Usage, User, VirtualApplication, diff --git a/sdk/appservice/arm-appservice/src/models/staticSitesMappers.ts b/sdk/appservice/arm-appservice/src/models/staticSitesMappers.ts index a7209aaad745..d8ee7ed2c8bf 100644 --- a/sdk/appservice/arm-appservice/src/models/staticSitesMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/staticSitesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -10,14 +10,15 @@ export { AbnormalTimePeriod, Address, AddressResponse, + AllowedAudiencesValidation, AnalysisData, AnalysisDefinition, ApiDefinitionInfo, - ApiKVReference, ApiManagementConfig, ApplicationLogsConfig, ApplicationStack, ApplicationStackResource, + AppRegistration, AppServiceCertificate, AppServiceCertificateOrder, AppServiceCertificateOrderPatchResource, @@ -28,10 +29,15 @@ export { AppServicePlan, AppServicePlanPatchResource, ArmIdWrapper, + AuthPlatform, AutoHealActions, AutoHealCustomAction, AutoHealRules, AutoHealTriggers, + AzureActiveDirectory, + AzureActiveDirectoryLogin, + AzureActiveDirectoryRegistration, + AzureActiveDirectoryValidation, AzureBlobStorageApplicationLogsConfig, AzureBlobStorageHttpLogsConfig, AzureStorageInfoValue, @@ -42,12 +48,14 @@ export { BackupSchedule, BaseResource, BillingMeter, + BlobStorageTokenStore, Capability, Certificate, CertificateDetails, CertificateEmail, CertificateOrderAction, CertificatePatchResource, + ClientRegistration, CloningInfo, ConnectionStringDictionary, ConnStringInfo, @@ -60,10 +68,12 @@ export { ContainerNetworkInterfaceStatistics, ContainerThrottlingData, ContinuousWebJob, + CookieExpiration, CorsSettings, CsmPublishingCredentialsPoliciesCollection, CsmPublishingCredentialsPoliciesEntity, CustomHostnameAnalysisResult, + CustomOpenIdConnectProvider, DatabaseBackupSetting, DataSource, DataTableResponseColumn, @@ -91,24 +101,34 @@ export { EnabledConfig, ErrorEntity, Experiments, + Facebook, FileSystemApplicationLogsConfig, FileSystemHttpLogsConfig, + FileSystemTokenStore, + ForwardProxy, FunctionEnvelope, - FunctionSecrets, GeoRegion, + GitHub, + GlobalValidation, + Google, HandlerMapping, HostingEnvironmentProfile, HostName, HostNameBinding, HostNameSslState, HttpLogsConfig, + HttpSettings, + HttpSettingsRoutes, HybridConnection, HybridConnectionKey, HybridConnectionLimits, Identifier, + IdentityProviders, IpSecurityRestriction, - KeyVaultReferenceCollection, - KeyVaultReferenceResource, + JwtClaimChecks, + Login, + LoginRoutes, + LoginScopes, ManagedServiceIdentity, ManagedServiceIdentityUserAssignedIdentitiesValue, MigrateMySqlRequest, @@ -120,6 +140,11 @@ export { NameValuePair, NetworkAccessControlEntry, NetworkFeatures, + Nonce, + OpenIdConnectClientCredential, + OpenIdConnectConfig, + OpenIdConnectLogin, + OpenIdConnectRegistration, PremierAddOn, PremierAddOnOffer, PremierAddOnPatchResource, @@ -151,11 +176,11 @@ export { RestoreRequest, Site, SiteAuthSettings, + SiteAuthSettingsV2, SiteConfig, SiteConfigResource, SiteConfigurationSnapshotInfo, SiteExtensionInfo, - SiteInstance, SiteLimits, SiteLogsConfig, SiteMachineKey, @@ -187,6 +212,8 @@ export { StaticSiteFunctionOverviewCollection, StaticSitePatchResource, StaticSiteResetPropertiesARMResource, + StaticSitesWorkflowPreview, + StaticSitesWorkflowPreviewRequest, StaticSiteUserARMResource, StaticSiteUserCollection, StaticSiteUserInvitationRequestResource, @@ -196,10 +223,14 @@ export { StorageMigrationResponse, StringDictionary, SwiftVirtualNetwork, + SystemData, + TokenStore, TopLevelDomain, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, + Twitter, + TwitterRegistration, Usage, User, VirtualApplication, diff --git a/sdk/appservice/arm-appservice/src/models/topLevelDomainsMappers.ts b/sdk/appservice/arm-appservice/src/models/topLevelDomainsMappers.ts index f86137d96dbf..ea9caca31cf8 100644 --- a/sdk/appservice/arm-appservice/src/models/topLevelDomainsMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/topLevelDomainsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -10,14 +10,15 @@ export { AbnormalTimePeriod, Address, AddressResponse, + AllowedAudiencesValidation, AnalysisData, AnalysisDefinition, ApiDefinitionInfo, - ApiKVReference, ApiManagementConfig, ApplicationLogsConfig, ApplicationStack, ApplicationStackResource, + AppRegistration, AppServiceCertificate, AppServiceCertificateOrder, AppServiceCertificateOrderPatchResource, @@ -28,10 +29,15 @@ export { AppServicePlan, AppServicePlanPatchResource, ArmIdWrapper, + AuthPlatform, AutoHealActions, AutoHealCustomAction, AutoHealRules, AutoHealTriggers, + AzureActiveDirectory, + AzureActiveDirectoryLogin, + AzureActiveDirectoryRegistration, + AzureActiveDirectoryValidation, AzureBlobStorageApplicationLogsConfig, AzureBlobStorageHttpLogsConfig, AzureStorageInfoValue, @@ -42,12 +48,14 @@ export { BackupSchedule, BaseResource, BillingMeter, + BlobStorageTokenStore, Capability, Certificate, CertificateDetails, CertificateEmail, CertificateOrderAction, CertificatePatchResource, + ClientRegistration, CloningInfo, ConnectionStringDictionary, ConnStringInfo, @@ -60,10 +68,12 @@ export { ContainerNetworkInterfaceStatistics, ContainerThrottlingData, ContinuousWebJob, + CookieExpiration, CorsSettings, CsmPublishingCredentialsPoliciesCollection, CsmPublishingCredentialsPoliciesEntity, CustomHostnameAnalysisResult, + CustomOpenIdConnectProvider, DatabaseBackupSetting, DataSource, DataTableResponseColumn, @@ -91,24 +101,34 @@ export { EnabledConfig, ErrorEntity, Experiments, + Facebook, FileSystemApplicationLogsConfig, FileSystemHttpLogsConfig, + FileSystemTokenStore, + ForwardProxy, FunctionEnvelope, - FunctionSecrets, GeoRegion, + GitHub, + GlobalValidation, + Google, HandlerMapping, HostingEnvironmentProfile, HostName, HostNameBinding, HostNameSslState, HttpLogsConfig, + HttpSettings, + HttpSettingsRoutes, HybridConnection, HybridConnectionKey, HybridConnectionLimits, Identifier, + IdentityProviders, IpSecurityRestriction, - KeyVaultReferenceCollection, - KeyVaultReferenceResource, + JwtClaimChecks, + Login, + LoginRoutes, + LoginScopes, ManagedServiceIdentity, ManagedServiceIdentityUserAssignedIdentitiesValue, MigrateMySqlRequest, @@ -120,6 +140,11 @@ export { NameValuePair, NetworkAccessControlEntry, NetworkFeatures, + Nonce, + OpenIdConnectClientCredential, + OpenIdConnectConfig, + OpenIdConnectLogin, + OpenIdConnectRegistration, PremierAddOn, PremierAddOnOffer, PremierAddOnPatchResource, @@ -151,11 +176,11 @@ export { RestoreRequest, Site, SiteAuthSettings, + SiteAuthSettingsV2, SiteConfig, SiteConfigResource, SiteConfigurationSnapshotInfo, SiteExtensionInfo, - SiteInstance, SiteLimits, SiteLogsConfig, SiteMachineKey, @@ -183,6 +208,8 @@ export { StaticSiteFunctionOverviewARMResource, StaticSitePatchResource, StaticSiteResetPropertiesARMResource, + StaticSitesWorkflowPreview, + StaticSitesWorkflowPreviewRequest, StaticSiteUserARMResource, StaticSiteUserInvitationRequestResource, StaticSiteUserInvitationResponseResource, @@ -191,14 +218,18 @@ export { StorageMigrationResponse, StringDictionary, SwiftVirtualNetwork, + SystemData, TldLegalAgreement, TldLegalAgreementCollection, + TokenStore, TopLevelDomain, TopLevelDomainAgreementOption, TopLevelDomainCollection, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, + Twitter, + TwitterRegistration, Usage, User, VirtualApplication, diff --git a/sdk/appservice/arm-appservice/src/models/webAppsMappers.ts b/sdk/appservice/arm-appservice/src/models/webAppsMappers.ts index c06a40a28eb0..ce183bc2e7bc 100644 --- a/sdk/appservice/arm-appservice/src/models/webAppsMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/webAppsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -10,14 +10,15 @@ export { AbnormalTimePeriod, Address, AddressResponse, + AllowedAudiencesValidation, AnalysisData, AnalysisDefinition, ApiDefinitionInfo, - ApiKVReference, ApiManagementConfig, ApplicationLogsConfig, ApplicationStack, ApplicationStackResource, + AppRegistration, AppServiceCertificate, AppServiceCertificateOrder, AppServiceCertificateOrderPatchResource, @@ -28,10 +29,15 @@ export { AppServicePlan, AppServicePlanPatchResource, ArmIdWrapper, + AuthPlatform, AutoHealActions, AutoHealCustomAction, AutoHealRules, AutoHealTriggers, + AzureActiveDirectory, + AzureActiveDirectoryLogin, + AzureActiveDirectoryRegistration, + AzureActiveDirectoryValidation, AzureBlobStorageApplicationLogsConfig, AzureBlobStorageHttpLogsConfig, AzureStorageInfoValue, @@ -43,12 +49,14 @@ export { BackupSchedule, BaseResource, BillingMeter, + BlobStorageTokenStore, Capability, Certificate, CertificateDetails, CertificateEmail, CertificateOrderAction, CertificatePatchResource, + ClientRegistration, CloningInfo, CloudError, ConnectionStringDictionary, @@ -63,6 +71,7 @@ export { ContainerThrottlingData, ContinuousWebJob, ContinuousWebJobCollection, + CookieExpiration, CorsSettings, CsmCopySlotEntity, CsmPublishingCredentialsPoliciesCollection, @@ -72,6 +81,7 @@ export { CsmUsageQuota, CsmUsageQuotaCollection, CustomHostnameAnalysisResult, + CustomOpenIdConnectProvider, DatabaseBackupSetting, DataSource, DataTableResponseColumn, @@ -100,12 +110,18 @@ export { EnabledConfig, ErrorEntity, Experiments, + Facebook, FileSystemApplicationLogsConfig, FileSystemHttpLogsConfig, + FileSystemTokenStore, + ForwardProxy, FunctionEnvelope, FunctionEnvelopeCollection, FunctionSecrets, GeoRegion, + GitHub, + GlobalValidation, + Google, HandlerMapping, HostingEnvironmentProfile, HostKeys, @@ -114,16 +130,21 @@ export { HostNameBindingCollection, HostNameSslState, HttpLogsConfig, + HttpSettings, + HttpSettingsRoutes, HybridConnection, HybridConnectionKey, HybridConnectionLimits, Identifier, IdentifierCollection, + IdentityProviders, IpSecurityRestriction, + JwtClaimChecks, KeyInfo, - KeyVaultReferenceCollection, - KeyVaultReferenceResource, LocalizableString, + Login, + LoginRoutes, + LoginScopes, ManagedServiceIdentity, ManagedServiceIdentityUserAssignedIdentitiesValue, MigrateMySqlRequest, @@ -136,6 +157,11 @@ export { NetworkAccessControlEntry, NetworkFeatures, NetworkTrace, + Nonce, + OpenIdConnectClientCredential, + OpenIdConnectConfig, + OpenIdConnectLogin, + OpenIdConnectRegistration, Operation, PerfMonCounterCollection, PerfMonResponse, @@ -179,6 +205,7 @@ export { RestoreRequest, Site, SiteAuthSettings, + SiteAuthSettingsV2, SiteCloneability, SiteCloneabilityCriterion, SiteConfig, @@ -188,7 +215,6 @@ export { SiteConfigurationSnapshotInfoCollection, SiteExtensionInfo, SiteExtensionInfoCollection, - SiteInstance, SiteLimits, SiteLogsConfig, SiteMachineKey, @@ -218,6 +244,8 @@ export { StaticSiteFunctionOverviewARMResource, StaticSitePatchResource, StaticSiteResetPropertiesARMResource, + StaticSitesWorkflowPreview, + StaticSitesWorkflowPreviewRequest, StaticSiteUserARMResource, StaticSiteUserInvitationRequestResource, StaticSiteUserInvitationResponseResource, @@ -226,12 +254,16 @@ export { StorageMigrationResponse, StringDictionary, SwiftVirtualNetwork, + SystemData, + TokenStore, TopLevelDomain, TriggeredJobHistory, TriggeredJobHistoryCollection, TriggeredJobRun, TriggeredWebJob, TriggeredWebJobCollection, + Twitter, + TwitterRegistration, Usage, User, VirtualApplication, @@ -245,7 +277,7 @@ export { VnetValidationFailureDetails, VnetValidationTestFailure, WebAppCollection, - WebAppInstanceCollection, + WebAppInstanceStatusCollection, WebJob, WebJobCollection, WebSiteInstanceStatus, diff --git a/sdk/appservice/arm-appservice/src/operations/appServiceCertificateOrders.ts b/sdk/appservice/arm-appservice/src/operations/appServiceCertificateOrders.ts index 9544dba615d9..0e17cf9ad7e6 100644 --- a/sdk/appservice/arm-appservice/src/operations/appServiceCertificateOrders.ts +++ b/sdk/appservice/arm-appservice/src/operations/appServiceCertificateOrders.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -1394,6 +1393,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1415,6 +1417,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1436,6 +1441,9 @@ const listCertificatesNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/appservice/arm-appservice/src/operations/appServiceEnvironments.ts b/sdk/appservice/arm-appservice/src/operations/appServiceEnvironments.ts index bf4038613e49..0b09008ac567 100644 --- a/sdk/appservice/arm-appservice/src/operations/appServiceEnvironments.ts +++ b/sdk/appservice/arm-appservice/src/operations/appServiceEnvironments.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -1623,7 +1622,7 @@ export class AppServiceEnvironments { * @param [options] The optional parameters * @returns Promise */ - listWebAppsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listWebAppsNext(nextPageLink: string, options?: Models.AppServiceEnvironmentsListWebAppsNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -1634,8 +1633,8 @@ export class AppServiceEnvironments { * @param options The optional parameters * @param callback The callback */ - listWebAppsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listWebAppsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listWebAppsNext(nextPageLink: string, options: Models.AppServiceEnvironmentsListWebAppsNextOptionalParams, callback: msRest.ServiceCallback): void; + listWebAppsNext(nextPageLink: string, options?: Models.AppServiceEnvironmentsListWebAppsNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1664,7 +1663,7 @@ export class AppServiceEnvironments { * @param [options] The optional parameters * @returns Promise */ - listUsagesNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listUsagesNext(nextPageLink: string, options?: Models.AppServiceEnvironmentsListUsagesNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -1675,8 +1674,8 @@ export class AppServiceEnvironments { * @param options The optional parameters * @param callback The callback */ - listUsagesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listUsagesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listUsagesNext(nextPageLink: string, options: Models.AppServiceEnvironmentsListUsagesNextOptionalParams, callback: msRest.ServiceCallback): void; + listUsagesNext(nextPageLink: string, options?: Models.AppServiceEnvironmentsListUsagesNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -2906,6 +2905,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -2927,6 +2929,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -2948,6 +2953,9 @@ const listCapacitiesNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -2969,6 +2977,9 @@ const getInboundNetworkDependenciesEndpointsNextOperationSpec: msRest.OperationS urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -2990,6 +3001,9 @@ const listMultiRolePoolsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -3011,6 +3025,9 @@ const listMultiRolePoolInstanceMetricDefinitionsNextOperationSpec: msRest.Operat urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -3032,6 +3049,9 @@ const listMultiRoleMetricDefinitionsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -3053,6 +3073,9 @@ const listMultiRolePoolSkusNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -3074,6 +3097,9 @@ const listMultiRoleUsagesNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -3095,6 +3121,9 @@ const getOutboundNetworkDependenciesEndpointsNextOperationSpec: msRest.Operation urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -3116,6 +3145,9 @@ const listAppServicePlansNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -3137,6 +3169,10 @@ const listWebAppsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.propertiesToInclude, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -3158,6 +3194,10 @@ const listUsagesNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -3179,6 +3219,9 @@ const listWorkerPoolsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -3200,6 +3243,9 @@ const listWorkerPoolInstanceMetricDefinitionsNextOperationSpec: msRest.Operation urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -3221,6 +3267,9 @@ const listWebWorkerMetricDefinitionsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -3242,6 +3291,9 @@ const listWorkerPoolSkusNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -3263,6 +3315,9 @@ const listWebWorkerUsagesNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -3284,6 +3339,9 @@ const beginChangeVnetNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -3308,6 +3366,9 @@ const beginResumeNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -3332,6 +3393,9 @@ const beginSuspendNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/appservice/arm-appservice/src/operations/appServicePlans.ts b/sdk/appservice/arm-appservice/src/operations/appServicePlans.ts index d03fe31b9e97..d0fcdadfddf1 100644 --- a/sdk/appservice/arm-appservice/src/operations/appServicePlans.ts +++ b/sdk/appservice/arm-appservice/src/operations/appServicePlans.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -1024,7 +1023,7 @@ export class AppServicePlans { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.AppServicePlansListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -1035,8 +1034,8 @@ export class AppServicePlans { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.AppServicePlansListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.AppServicePlansListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1140,7 +1139,7 @@ export class AppServicePlans { * @param [options] The optional parameters * @returns Promise */ - listWebAppsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listWebAppsNext(nextPageLink: string, options?: Models.AppServicePlansListWebAppsNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -1151,8 +1150,8 @@ export class AppServicePlans { * @param options The optional parameters * @param callback The callback */ - listWebAppsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listWebAppsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listWebAppsNext(nextPageLink: string, options: Models.AppServicePlansListWebAppsNextOptionalParams, callback: msRest.ServiceCallback): void; + listWebAppsNext(nextPageLink: string, options?: Models.AppServicePlansListWebAppsNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1169,7 +1168,7 @@ export class AppServicePlans { * @param [options] The optional parameters * @returns Promise */ - listUsagesNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listUsagesNext(nextPageLink: string, options?: Models.AppServicePlansListUsagesNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -1180,8 +1179,8 @@ export class AppServicePlans { * @param options The optional parameters * @param callback The callback */ - listUsagesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listUsagesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listUsagesNext(nextPageLink: string, options: Models.AppServicePlansListUsagesNextOptionalParams, callback: msRest.ServiceCallback): void; + listUsagesNext(nextPageLink: string, options?: Models.AppServicePlansListUsagesNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1992,6 +1991,10 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.detailed, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -2013,6 +2016,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -2034,6 +2040,9 @@ const listWebAppsByHybridConnectionNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -2055,6 +2064,9 @@ const listHybridConnectionsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -2076,6 +2088,12 @@ const listWebAppsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.skipToken, + Parameters.filter, + Parameters.top, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -2097,6 +2115,10 @@ const listUsagesNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/appservice/arm-appservice/src/operations/certificateRegistrationProvider.ts b/sdk/appservice/arm-appservice/src/operations/certificateRegistrationProvider.ts index 5e377c648586..3f0492db23e2 100644 --- a/sdk/appservice/arm-appservice/src/operations/certificateRegistrationProvider.ts +++ b/sdk/appservice/arm-appservice/src/operations/certificateRegistrationProvider.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -114,6 +113,9 @@ const listOperationsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/appservice/arm-appservice/src/operations/certificates.ts b/sdk/appservice/arm-appservice/src/operations/certificates.ts index 11711d1ccdb4..3cde31f5b0f0 100644 --- a/sdk/appservice/arm-appservice/src/operations/certificates.ts +++ b/sdk/appservice/arm-appservice/src/operations/certificates.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -448,6 +447,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -469,6 +471,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/appservice/arm-appservice/src/operations/deletedWebApps.ts b/sdk/appservice/arm-appservice/src/operations/deletedWebApps.ts index 7c017e4cf87c..cb1030bdd97d 100644 --- a/sdk/appservice/arm-appservice/src/operations/deletedWebApps.ts +++ b/sdk/appservice/arm-appservice/src/operations/deletedWebApps.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -253,6 +252,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -274,6 +276,9 @@ const listByLocationNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/appservice/arm-appservice/src/operations/diagnostics.ts b/sdk/appservice/arm-appservice/src/operations/diagnostics.ts index 9ad4f35ee00b..36817c95f3b8 100644 --- a/sdk/appservice/arm-appservice/src/operations/diagnostics.ts +++ b/sdk/appservice/arm-appservice/src/operations/diagnostics.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -1769,6 +1768,9 @@ const listHostingEnvironmentDetectorResponsesNextOperationSpec: msRest.Operation urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1790,6 +1792,9 @@ const listSiteDetectorResponsesNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1811,6 +1816,9 @@ const listSiteDiagnosticCategoriesNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1832,6 +1840,9 @@ const listSiteAnalysesNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1853,6 +1864,9 @@ const listSiteDetectorsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1874,6 +1888,9 @@ const listSiteDetectorResponsesSlotNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1895,6 +1912,9 @@ const listSiteDiagnosticCategoriesSlotNextOperationSpec: msRest.OperationSpec = urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1916,6 +1936,9 @@ const listSiteAnalysesSlotNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1937,6 +1960,9 @@ const listSiteDetectorsSlotNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/appservice/arm-appservice/src/operations/domainRegistrationProvider.ts b/sdk/appservice/arm-appservice/src/operations/domainRegistrationProvider.ts index a2fe2cd44239..662d6ca60f98 100644 --- a/sdk/appservice/arm-appservice/src/operations/domainRegistrationProvider.ts +++ b/sdk/appservice/arm-appservice/src/operations/domainRegistrationProvider.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -114,6 +113,9 @@ const listOperationsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/appservice/arm-appservice/src/operations/domains.ts b/sdk/appservice/arm-appservice/src/operations/domains.ts index f39efdd4650f..e84dcc88615c 100644 --- a/sdk/appservice/arm-appservice/src/operations/domains.ts +++ b/sdk/appservice/arm-appservice/src/operations/domains.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -1072,6 +1071,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1093,6 +1095,9 @@ const listRecommendationsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1114,6 +1119,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1135,6 +1143,9 @@ const listOwnershipIdentifiersNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/appservice/arm-appservice/src/operations/index.ts b/sdk/appservice/arm-appservice/src/operations/index.ts index efda01e0a582..6128362eb707 100644 --- a/sdk/appservice/arm-appservice/src/operations/index.ts +++ b/sdk/appservice/arm-appservice/src/operations/index.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/appservice/arm-appservice/src/operations/provider.ts b/sdk/appservice/arm-appservice/src/operations/provider.ts index a6908fdcedf5..4dbf9e22da9c 100644 --- a/sdk/appservice/arm-appservice/src/operations/provider.ts +++ b/sdk/appservice/arm-appservice/src/operations/provider.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -110,7 +109,7 @@ export class Provider { * @param [options] The optional parameters * @returns Promise */ - getAvailableStacksNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + getAvailableStacksNext(nextPageLink: string, options?: Models.ProviderGetAvailableStacksNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -121,8 +120,8 @@ export class Provider { * @param options The optional parameters * @param callback The callback */ - getAvailableStacksNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAvailableStacksNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + getAvailableStacksNext(nextPageLink: string, options: Models.ProviderGetAvailableStacksNextOptionalParams, callback: msRest.ServiceCallback): void; + getAvailableStacksNext(nextPageLink: string, options?: Models.ProviderGetAvailableStacksNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -170,7 +169,7 @@ export class Provider { * @param [options] The optional parameters * @returns Promise */ - getAvailableStacksOnPremNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + getAvailableStacksOnPremNext(nextPageLink: string, options?: Models.ProviderGetAvailableStacksOnPremNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -181,8 +180,8 @@ export class Provider { * @param options The optional parameters * @param callback The callback */ - getAvailableStacksOnPremNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAvailableStacksOnPremNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + getAvailableStacksOnPremNext(nextPageLink: string, options: Models.ProviderGetAvailableStacksOnPremNextOptionalParams, callback: msRest.ServiceCallback): void; + getAvailableStacksOnPremNext(nextPageLink: string, options?: Models.ProviderGetAvailableStacksOnPremNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -267,6 +266,10 @@ const getAvailableStacksNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.osTypeSelected, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -288,6 +291,9 @@ const listOperationsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -309,6 +315,10 @@ const getAvailableStacksOnPremNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.osTypeSelected, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/appservice/arm-appservice/src/operations/recommendations.ts b/sdk/appservice/arm-appservice/src/operations/recommendations.ts index e91ea6f09d17..2fc29e719ed9 100644 --- a/sdk/appservice/arm-appservice/src/operations/recommendations.ts +++ b/sdk/appservice/arm-appservice/src/operations/recommendations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -140,8 +139,8 @@ export class Recommendations { } /** - * Description for Get all recommendations for an app. - * @summary Get all recommendations for an app. + * Description for Get all recommendations for a hosting environment. + * @summary Get all recommendations for a hosting environment. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param hostingEnvironmentName Name of the app. * @param [options] The optional parameters @@ -537,7 +536,7 @@ export class Recommendations { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.RecommendationsListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -548,8 +547,8 @@ export class Recommendations { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.RecommendationsListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.RecommendationsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -566,7 +565,7 @@ export class Recommendations { * @param [options] The optional parameters * @returns Promise */ - listHistoryForHostingEnvironmentNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listHistoryForHostingEnvironmentNext(nextPageLink: string, options?: Models.RecommendationsListHistoryForHostingEnvironmentNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -577,8 +576,8 @@ export class Recommendations { * @param options The optional parameters * @param callback The callback */ - listHistoryForHostingEnvironmentNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listHistoryForHostingEnvironmentNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listHistoryForHostingEnvironmentNext(nextPageLink: string, options: Models.RecommendationsListHistoryForHostingEnvironmentNextOptionalParams, callback: msRest.ServiceCallback): void; + listHistoryForHostingEnvironmentNext(nextPageLink: string, options?: Models.RecommendationsListHistoryForHostingEnvironmentNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -589,13 +588,13 @@ export class Recommendations { } /** - * Description for Get all recommendations for an app. - * @summary Get all recommendations for an app. + * Description for Get all recommendations for a hosting environment. + * @summary Get all recommendations for a hosting environment. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters * @returns Promise */ - listRecommendedRulesForHostingEnvironmentNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listRecommendedRulesForHostingEnvironmentNext(nextPageLink: string, options?: Models.RecommendationsListRecommendedRulesForHostingEnvironmentNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -606,8 +605,8 @@ export class Recommendations { * @param options The optional parameters * @param callback The callback */ - listRecommendedRulesForHostingEnvironmentNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listRecommendedRulesForHostingEnvironmentNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listRecommendedRulesForHostingEnvironmentNext(nextPageLink: string, options: Models.RecommendationsListRecommendedRulesForHostingEnvironmentNextOptionalParams, callback: msRest.ServiceCallback): void; + listRecommendedRulesForHostingEnvironmentNext(nextPageLink: string, options?: Models.RecommendationsListRecommendedRulesForHostingEnvironmentNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -624,7 +623,7 @@ export class Recommendations { * @param [options] The optional parameters * @returns Promise */ - listHistoryForWebAppNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listHistoryForWebAppNext(nextPageLink: string, options?: Models.RecommendationsListHistoryForWebAppNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -635,8 +634,8 @@ export class Recommendations { * @param options The optional parameters * @param callback The callback */ - listHistoryForWebAppNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listHistoryForWebAppNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listHistoryForWebAppNext(nextPageLink: string, options: Models.RecommendationsListHistoryForWebAppNextOptionalParams, callback: msRest.ServiceCallback): void; + listHistoryForWebAppNext(nextPageLink: string, options?: Models.RecommendationsListHistoryForWebAppNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -653,7 +652,7 @@ export class Recommendations { * @param [options] The optional parameters * @returns Promise */ - listRecommendedRulesForWebAppNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listRecommendedRulesForWebAppNext(nextPageLink: string, options?: Models.RecommendationsListRecommendedRulesForWebAppNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -664,8 +663,8 @@ export class Recommendations { * @param options The optional parameters * @param callback The callback */ - listRecommendedRulesForWebAppNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listRecommendedRulesForWebAppNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listRecommendedRulesForWebAppNext(nextPageLink: string, options: Models.RecommendationsListRecommendedRulesForWebAppNextOptionalParams, callback: msRest.ServiceCallback): void; + listRecommendedRulesForWebAppNext(nextPageLink: string, options?: Models.RecommendationsListRecommendedRulesForWebAppNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1060,6 +1059,11 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.featured, + Parameters.filter, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1081,6 +1085,11 @@ const listHistoryForHostingEnvironmentNextOperationSpec: msRest.OperationSpec = urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expiredOnly, + Parameters.filter, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1102,6 +1111,11 @@ const listRecommendedRulesForHostingEnvironmentNextOperationSpec: msRest.Operati urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.featured, + Parameters.filter, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1123,6 +1137,11 @@ const listHistoryForWebAppNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expiredOnly, + Parameters.filter, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1144,6 +1163,11 @@ const listRecommendedRulesForWebAppNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.featured, + Parameters.filter, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/appservice/arm-appservice/src/operations/resourceHealthMetadataOperations.ts b/sdk/appservice/arm-appservice/src/operations/resourceHealthMetadataOperations.ts index df81c2786c1b..cdeed1d23ead 100644 --- a/sdk/appservice/arm-appservice/src/operations/resourceHealthMetadataOperations.ts +++ b/sdk/appservice/arm-appservice/src/operations/resourceHealthMetadataOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -503,6 +502,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -524,6 +526,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -545,6 +550,9 @@ const listBySiteNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -566,6 +574,9 @@ const listBySiteSlotNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/appservice/arm-appservice/src/operations/staticSites.ts b/sdk/appservice/arm-appservice/src/operations/staticSites.ts index 326269cec84b..e6cf14bce7ec 100644 --- a/sdk/appservice/arm-appservice/src/operations/staticSites.ts +++ b/sdk/appservice/arm-appservice/src/operations/staticSites.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -26,6 +25,42 @@ export class StaticSites { this.client = client; } + /** + * Description for Generates a preview workflow file for the static site + * @summary Generates a preview workflow file for the static site + * @param location Location where you plan to create the static site. + * @param staticSitesWorkflowPreviewRequest A JSON representation of the + * StaticSitesWorkflowPreviewRequest properties. See example. + * @param [options] The optional parameters + * @returns Promise + */ + previewWorkflow(location: string, staticSitesWorkflowPreviewRequest: Models.StaticSitesWorkflowPreviewRequest, options?: msRest.RequestOptionsBase): Promise; + /** + * @param location Location where you plan to create the static site. + * @param staticSitesWorkflowPreviewRequest A JSON representation of the + * StaticSitesWorkflowPreviewRequest properties. See example. + * @param callback The callback + */ + previewWorkflow(location: string, staticSitesWorkflowPreviewRequest: Models.StaticSitesWorkflowPreviewRequest, callback: msRest.ServiceCallback): void; + /** + * @param location Location where you plan to create the static site. + * @param staticSitesWorkflowPreviewRequest A JSON representation of the + * StaticSitesWorkflowPreviewRequest properties. See example. + * @param options The optional parameters + * @param callback The callback + */ + previewWorkflow(location: string, staticSitesWorkflowPreviewRequest: Models.StaticSitesWorkflowPreviewRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + previewWorkflow(location: string, staticSitesWorkflowPreviewRequest: Models.StaticSitesWorkflowPreviewRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + location, + staticSitesWorkflowPreviewRequest, + options + }, + previewWorkflowOperationSpec, + callback) as Promise; + } + /** * Description for Get all Static Sites for a subscription. * @summary Get all Static Sites for a subscription. @@ -1166,6 +1201,37 @@ export class StaticSites { // Operation Specifications const serializer = new msRest.Serializer(Mappers); +const previewWorkflowOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/previewStaticSiteWorkflowFile", + urlParameters: [ + Parameters.location, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "staticSitesWorkflowPreviewRequest", + mapper: { + ...Mappers.StaticSitesWorkflowPreviewRequest, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.StaticSitesWorkflowPreview + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/providers/Microsoft.Web/staticSites", @@ -1894,6 +1960,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1915,6 +1984,9 @@ const getStaticSitesByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1936,6 +2008,9 @@ const listStaticSiteUsersNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1957,6 +2032,9 @@ const getStaticSiteBuildsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1978,6 +2056,9 @@ const listStaticSiteBuildFunctionsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1999,6 +2080,9 @@ const listStaticSiteCustomDomainsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -2020,6 +2104,9 @@ const listStaticSiteFunctionsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/appservice/arm-appservice/src/operations/topLevelDomains.ts b/sdk/appservice/arm-appservice/src/operations/topLevelDomains.ts index f63e5b342057..24da086810c2 100644 --- a/sdk/appservice/arm-appservice/src/operations/topLevelDomains.ts +++ b/sdk/appservice/arm-appservice/src/operations/topLevelDomains.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -259,6 +258,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -280,6 +282,9 @@ const listAgreementsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/appservice/arm-appservice/src/operations/webApps.ts b/sdk/appservice/arm-appservice/src/operations/webApps.ts index 7af32d5f30e3..a04831a998e1 100644 --- a/sdk/appservice/arm-appservice/src/operations/webApps.ts +++ b/sdk/appservice/arm-appservice/src/operations/webApps.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -830,6 +829,77 @@ export class WebApps { callback) as Promise; } + /** + * Description for Updates site's Authentication / Authorization settings for apps via the V2 + * format + * @summary Updates site's Authentication / Authorization settings for apps via the V2 format + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of web app. + * @param siteAuthSettingsV2 Auth settings associated with web app. + * @param [options] The optional parameters + * @returns Promise + */ + updateAuthSettingsV2(resourceGroupName: string, name: string, siteAuthSettingsV2: Models.SiteAuthSettingsV2, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of web app. + * @param siteAuthSettingsV2 Auth settings associated with web app. + * @param callback The callback + */ + updateAuthSettingsV2(resourceGroupName: string, name: string, siteAuthSettingsV2: Models.SiteAuthSettingsV2, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of web app. + * @param siteAuthSettingsV2 Auth settings associated with web app. + * @param options The optional parameters + * @param callback The callback + */ + updateAuthSettingsV2(resourceGroupName: string, name: string, siteAuthSettingsV2: Models.SiteAuthSettingsV2, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + updateAuthSettingsV2(resourceGroupName: string, name: string, siteAuthSettingsV2: Models.SiteAuthSettingsV2, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + siteAuthSettingsV2, + options + }, + updateAuthSettingsV2OperationSpec, + callback) as Promise; + } + + /** + * Description for Gets site's Authentication / Authorization settings for apps via the V2 format + * @summary Gets site's Authentication / Authorization settings for apps via the V2 format + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param [options] The optional parameters + * @returns Promise + */ + getAuthSettingsV2(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param callback The callback + */ + getAuthSettingsV2(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param options The optional parameters + * @param callback The callback + */ + getAuthSettingsV2(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getAuthSettingsV2(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + options + }, + getAuthSettingsV2OperationSpec, + callback) as Promise; + } + /** * Description for Updates the Azure storage account configurations of an app. * @summary Updates the Azure storage account configurations of an app. @@ -1003,76 +1073,6 @@ export class WebApps { callback) as Promise; } - /** - * Description for Gets the config reference app settings and status of an app - * @summary Gets the config reference app settings and status of an app - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param [options] The optional parameters - * @returns Promise - */ - getAppSettingsKeyVaultReferences(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param callback The callback - */ - getAppSettingsKeyVaultReferences(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param options The optional parameters - * @param callback The callback - */ - getAppSettingsKeyVaultReferences(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAppSettingsKeyVaultReferences(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - options - }, - getAppSettingsKeyVaultReferencesOperationSpec, - callback) as Promise; - } - - /** - * Description for Gets the config reference and status of an app - * @summary Gets the config reference and status of an app - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param appSettingKey App Setting key name. - * @param [options] The optional parameters - * @returns Promise - */ - getAppSettingKeyVaultReference(resourceGroupName: string, name: string, appSettingKey: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param appSettingKey App Setting key name. - * @param callback The callback - */ - getAppSettingKeyVaultReference(resourceGroupName: string, name: string, appSettingKey: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param appSettingKey App Setting key name. - * @param options The optional parameters - * @param callback The callback - */ - getAppSettingKeyVaultReference(resourceGroupName: string, name: string, appSettingKey: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAppSettingKeyVaultReference(resourceGroupName: string, name: string, appSettingKey: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - appSettingKey, - options - }, - getAppSettingKeyVaultReferenceOperationSpec, - callback) as Promise; - } - /** * Description for Replaces the connection strings of an app. * @summary Replaces the connection strings of an app. @@ -3475,15 +3475,15 @@ export class WebApps { * @param name Name of the app. * @param callback The callback */ - listInstanceIdentifiers(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void; + listInstanceIdentifiers(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. * @param options The optional parameters * @param callback The callback */ - listInstanceIdentifiers(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listInstanceIdentifiers(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listInstanceIdentifiers(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listInstanceIdentifiers(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -6304,6 +6304,88 @@ export class WebApps { callback) as Promise; } + /** + * Description for Updates site's Authentication / Authorization settings for apps via the V2 + * format + * @summary Updates site's Authentication / Authorization settings for apps via the V2 format + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of web app. + * @param siteAuthSettingsV2 Auth settings associated with web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param [options] The optional parameters + * @returns Promise + */ + updateAuthSettingsV2Slot(resourceGroupName: string, name: string, siteAuthSettingsV2: Models.SiteAuthSettingsV2, slot: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of web app. + * @param siteAuthSettingsV2 Auth settings associated with web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param callback The callback + */ + updateAuthSettingsV2Slot(resourceGroupName: string, name: string, siteAuthSettingsV2: Models.SiteAuthSettingsV2, slot: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of web app. + * @param siteAuthSettingsV2 Auth settings associated with web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param options The optional parameters + * @param callback The callback + */ + updateAuthSettingsV2Slot(resourceGroupName: string, name: string, siteAuthSettingsV2: Models.SiteAuthSettingsV2, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + updateAuthSettingsV2Slot(resourceGroupName: string, name: string, siteAuthSettingsV2: Models.SiteAuthSettingsV2, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + siteAuthSettingsV2, + slot, + options + }, + updateAuthSettingsV2SlotOperationSpec, + callback) as Promise; + } + + /** + * Description for Gets site's Authentication / Authorization settings for apps via the V2 format + * @summary Gets site's Authentication / Authorization settings for apps via the V2 format + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get the + * settings for the production slot. + * @param [options] The optional parameters + * @returns Promise + */ + getAuthSettingsV2Slot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get the + * settings for the production slot. + * @param callback The callback + */ + getAuthSettingsV2Slot(resourceGroupName: string, name: string, slot: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get the + * settings for the production slot. + * @param options The optional parameters + * @param callback The callback + */ + getAuthSettingsV2Slot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getAuthSettingsV2Slot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + slot, + options + }, + getAuthSettingsV2SlotOperationSpec, + callback) as Promise; + } + /** * Description for Updates the Azure storage account configurations of an app. * @summary Updates the Azure storage account configurations of an app. @@ -9203,7 +9285,7 @@ export class WebApps { * slot instances. * @param callback The callback */ - listInstanceIdentifiersSlot(resourceGroupName: string, name: string, slot: string, callback: msRest.ServiceCallback): void; + listInstanceIdentifiersSlot(resourceGroupName: string, name: string, slot: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -9212,8 +9294,8 @@ export class WebApps { * @param options The optional parameters * @param callback The callback */ - listInstanceIdentifiersSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listInstanceIdentifiersSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listInstanceIdentifiersSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listInstanceIdentifiersSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -14854,7 +14936,7 @@ export class WebApps { * @param [options] The optional parameters * @returns Promise */ - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByResourceGroupNext(nextPageLink: string, options?: Models.WebAppsListByResourceGroupNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -14865,8 +14947,8 @@ export class WebApps { * @param options The optional parameters * @param callback The callback */ - listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options: Models.WebAppsListByResourceGroupNextOptionalParams, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: Models.WebAppsListByResourceGroupNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -15122,14 +15204,14 @@ export class WebApps { * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback */ - listInstanceIdentifiersNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + listInstanceIdentifiersNext(nextPageLink: string, callback: msRest.ServiceCallback): void; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param options The optional parameters * @param callback The callback */ - listInstanceIdentifiersNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listInstanceIdentifiersNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listInstanceIdentifiersNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listInstanceIdentifiersNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -15268,7 +15350,7 @@ export class WebApps { * @param [options] The optional parameters * @returns Promise */ - listPerfMonCountersNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listPerfMonCountersNext(nextPageLink: string, options?: Models.WebAppsListPerfMonCountersNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -15279,8 +15361,8 @@ export class WebApps { * @param options The optional parameters * @param callback The callback */ - listPerfMonCountersNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listPerfMonCountersNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listPerfMonCountersNext(nextPageLink: string, options: Models.WebAppsListPerfMonCountersNextOptionalParams, callback: msRest.ServiceCallback): void; + listPerfMonCountersNext(nextPageLink: string, options?: Models.WebAppsListPerfMonCountersNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -15716,14 +15798,14 @@ export class WebApps { * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback */ - listInstanceIdentifiersSlotNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + listInstanceIdentifiersSlotNext(nextPageLink: string, callback: msRest.ServiceCallback): void; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param options The optional parameters * @param callback The callback */ - listInstanceIdentifiersSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listInstanceIdentifiersSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listInstanceIdentifiersSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listInstanceIdentifiersSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -15862,7 +15944,7 @@ export class WebApps { * @param [options] The optional parameters * @returns Promise */ - listPerfMonCountersSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listPerfMonCountersSlotNext(nextPageLink: string, options?: Models.WebAppsListPerfMonCountersSlotNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -15873,8 +15955,8 @@ export class WebApps { * @param options The optional parameters * @param callback The callback */ - listPerfMonCountersSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listPerfMonCountersSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listPerfMonCountersSlotNext(nextPageLink: string, options: Models.WebAppsListPerfMonCountersSlotNextOptionalParams, callback: msRest.ServiceCallback): void; + listPerfMonCountersSlotNext(nextPageLink: string, options?: Models.WebAppsListPerfMonCountersSlotNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -16187,7 +16269,7 @@ export class WebApps { * @param [options] The optional parameters * @returns Promise */ - listUsagesSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listUsagesSlotNext(nextPageLink: string, options?: Models.WebAppsListUsagesSlotNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -16198,8 +16280,8 @@ export class WebApps { * @param options The optional parameters * @param callback The callback */ - listUsagesSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listUsagesSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listUsagesSlotNext(nextPageLink: string, options: Models.WebAppsListUsagesSlotNextOptionalParams, callback: msRest.ServiceCallback): void; + listUsagesSlotNext(nextPageLink: string, options?: Models.WebAppsListUsagesSlotNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -16390,7 +16472,7 @@ export class WebApps { * @param [options] The optional parameters * @returns Promise */ - listUsagesNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listUsagesNext(nextPageLink: string, options?: Models.WebAppsListUsagesNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -16401,8 +16483,8 @@ export class WebApps { * @param options The optional parameters * @param callback The callback */ - listUsagesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listUsagesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listUsagesNext(nextPageLink: string, options: Models.WebAppsListUsagesNextOptionalParams, callback: msRest.ServiceCallback): void; + listUsagesNext(nextPageLink: string, options?: Models.WebAppsListUsagesNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -17055,9 +17137,9 @@ const getAuthSettingsOperationSpec: msRest.OperationSpec = { serializer }; -const updateAzureStorageAccountsOperationSpec: msRest.OperationSpec = { +const updateAuthSettingsV2OperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/azurestorageaccounts", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettingsV2", urlParameters: [ Parameters.resourceGroupName, Parameters.name, @@ -17070,15 +17152,15 @@ const updateAzureStorageAccountsOperationSpec: msRest.OperationSpec = { Parameters.acceptLanguage ], requestBody: { - parameterPath: "azureStorageAccounts", + parameterPath: "siteAuthSettingsV2", mapper: { - ...Mappers.AzureStoragePropertyDictionaryResource, + ...Mappers.SiteAuthSettingsV2, required: true } }, responses: { 200: { - bodyMapper: Mappers.AzureStoragePropertyDictionaryResource + bodyMapper: Mappers.SiteAuthSettingsV2 }, default: { bodyMapper: Mappers.DefaultErrorResponse @@ -17087,9 +17169,9 @@ const updateAzureStorageAccountsOperationSpec: msRest.OperationSpec = { serializer }; -const listAzureStorageAccountsOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/azurestorageaccounts/list", +const getAuthSettingsV2OperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettingsV2/list", urlParameters: [ Parameters.resourceGroupName, Parameters.name, @@ -17103,7 +17185,7 @@ const listAzureStorageAccountsOperationSpec: msRest.OperationSpec = { ], responses: { 200: { - bodyMapper: Mappers.AzureStoragePropertyDictionaryResource + bodyMapper: Mappers.SiteAuthSettingsV2 }, default: { bodyMapper: Mappers.DefaultErrorResponse @@ -17112,9 +17194,9 @@ const listAzureStorageAccountsOperationSpec: msRest.OperationSpec = { serializer }; -const updateBackupConfigurationOperationSpec: msRest.OperationSpec = { +const updateAzureStorageAccountsOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/backup", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/azurestorageaccounts", urlParameters: [ Parameters.resourceGroupName, Parameters.name, @@ -17127,15 +17209,15 @@ const updateBackupConfigurationOperationSpec: msRest.OperationSpec = { Parameters.acceptLanguage ], requestBody: { - parameterPath: "request", + parameterPath: "azureStorageAccounts", mapper: { - ...Mappers.BackupRequest, + ...Mappers.AzureStoragePropertyDictionaryResource, required: true } }, responses: { 200: { - bodyMapper: Mappers.BackupRequest + bodyMapper: Mappers.AzureStoragePropertyDictionaryResource }, default: { bodyMapper: Mappers.DefaultErrorResponse @@ -17144,9 +17226,9 @@ const updateBackupConfigurationOperationSpec: msRest.OperationSpec = { serializer }; -const deleteBackupConfigurationOperationSpec: msRest.OperationSpec = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/backup", +const listAzureStorageAccountsOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/azurestorageaccounts/list", urlParameters: [ Parameters.resourceGroupName, Parameters.name, @@ -17159,7 +17241,9 @@ const deleteBackupConfigurationOperationSpec: msRest.OperationSpec = { Parameters.acceptLanguage ], responses: { - 200: {}, + 200: { + bodyMapper: Mappers.AzureStoragePropertyDictionaryResource + }, default: { bodyMapper: Mappers.DefaultErrorResponse } @@ -17167,9 +17251,9 @@ const deleteBackupConfigurationOperationSpec: msRest.OperationSpec = { serializer }; -const getBackupConfigurationOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/backup/list", +const updateBackupConfigurationOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/backup", urlParameters: [ Parameters.resourceGroupName, Parameters.name, @@ -17181,6 +17265,13 @@ const getBackupConfigurationOperationSpec: msRest.OperationSpec = { headerParameters: [ Parameters.acceptLanguage ], + requestBody: { + parameterPath: "request", + mapper: { + ...Mappers.BackupRequest, + required: true + } + }, responses: { 200: { bodyMapper: Mappers.BackupRequest @@ -17192,9 +17283,9 @@ const getBackupConfigurationOperationSpec: msRest.OperationSpec = { serializer }; -const getAppSettingsKeyVaultReferencesOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/appsettings", +const deleteBackupConfigurationOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/backup", urlParameters: [ Parameters.resourceGroupName, Parameters.name, @@ -17207,9 +17298,7 @@ const getAppSettingsKeyVaultReferencesOperationSpec: msRest.OperationSpec = { Parameters.acceptLanguage ], responses: { - 200: { - bodyMapper: Mappers.KeyVaultReferenceCollection - }, + 200: {}, default: { bodyMapper: Mappers.DefaultErrorResponse } @@ -17217,13 +17306,12 @@ const getAppSettingsKeyVaultReferencesOperationSpec: msRest.OperationSpec = { serializer }; -const getAppSettingKeyVaultReferenceOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/appsettings/{appSettingKey}", +const getBackupConfigurationOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/backup/list", urlParameters: [ Parameters.resourceGroupName, Parameters.name, - Parameters.appSettingKey, Parameters.subscriptionId ], queryParameters: [ @@ -17234,7 +17322,7 @@ const getAppSettingKeyVaultReferenceOperationSpec: msRest.OperationSpec = { ], responses: { 200: { - bodyMapper: Mappers.KeyVaultReferenceResource + bodyMapper: Mappers.BackupRequest }, default: { bodyMapper: Mappers.DefaultErrorResponse @@ -19011,7 +19099,7 @@ const listInstanceIdentifiersOperationSpec: msRest.OperationSpec = { ], responses: { 200: { - bodyMapper: Mappers.WebAppInstanceCollection + bodyMapper: Mappers.WebAppInstanceStatusCollection }, default: { bodyMapper: Mappers.DefaultErrorResponse @@ -20972,6 +21060,65 @@ const getAuthSettingsSlotOperationSpec: msRest.OperationSpec = { serializer }; +const updateAuthSettingsV2SlotOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettingsV2", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "siteAuthSettingsV2", + mapper: { + ...Mappers.SiteAuthSettingsV2, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.SiteAuthSettingsV2 + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const getAuthSettingsV2SlotOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettingsV2/list", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SiteAuthSettingsV2 + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + const updateAzureStorageAccountsSlotOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/azurestorageaccounts", @@ -22887,7 +23034,7 @@ const listInstanceIdentifiersSlotOperationSpec: msRest.OperationSpec = { ], responses: { 200: { - bodyMapper: Mappers.WebAppInstanceCollection + bodyMapper: Mappers.WebAppInstanceStatusCollection }, default: { bodyMapper: Mappers.DefaultErrorResponse @@ -27277,6 +27424,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -27298,6 +27448,10 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.includeSlots, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -27319,6 +27473,9 @@ const listBackupsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -27340,6 +27497,9 @@ const listConfigurationsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -27361,6 +27521,9 @@ const listConfigurationSnapshotInfoNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -27382,6 +27545,9 @@ const listContinuousWebJobsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -27403,6 +27569,9 @@ const listDeploymentsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -27424,6 +27593,9 @@ const listDomainOwnershipIdentifiersNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -27445,6 +27617,9 @@ const listFunctionsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -27467,6 +27642,9 @@ const listHostNameBindingsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -27488,12 +27666,15 @@ const listInstanceIdentifiersNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], responses: { 200: { - bodyMapper: Mappers.WebAppInstanceCollection + bodyMapper: Mappers.WebAppInstanceStatusCollection }, default: { bodyMapper: Mappers.DefaultErrorResponse @@ -27509,6 +27690,9 @@ const listInstanceProcessesNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -27531,6 +27715,9 @@ const listInstanceProcessModulesNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -27553,6 +27740,9 @@ const listInstanceProcessThreadsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -27575,6 +27765,9 @@ const listSiteBackupsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -27596,6 +27789,10 @@ const listPerfMonCountersNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -27617,6 +27814,9 @@ const listProcessesNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -27639,6 +27839,9 @@ const listProcessModulesNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -27661,6 +27864,9 @@ const listProcessThreadsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -27683,6 +27889,9 @@ const listPublicCertificatesNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -27704,6 +27913,9 @@ const listSiteExtensionsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -27726,6 +27938,9 @@ const listSlotsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -27747,6 +27962,9 @@ const listBackupsSlotNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -27768,6 +27986,9 @@ const listConfigurationsSlotNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -27789,6 +28010,9 @@ const listConfigurationSnapshotInfoSlotNextOperationSpec: msRest.OperationSpec = urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -27810,6 +28034,9 @@ const listContinuousWebJobsSlotNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -27831,6 +28058,9 @@ const listDeploymentsSlotNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -27852,6 +28082,9 @@ const listDomainOwnershipIdentifiersSlotNextOperationSpec: msRest.OperationSpec urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -27873,6 +28106,9 @@ const listInstanceFunctionsSlotNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -27895,6 +28131,9 @@ const listHostNameBindingsSlotNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -27916,12 +28155,15 @@ const listInstanceIdentifiersSlotNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], responses: { 200: { - bodyMapper: Mappers.WebAppInstanceCollection + bodyMapper: Mappers.WebAppInstanceStatusCollection }, default: { bodyMapper: Mappers.DefaultErrorResponse @@ -27937,6 +28179,9 @@ const listInstanceProcessesSlotNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -27959,6 +28204,9 @@ const listInstanceProcessModulesSlotNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -27981,6 +28229,9 @@ const listInstanceProcessThreadsSlotNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -28003,6 +28254,9 @@ const listSiteBackupsSlotNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -28024,6 +28278,10 @@ const listPerfMonCountersSlotNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -28045,6 +28303,9 @@ const listProcessesSlotNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -28067,6 +28328,9 @@ const listProcessModulesSlotNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -28089,6 +28353,9 @@ const listProcessThreadsSlotNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -28111,6 +28378,9 @@ const listPublicCertificatesSlotNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -28132,6 +28402,9 @@ const listSiteExtensionsSlotNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -28154,6 +28427,9 @@ const listSlotDifferencesSlotNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -28175,6 +28451,9 @@ const listSnapshotsSlotNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -28196,6 +28475,9 @@ const listSnapshotsFromDRSecondarySlotNextOperationSpec: msRest.OperationSpec = urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -28217,6 +28499,9 @@ const listTriggeredWebJobsSlotNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -28238,6 +28523,9 @@ const listTriggeredWebJobHistorySlotNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -28260,6 +28548,10 @@ const listUsagesSlotNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -28281,6 +28573,9 @@ const listWebJobsSlotNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -28302,6 +28597,9 @@ const listSlotDifferencesFromProductionNextOperationSpec: msRest.OperationSpec = urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -28323,6 +28621,9 @@ const listSnapshotsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -28344,6 +28645,9 @@ const listSnapshotsFromDRSecondaryNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -28365,6 +28669,9 @@ const listTriggeredWebJobsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -28386,6 +28693,9 @@ const listTriggeredWebJobHistoryNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -28408,6 +28718,10 @@ const listUsagesNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -28429,6 +28743,9 @@ const listWebJobsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/appservice/arm-appservice/src/webSiteManagementClient.ts b/sdk/appservice/arm-appservice/src/webSiteManagementClient.ts index b5f554afa2fc..23b683e46948 100644 --- a/sdk/appservice/arm-appservice/src/webSiteManagementClient.ts +++ b/sdk/appservice/arm-appservice/src/webSiteManagementClient.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -60,6 +59,39 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { this.resourceHealthMetadata = new operations.ResourceHealthMetadataOperations(this); } + /** + * Description for Exchange code for GitHub access token for AppService CLI + * @summary Exchange code for GitHub access token for AppService CLI + * @param code Code string to exchange for Github Access token + * @param state State string used for verification. + * @param [options] The optional parameters + * @returns Promise + */ + generateGithubAccessTokenForAppserviceCLIAsync(code: string, state: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param code Code string to exchange for Github Access token + * @param state State string used for verification. + * @param callback The callback + */ + generateGithubAccessTokenForAppserviceCLIAsync(code: string, state: string, callback: msRest.ServiceCallback): void; + /** + * @param code Code string to exchange for Github Access token + * @param state State string used for verification. + * @param options The optional parameters + * @param callback The callback + */ + generateGithubAccessTokenForAppserviceCLIAsync(code: string, state: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + generateGithubAccessTokenForAppserviceCLIAsync(code: string, state: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.sendOperationRequest( + { + code, + state, + options + }, + generateGithubAccessTokenForAppserviceCLIAsyncOperationSpec, + callback) as Promise; + } + /** * Description for Gets publishing user * @summary Gets publishing user @@ -556,7 +588,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { * @param [options] The optional parameters * @returns Promise */ - listBillingMetersNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listBillingMetersNext(nextPageLink: string, options?: Models.WebSiteManagementClientListBillingMetersNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -567,8 +599,8 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { * @param options The optional parameters * @param callback The callback */ - listBillingMetersNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBillingMetersNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listBillingMetersNext(nextPageLink: string, options: Models.WebSiteManagementClientListBillingMetersNextOptionalParams, callback: msRest.ServiceCallback): void; + listBillingMetersNext(nextPageLink: string, options?: Models.WebSiteManagementClientListBillingMetersNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nextPageLink, @@ -585,7 +617,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { * @param [options] The optional parameters * @returns Promise */ - listGeoRegionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listGeoRegionsNext(nextPageLink: string, options?: Models.WebSiteManagementClientListGeoRegionsNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -596,8 +628,8 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { * @param options The optional parameters * @param callback The callback */ - listGeoRegionsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listGeoRegionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listGeoRegionsNext(nextPageLink: string, options: Models.WebSiteManagementClientListGeoRegionsNextOptionalParams, callback: msRest.ServiceCallback): void; + listGeoRegionsNext(nextPageLink: string, options?: Models.WebSiteManagementClientListGeoRegionsNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nextPageLink, @@ -668,6 +700,36 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { // Operation Specifications const serializer = new msRest.Serializer(Mappers); +const generateGithubAccessTokenForAppserviceCLIAsyncOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "providers/Microsoft.Web/generateGithubAccessTokenForAppserviceCLI", + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: { + code: "code", + state: "state" + }, + mapper: { + ...Mappers.AppserviceGithubTokenRequest, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.AppserviceGithubToken + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + const getPublishingUserOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "providers/Microsoft.Web/publishingUsers/web", @@ -1107,6 +1169,9 @@ const listSourceControlsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1128,6 +1193,11 @@ const listBillingMetersNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.billingLocation, + Parameters.osType, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1149,6 +1219,13 @@ const listGeoRegionsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.sku, + Parameters.linuxWorkersEnabled, + Parameters.xenonWorkersEnabled, + Parameters.linuxDynamicWorkersEnabled, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1170,6 +1247,9 @@ const listSiteIdentifiersAssignedToHostNameNextOperationSpec: msRest.OperationSp urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1191,6 +1271,9 @@ const listPremierAddOnOffersNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/appservice/arm-appservice/src/webSiteManagementClientContext.ts b/sdk/appservice/arm-appservice/src/webSiteManagementClientContext.ts index 6313700b1278..37d80728b513 100644 --- a/sdk/appservice/arm-appservice/src/webSiteManagementClientContext.ts +++ b/sdk/appservice/arm-appservice/src/webSiteManagementClientContext.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -45,7 +44,7 @@ export class WebSiteManagementClientContext extends msRestAzure.AzureServiceClie super(credentials, options); - this.apiVersion = '2019-08-01'; + this.apiVersion = '2020-09-01'; this.acceptLanguage = 'en-US'; this.longRunningOperationRetryTimeout = 30; this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";