diff --git a/sdk/appservice/arm-appservice/LICENSE.txt b/sdk/appservice/arm-appservice/LICENSE.txt index ea8fb1516028..2d3163745319 100644 --- a/sdk/appservice/arm-appservice/LICENSE.txt +++ b/sdk/appservice/arm-appservice/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2020 Microsoft +Copyright (c) 2021 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal 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..a823ebee3222 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,16 @@ export { AbnormalTimePeriod, Address, AddressResponse, + AllowedAudiencesValidation, AnalysisData, AnalysisDefinition, ApiDefinitionInfo, - ApiKVReference, ApiManagementConfig, + AppInsightsWebAppStackSettings, ApplicationLogsConfig, ApplicationStack, ApplicationStackResource, + AppRegistration, AppServiceCertificate, AppServiceCertificateCollection, AppServiceCertificateOrder, @@ -30,10 +32,15 @@ export { AppServicePlan, AppServicePlanPatchResource, ArmIdWrapper, + AuthPlatform, AutoHealActions, AutoHealCustomAction, AutoHealRules, AutoHealTriggers, + AzureActiveDirectory, + AzureActiveDirectoryLogin, + AzureActiveDirectoryRegistration, + AzureActiveDirectoryValidation, AzureBlobStorageApplicationLogsConfig, AzureBlobStorageHttpLogsConfig, AzureStorageInfoValue, @@ -44,12 +51,14 @@ export { BackupSchedule, BaseResource, BillingMeter, + BlobStorageTokenStore, Capability, Certificate, CertificateDetails, CertificateEmail, CertificateOrderAction, CertificatePatchResource, + ClientRegistration, CloningInfo, ConnectionStringDictionary, ConnStringInfo, @@ -62,10 +71,12 @@ export { ContainerNetworkInterfaceStatistics, ContainerThrottlingData, ContinuousWebJob, + CookieExpiration, CorsSettings, CsmPublishingCredentialsPoliciesCollection, CsmPublishingCredentialsPoliciesEntity, CustomHostnameAnalysisResult, + CustomOpenIdConnectProvider, DatabaseBackupSetting, DataSource, DataTableResponseColumn, @@ -93,24 +104,41 @@ export { EnabledConfig, ErrorEntity, Experiments, + Facebook, FileSystemApplicationLogsConfig, FileSystemHttpLogsConfig, + FileSystemTokenStore, + ForwardProxy, + FunctionAppMajorVersion, + FunctionAppMinorVersion, + FunctionAppRuntimes, + FunctionAppRuntimeSettings, + FunctionAppStack, FunctionEnvelope, - FunctionSecrets, GeoRegion, + GitHub, + GitHubActionWebAppStackSettings, + GlobalValidation, + Google, HandlerMapping, HostingEnvironmentProfile, HostName, HostNameBinding, HostNameSslState, HttpLogsConfig, + HttpSettings, + HttpSettingsRoutes, HybridConnection, HybridConnectionKey, HybridConnectionLimits, Identifier, + IdentityProviders, IpSecurityRestriction, - KeyVaultReferenceCollection, - KeyVaultReferenceResource, + JwtClaimChecks, + LinuxJavaContainerSettings, + Login, + LoginRoutes, + LoginScopes, ManagedServiceIdentity, ManagedServiceIdentityUserAssignedIdentitiesValue, MigrateMySqlRequest, @@ -123,6 +151,11 @@ export { NameValuePair, NetworkAccessControlEntry, NetworkFeatures, + Nonce, + OpenIdConnectClientCredential, + OpenIdConnectConfig, + OpenIdConnectLogin, + OpenIdConnectRegistration, PremierAddOn, PremierAddOnOffer, PremierAddOnPatchResource, @@ -154,11 +187,12 @@ export { RestoreRequest, Site, SiteAuthSettings, + SiteAuthSettingsV2, SiteConfig, + SiteConfigPropertiesDictionary, SiteConfigResource, SiteConfigurationSnapshotInfo, SiteExtensionInfo, - SiteInstance, SiteLimits, SiteLogsConfig, SiteMachineKey, @@ -188,6 +222,8 @@ export { StaticSiteFunctionOverviewARMResource, StaticSitePatchResource, StaticSiteResetPropertiesARMResource, + StaticSitesWorkflowPreview, + StaticSitesWorkflowPreviewRequest, StaticSiteUserARMResource, StaticSiteUserInvitationRequestResource, StaticSiteUserInvitationResponseResource, @@ -196,10 +232,14 @@ export { StorageMigrationResponse, StringDictionary, SwiftVirtualNetwork, + SystemData, + TokenStore, TopLevelDomain, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, + Twitter, + TwitterRegistration, Usage, User, VirtualApplication, @@ -212,8 +252,14 @@ export { VnetRoute, VnetValidationFailureDetails, VnetValidationTestFailure, + WebAppMajorVersion, + WebAppMinorVersion, + WebAppRuntimes, + WebAppRuntimeSettings, + WebAppStack, WebJob, WebSiteInstanceStatus, + WindowsJavaContainerSettings, WorkerPool, WorkerPoolResource } from "../models/mappers"; diff --git a/sdk/appservice/arm-appservice/src/models/appServiceEnvironmentsMappers.ts b/sdk/appservice/arm-appservice/src/models/appServiceEnvironmentsMappers.ts index 24322870e614..9cf0d958abb9 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,16 @@ export { AbnormalTimePeriod, Address, AddressResponse, + AllowedAudiencesValidation, AnalysisData, AnalysisDefinition, ApiDefinitionInfo, - ApiKVReference, ApiManagementConfig, + AppInsightsWebAppStackSettings, ApplicationLogsConfig, ApplicationStack, ApplicationStackResource, + AppRegistration, AppServiceCertificate, AppServiceCertificateOrder, AppServiceCertificateOrderPatchResource, @@ -30,10 +32,15 @@ export { AppServicePlanCollection, AppServicePlanPatchResource, ArmIdWrapper, + AuthPlatform, AutoHealActions, AutoHealCustomAction, AutoHealRules, AutoHealTriggers, + AzureActiveDirectory, + AzureActiveDirectoryLogin, + AzureActiveDirectoryRegistration, + AzureActiveDirectoryValidation, AzureBlobStorageApplicationLogsConfig, AzureBlobStorageHttpLogsConfig, AzureStorageInfoValue, @@ -44,12 +51,14 @@ export { BackupSchedule, BaseResource, BillingMeter, + BlobStorageTokenStore, Capability, Certificate, CertificateDetails, CertificateEmail, CertificateOrderAction, CertificatePatchResource, + ClientRegistration, CloningInfo, ConnectionStringDictionary, ConnStringInfo, @@ -62,12 +71,14 @@ export { ContainerNetworkInterfaceStatistics, ContainerThrottlingData, ContinuousWebJob, + CookieExpiration, CorsSettings, CsmPublishingCredentialsPoliciesCollection, CsmPublishingCredentialsPoliciesEntity, CsmUsageQuota, CsmUsageQuotaCollection, CustomHostnameAnalysisResult, + CustomOpenIdConnectProvider, DatabaseBackupSetting, DataSource, DataTableResponseColumn, @@ -97,11 +108,22 @@ export { EndpointDetail, ErrorEntity, Experiments, + Facebook, FileSystemApplicationLogsConfig, FileSystemHttpLogsConfig, + FileSystemTokenStore, + ForwardProxy, + FunctionAppMajorVersion, + FunctionAppMinorVersion, + FunctionAppRuntimes, + FunctionAppRuntimeSettings, + FunctionAppStack, FunctionEnvelope, - FunctionSecrets, GeoRegion, + GitHub, + GitHubActionWebAppStackSettings, + GlobalValidation, + Google, HandlerMapping, HostingEnvironmentDiagnostics, HostingEnvironmentProfile, @@ -109,16 +131,22 @@ export { HostNameBinding, HostNameSslState, HttpLogsConfig, + HttpSettings, + HttpSettingsRoutes, HybridConnection, HybridConnectionKey, HybridConnectionLimits, Identifier, + IdentityProviders, InboundEnvironmentEndpoint, InboundEnvironmentEndpointCollection, IpSecurityRestriction, - KeyVaultReferenceCollection, - KeyVaultReferenceResource, + JwtClaimChecks, + LinuxJavaContainerSettings, LocalizableString, + Login, + LoginRoutes, + LoginScopes, ManagedServiceIdentity, ManagedServiceIdentityUserAssignedIdentitiesValue, MigrateMySqlRequest, @@ -130,6 +158,11 @@ export { NameValuePair, NetworkAccessControlEntry, NetworkFeatures, + Nonce, + OpenIdConnectClientCredential, + OpenIdConnectConfig, + OpenIdConnectLogin, + OpenIdConnectRegistration, Operation, OutboundEnvironmentEndpoint, OutboundEnvironmentEndpointCollection, @@ -165,11 +198,12 @@ export { RestoreRequest, Site, SiteAuthSettings, + SiteAuthSettingsV2, SiteConfig, + SiteConfigPropertiesDictionary, SiteConfigResource, SiteConfigurationSnapshotInfo, SiteExtensionInfo, - SiteInstance, SiteLimits, SiteLogsConfig, SiteMachineKey, @@ -200,6 +234,8 @@ export { StaticSiteFunctionOverviewARMResource, StaticSitePatchResource, StaticSiteResetPropertiesARMResource, + StaticSitesWorkflowPreview, + StaticSitesWorkflowPreviewRequest, StaticSiteUserARMResource, StaticSiteUserInvitationRequestResource, StaticSiteUserInvitationResponseResource, @@ -208,10 +244,14 @@ export { StorageMigrationResponse, StringDictionary, SwiftVirtualNetwork, + SystemData, + TokenStore, TopLevelDomain, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, + Twitter, + TwitterRegistration, Usage, UsageCollection, User, @@ -226,8 +266,14 @@ export { VnetValidationFailureDetails, VnetValidationTestFailure, WebAppCollection, + WebAppMajorVersion, + WebAppMinorVersion, + WebAppRuntimes, + WebAppRuntimeSettings, + WebAppStack, WebJob, WebSiteInstanceStatus, + WindowsJavaContainerSettings, WorkerPool, WorkerPoolCollection, WorkerPoolResource diff --git a/sdk/appservice/arm-appservice/src/models/appServicePlansMappers.ts b/sdk/appservice/arm-appservice/src/models/appServicePlansMappers.ts index 89f827a39725..6ae207ae9456 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,16 @@ export { AbnormalTimePeriod, Address, AddressResponse, + AllowedAudiencesValidation, AnalysisData, AnalysisDefinition, ApiDefinitionInfo, - ApiKVReference, ApiManagementConfig, + AppInsightsWebAppStackSettings, ApplicationLogsConfig, ApplicationStack, ApplicationStackResource, + AppRegistration, AppServiceCertificate, AppServiceCertificateOrder, AppServiceCertificateOrderPatchResource, @@ -29,10 +31,15 @@ export { AppServicePlanCollection, AppServicePlanPatchResource, ArmIdWrapper, + AuthPlatform, AutoHealActions, AutoHealCustomAction, AutoHealRules, AutoHealTriggers, + AzureActiveDirectory, + AzureActiveDirectoryLogin, + AzureActiveDirectoryRegistration, + AzureActiveDirectoryValidation, AzureBlobStorageApplicationLogsConfig, AzureBlobStorageHttpLogsConfig, AzureStorageInfoValue, @@ -43,12 +50,14 @@ export { BackupSchedule, BaseResource, BillingMeter, + BlobStorageTokenStore, Capability, Certificate, CertificateDetails, CertificateEmail, CertificateOrderAction, CertificatePatchResource, + ClientRegistration, CloningInfo, ConnectionStringDictionary, ConnStringInfo, @@ -61,12 +70,14 @@ export { ContainerNetworkInterfaceStatistics, ContainerThrottlingData, ContinuousWebJob, + CookieExpiration, CorsSettings, CsmPublishingCredentialsPoliciesCollection, CsmPublishingCredentialsPoliciesEntity, CsmUsageQuota, CsmUsageQuotaCollection, CustomHostnameAnalysisResult, + CustomOpenIdConnectProvider, DatabaseBackupSetting, DataSource, DataTableResponseColumn, @@ -94,26 +105,43 @@ export { EnabledConfig, ErrorEntity, Experiments, + Facebook, FileSystemApplicationLogsConfig, FileSystemHttpLogsConfig, + FileSystemTokenStore, + ForwardProxy, + FunctionAppMajorVersion, + FunctionAppMinorVersion, + FunctionAppRuntimes, + FunctionAppRuntimeSettings, + FunctionAppStack, FunctionEnvelope, - FunctionSecrets, GeoRegion, + GitHub, + GitHubActionWebAppStackSettings, + GlobalValidation, + Google, HandlerMapping, HostingEnvironmentProfile, HostName, HostNameBinding, HostNameSslState, HttpLogsConfig, + HttpSettings, + HttpSettingsRoutes, HybridConnection, HybridConnectionCollection, HybridConnectionKey, HybridConnectionLimits, Identifier, + IdentityProviders, IpSecurityRestriction, - KeyVaultReferenceCollection, - KeyVaultReferenceResource, + JwtClaimChecks, + LinuxJavaContainerSettings, LocalizableString, + Login, + LoginRoutes, + LoginScopes, ManagedServiceIdentity, ManagedServiceIdentityUserAssignedIdentitiesValue, MigrateMySqlRequest, @@ -125,6 +153,11 @@ export { NameValuePair, NetworkAccessControlEntry, NetworkFeatures, + Nonce, + OpenIdConnectClientCredential, + OpenIdConnectConfig, + OpenIdConnectLogin, + OpenIdConnectRegistration, PremierAddOn, PremierAddOnOffer, PremierAddOnPatchResource, @@ -157,11 +190,12 @@ export { RestoreRequest, Site, SiteAuthSettings, + SiteAuthSettingsV2, SiteConfig, + SiteConfigPropertiesDictionary, SiteConfigResource, SiteConfigurationSnapshotInfo, SiteExtensionInfo, - SiteInstance, SiteLimits, SiteLogsConfig, SiteMachineKey, @@ -189,6 +223,8 @@ export { StaticSiteFunctionOverviewARMResource, StaticSitePatchResource, StaticSiteResetPropertiesARMResource, + StaticSitesWorkflowPreview, + StaticSitesWorkflowPreviewRequest, StaticSiteUserARMResource, StaticSiteUserInvitationRequestResource, StaticSiteUserInvitationResponseResource, @@ -197,10 +233,14 @@ export { StorageMigrationResponse, StringDictionary, SwiftVirtualNetwork, + SystemData, + TokenStore, TopLevelDomain, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, + Twitter, + TwitterRegistration, Usage, User, VirtualApplication, @@ -214,8 +254,14 @@ export { VnetValidationFailureDetails, VnetValidationTestFailure, WebAppCollection, + WebAppMajorVersion, + WebAppMinorVersion, + WebAppRuntimes, + WebAppRuntimeSettings, + WebAppStack, WebJob, WebSiteInstanceStatus, + WindowsJavaContainerSettings, WorkerPool, WorkerPoolResource } from "../models/mappers"; 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..1771249d6e81 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,16 @@ export { AbnormalTimePeriod, Address, AddressResponse, + AllowedAudiencesValidation, AnalysisData, AnalysisDefinition, ApiDefinitionInfo, - ApiKVReference, ApiManagementConfig, + AppInsightsWebAppStackSettings, ApplicationLogsConfig, ApplicationStack, ApplicationStackResource, + AppRegistration, AppServiceCertificate, AppServiceCertificateOrder, AppServiceCertificateOrderPatchResource, @@ -28,10 +30,15 @@ export { AppServicePlan, AppServicePlanPatchResource, ArmIdWrapper, + AuthPlatform, AutoHealActions, AutoHealCustomAction, AutoHealRules, AutoHealTriggers, + AzureActiveDirectory, + AzureActiveDirectoryLogin, + AzureActiveDirectoryRegistration, + AzureActiveDirectoryValidation, AzureBlobStorageApplicationLogsConfig, AzureBlobStorageHttpLogsConfig, AzureStorageInfoValue, @@ -42,6 +49,7 @@ export { BackupSchedule, BaseResource, BillingMeter, + BlobStorageTokenStore, Capability, Certificate, CertificateCollection, @@ -49,6 +57,7 @@ export { CertificateEmail, CertificateOrderAction, CertificatePatchResource, + ClientRegistration, CloningInfo, ConnectionStringDictionary, ConnStringInfo, @@ -61,10 +70,12 @@ export { ContainerNetworkInterfaceStatistics, ContainerThrottlingData, ContinuousWebJob, + CookieExpiration, CorsSettings, CsmPublishingCredentialsPoliciesCollection, CsmPublishingCredentialsPoliciesEntity, CustomHostnameAnalysisResult, + CustomOpenIdConnectProvider, DatabaseBackupSetting, DataSource, DataTableResponseColumn, @@ -92,24 +103,41 @@ export { EnabledConfig, ErrorEntity, Experiments, + Facebook, FileSystemApplicationLogsConfig, FileSystemHttpLogsConfig, + FileSystemTokenStore, + ForwardProxy, + FunctionAppMajorVersion, + FunctionAppMinorVersion, + FunctionAppRuntimes, + FunctionAppRuntimeSettings, + FunctionAppStack, FunctionEnvelope, - FunctionSecrets, GeoRegion, + GitHub, + GitHubActionWebAppStackSettings, + GlobalValidation, + Google, HandlerMapping, HostingEnvironmentProfile, HostName, HostNameBinding, HostNameSslState, HttpLogsConfig, + HttpSettings, + HttpSettingsRoutes, HybridConnection, HybridConnectionKey, HybridConnectionLimits, Identifier, + IdentityProviders, IpSecurityRestriction, - KeyVaultReferenceCollection, - KeyVaultReferenceResource, + JwtClaimChecks, + LinuxJavaContainerSettings, + Login, + LoginRoutes, + LoginScopes, ManagedServiceIdentity, ManagedServiceIdentityUserAssignedIdentitiesValue, MigrateMySqlRequest, @@ -121,6 +149,11 @@ export { NameValuePair, NetworkAccessControlEntry, NetworkFeatures, + Nonce, + OpenIdConnectClientCredential, + OpenIdConnectConfig, + OpenIdConnectLogin, + OpenIdConnectRegistration, PremierAddOn, PremierAddOnOffer, PremierAddOnPatchResource, @@ -152,11 +185,12 @@ export { RestoreRequest, Site, SiteAuthSettings, + SiteAuthSettingsV2, SiteConfig, + SiteConfigPropertiesDictionary, SiteConfigResource, SiteConfigurationSnapshotInfo, SiteExtensionInfo, - SiteInstance, SiteLimits, SiteLogsConfig, SiteMachineKey, @@ -184,6 +218,8 @@ export { StaticSiteFunctionOverviewARMResource, StaticSitePatchResource, StaticSiteResetPropertiesARMResource, + StaticSitesWorkflowPreview, + StaticSitesWorkflowPreviewRequest, StaticSiteUserARMResource, StaticSiteUserInvitationRequestResource, StaticSiteUserInvitationResponseResource, @@ -192,10 +228,14 @@ export { StorageMigrationResponse, StringDictionary, SwiftVirtualNetwork, + SystemData, + TokenStore, TopLevelDomain, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, + Twitter, + TwitterRegistration, Usage, User, VirtualApplication, @@ -208,8 +248,14 @@ export { VnetRoute, VnetValidationFailureDetails, VnetValidationTestFailure, + WebAppMajorVersion, + WebAppMinorVersion, + WebAppRuntimes, + WebAppRuntimeSettings, + WebAppStack, WebJob, WebSiteInstanceStatus, + WindowsJavaContainerSettings, WorkerPool, WorkerPoolResource } from "../models/mappers"; diff --git a/sdk/appservice/arm-appservice/src/models/deletedWebAppsMappers.ts b/sdk/appservice/arm-appservice/src/models/deletedWebAppsMappers.ts index 7d7900181c96..6b1c498c62e4 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,16 @@ export { AbnormalTimePeriod, Address, AddressResponse, + AllowedAudiencesValidation, AnalysisData, AnalysisDefinition, ApiDefinitionInfo, - ApiKVReference, ApiManagementConfig, + AppInsightsWebAppStackSettings, ApplicationLogsConfig, ApplicationStack, ApplicationStackResource, + AppRegistration, AppServiceCertificate, AppServiceCertificateOrder, AppServiceCertificateOrderPatchResource, @@ -28,10 +30,15 @@ export { AppServicePlan, AppServicePlanPatchResource, ArmIdWrapper, + AuthPlatform, AutoHealActions, AutoHealCustomAction, AutoHealRules, AutoHealTriggers, + AzureActiveDirectory, + AzureActiveDirectoryLogin, + AzureActiveDirectoryRegistration, + AzureActiveDirectoryValidation, AzureBlobStorageApplicationLogsConfig, AzureBlobStorageHttpLogsConfig, AzureStorageInfoValue, @@ -42,12 +49,14 @@ export { BackupSchedule, BaseResource, BillingMeter, + BlobStorageTokenStore, Capability, Certificate, CertificateDetails, CertificateEmail, CertificateOrderAction, CertificatePatchResource, + ClientRegistration, CloningInfo, ConnectionStringDictionary, ConnStringInfo, @@ -60,10 +69,12 @@ export { ContainerNetworkInterfaceStatistics, ContainerThrottlingData, ContinuousWebJob, + CookieExpiration, CorsSettings, CsmPublishingCredentialsPoliciesCollection, CsmPublishingCredentialsPoliciesEntity, CustomHostnameAnalysisResult, + CustomOpenIdConnectProvider, DatabaseBackupSetting, DataSource, DataTableResponseColumn, @@ -92,24 +103,41 @@ export { EnabledConfig, ErrorEntity, Experiments, + Facebook, FileSystemApplicationLogsConfig, FileSystemHttpLogsConfig, + FileSystemTokenStore, + ForwardProxy, + FunctionAppMajorVersion, + FunctionAppMinorVersion, + FunctionAppRuntimes, + FunctionAppRuntimeSettings, + FunctionAppStack, FunctionEnvelope, - FunctionSecrets, GeoRegion, + GitHub, + GitHubActionWebAppStackSettings, + GlobalValidation, + Google, HandlerMapping, HostingEnvironmentProfile, HostName, HostNameBinding, HostNameSslState, HttpLogsConfig, + HttpSettings, + HttpSettingsRoutes, HybridConnection, HybridConnectionKey, HybridConnectionLimits, Identifier, + IdentityProviders, IpSecurityRestriction, - KeyVaultReferenceCollection, - KeyVaultReferenceResource, + JwtClaimChecks, + LinuxJavaContainerSettings, + Login, + LoginRoutes, + LoginScopes, ManagedServiceIdentity, ManagedServiceIdentityUserAssignedIdentitiesValue, MigrateMySqlRequest, @@ -121,6 +149,11 @@ export { NameValuePair, NetworkAccessControlEntry, NetworkFeatures, + Nonce, + OpenIdConnectClientCredential, + OpenIdConnectConfig, + OpenIdConnectLogin, + OpenIdConnectRegistration, PremierAddOn, PremierAddOnOffer, PremierAddOnPatchResource, @@ -152,11 +185,12 @@ export { RestoreRequest, Site, SiteAuthSettings, + SiteAuthSettingsV2, SiteConfig, + SiteConfigPropertiesDictionary, SiteConfigResource, SiteConfigurationSnapshotInfo, SiteExtensionInfo, - SiteInstance, SiteLimits, SiteLogsConfig, SiteMachineKey, @@ -184,6 +218,8 @@ export { StaticSiteFunctionOverviewARMResource, StaticSitePatchResource, StaticSiteResetPropertiesARMResource, + StaticSitesWorkflowPreview, + StaticSitesWorkflowPreviewRequest, StaticSiteUserARMResource, StaticSiteUserInvitationRequestResource, StaticSiteUserInvitationResponseResource, @@ -192,10 +228,14 @@ export { StorageMigrationResponse, StringDictionary, SwiftVirtualNetwork, + SystemData, + TokenStore, TopLevelDomain, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, + Twitter, + TwitterRegistration, Usage, User, VirtualApplication, @@ -208,8 +248,14 @@ export { VnetRoute, VnetValidationFailureDetails, VnetValidationTestFailure, + WebAppMajorVersion, + WebAppMinorVersion, + WebAppRuntimes, + WebAppRuntimeSettings, + WebAppStack, WebJob, WebSiteInstanceStatus, + WindowsJavaContainerSettings, WorkerPool, WorkerPoolResource } from "../models/mappers"; diff --git a/sdk/appservice/arm-appservice/src/models/diagnosticsMappers.ts b/sdk/appservice/arm-appservice/src/models/diagnosticsMappers.ts index 80b2ffdc8f6e..563e455eb9b6 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,16 @@ export { AbnormalTimePeriod, Address, AddressResponse, + AllowedAudiencesValidation, AnalysisData, AnalysisDefinition, ApiDefinitionInfo, - ApiKVReference, ApiManagementConfig, + AppInsightsWebAppStackSettings, ApplicationLogsConfig, ApplicationStack, ApplicationStackResource, + AppRegistration, AppServiceCertificate, AppServiceCertificateOrder, AppServiceCertificateOrderPatchResource, @@ -28,10 +30,15 @@ export { AppServicePlan, AppServicePlanPatchResource, ArmIdWrapper, + AuthPlatform, AutoHealActions, AutoHealCustomAction, AutoHealRules, AutoHealTriggers, + AzureActiveDirectory, + AzureActiveDirectoryLogin, + AzureActiveDirectoryRegistration, + AzureActiveDirectoryValidation, AzureBlobStorageApplicationLogsConfig, AzureBlobStorageHttpLogsConfig, AzureStorageInfoValue, @@ -42,12 +49,14 @@ export { BackupSchedule, BaseResource, BillingMeter, + BlobStorageTokenStore, Capability, Certificate, CertificateDetails, CertificateEmail, CertificateOrderAction, CertificatePatchResource, + ClientRegistration, CloningInfo, ConnectionStringDictionary, ConnStringInfo, @@ -60,10 +69,12 @@ export { ContainerNetworkInterfaceStatistics, ContainerThrottlingData, ContinuousWebJob, + CookieExpiration, CorsSettings, CsmPublishingCredentialsPoliciesCollection, CsmPublishingCredentialsPoliciesEntity, CustomHostnameAnalysisResult, + CustomOpenIdConnectProvider, DatabaseBackupSetting, DataSource, DataTableResponseColumn, @@ -95,24 +106,41 @@ export { EnabledConfig, ErrorEntity, Experiments, + Facebook, FileSystemApplicationLogsConfig, FileSystemHttpLogsConfig, + FileSystemTokenStore, + ForwardProxy, + FunctionAppMajorVersion, + FunctionAppMinorVersion, + FunctionAppRuntimes, + FunctionAppRuntimeSettings, + FunctionAppStack, FunctionEnvelope, - FunctionSecrets, GeoRegion, + GitHub, + GitHubActionWebAppStackSettings, + GlobalValidation, + Google, HandlerMapping, HostingEnvironmentProfile, HostName, HostNameBinding, HostNameSslState, HttpLogsConfig, + HttpSettings, + HttpSettingsRoutes, HybridConnection, HybridConnectionKey, HybridConnectionLimits, Identifier, + IdentityProviders, IpSecurityRestriction, - KeyVaultReferenceCollection, - KeyVaultReferenceResource, + JwtClaimChecks, + LinuxJavaContainerSettings, + Login, + LoginRoutes, + LoginScopes, ManagedServiceIdentity, ManagedServiceIdentityUserAssignedIdentitiesValue, MigrateMySqlRequest, @@ -124,6 +152,11 @@ export { NameValuePair, NetworkAccessControlEntry, NetworkFeatures, + Nonce, + OpenIdConnectClientCredential, + OpenIdConnectConfig, + OpenIdConnectLogin, + OpenIdConnectRegistration, PremierAddOn, PremierAddOnOffer, PremierAddOnPatchResource, @@ -155,11 +188,12 @@ export { RestoreRequest, Site, SiteAuthSettings, + SiteAuthSettingsV2, SiteConfig, + SiteConfigPropertiesDictionary, SiteConfigResource, SiteConfigurationSnapshotInfo, SiteExtensionInfo, - SiteInstance, SiteLimits, SiteLogsConfig, SiteMachineKey, @@ -187,6 +221,8 @@ export { StaticSiteFunctionOverviewARMResource, StaticSitePatchResource, StaticSiteResetPropertiesARMResource, + StaticSitesWorkflowPreview, + StaticSitesWorkflowPreviewRequest, StaticSiteUserARMResource, StaticSiteUserInvitationRequestResource, StaticSiteUserInvitationResponseResource, @@ -195,10 +231,14 @@ export { StorageMigrationResponse, StringDictionary, SwiftVirtualNetwork, + SystemData, + TokenStore, TopLevelDomain, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, + Twitter, + TwitterRegistration, Usage, User, VirtualApplication, @@ -211,8 +251,14 @@ export { VnetRoute, VnetValidationFailureDetails, VnetValidationTestFailure, + WebAppMajorVersion, + WebAppMinorVersion, + WebAppRuntimes, + WebAppRuntimeSettings, + WebAppStack, WebJob, WebSiteInstanceStatus, + WindowsJavaContainerSettings, WorkerPool, WorkerPoolResource } from "../models/mappers"; 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..d85aeaf21c51 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,16 @@ export { AbnormalTimePeriod, Address, AddressResponse, + AllowedAudiencesValidation, AnalysisData, AnalysisDefinition, ApiDefinitionInfo, - ApiKVReference, ApiManagementConfig, + AppInsightsWebAppStackSettings, ApplicationLogsConfig, ApplicationStack, ApplicationStackResource, + AppRegistration, AppServiceCertificate, AppServiceCertificateOrder, AppServiceCertificateOrderPatchResource, @@ -28,10 +30,15 @@ export { AppServicePlan, AppServicePlanPatchResource, ArmIdWrapper, + AuthPlatform, AutoHealActions, AutoHealCustomAction, AutoHealRules, AutoHealTriggers, + AzureActiveDirectory, + AzureActiveDirectoryLogin, + AzureActiveDirectoryRegistration, + AzureActiveDirectoryValidation, AzureBlobStorageApplicationLogsConfig, AzureBlobStorageHttpLogsConfig, AzureStorageInfoValue, @@ -42,12 +49,14 @@ export { BackupSchedule, BaseResource, BillingMeter, + BlobStorageTokenStore, Capability, Certificate, CertificateDetails, CertificateEmail, CertificateOrderAction, CertificatePatchResource, + ClientRegistration, CloningInfo, ConnectionStringDictionary, ConnStringInfo, @@ -60,10 +69,12 @@ export { ContainerNetworkInterfaceStatistics, ContainerThrottlingData, ContinuousWebJob, + CookieExpiration, CorsSettings, CsmPublishingCredentialsPoliciesCollection, CsmPublishingCredentialsPoliciesEntity, CustomHostnameAnalysisResult, + CustomOpenIdConnectProvider, DatabaseBackupSetting, DataSource, DataTableResponseColumn, @@ -96,24 +107,41 @@ export { EnabledConfig, ErrorEntity, Experiments, + Facebook, FileSystemApplicationLogsConfig, FileSystemHttpLogsConfig, + FileSystemTokenStore, + ForwardProxy, + FunctionAppMajorVersion, + FunctionAppMinorVersion, + FunctionAppRuntimes, + FunctionAppRuntimeSettings, + FunctionAppStack, FunctionEnvelope, - FunctionSecrets, GeoRegion, + GitHub, + GitHubActionWebAppStackSettings, + GlobalValidation, + Google, HandlerMapping, HostingEnvironmentProfile, HostName, HostNameBinding, HostNameSslState, HttpLogsConfig, + HttpSettings, + HttpSettingsRoutes, HybridConnection, HybridConnectionKey, HybridConnectionLimits, Identifier, + IdentityProviders, IpSecurityRestriction, - KeyVaultReferenceCollection, - KeyVaultReferenceResource, + JwtClaimChecks, + LinuxJavaContainerSettings, + Login, + LoginRoutes, + LoginScopes, ManagedServiceIdentity, ManagedServiceIdentityUserAssignedIdentitiesValue, MigrateMySqlRequest, @@ -127,6 +155,11 @@ export { NameValuePair, NetworkAccessControlEntry, NetworkFeatures, + Nonce, + OpenIdConnectClientCredential, + OpenIdConnectConfig, + OpenIdConnectLogin, + OpenIdConnectRegistration, PremierAddOn, PremierAddOnOffer, PremierAddOnPatchResource, @@ -158,11 +191,12 @@ export { RestoreRequest, Site, SiteAuthSettings, + SiteAuthSettingsV2, SiteConfig, + SiteConfigPropertiesDictionary, SiteConfigResource, SiteConfigurationSnapshotInfo, SiteExtensionInfo, - SiteInstance, SiteLimits, SiteLogsConfig, SiteMachineKey, @@ -190,6 +224,8 @@ export { StaticSiteFunctionOverviewARMResource, StaticSitePatchResource, StaticSiteResetPropertiesARMResource, + StaticSitesWorkflowPreview, + StaticSitesWorkflowPreviewRequest, StaticSiteUserARMResource, StaticSiteUserInvitationRequestResource, StaticSiteUserInvitationResponseResource, @@ -198,10 +234,14 @@ export { StorageMigrationResponse, StringDictionary, SwiftVirtualNetwork, + SystemData, + TokenStore, TopLevelDomain, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, + Twitter, + TwitterRegistration, Usage, User, VirtualApplication, @@ -214,8 +254,14 @@ export { VnetRoute, VnetValidationFailureDetails, VnetValidationTestFailure, + WebAppMajorVersion, + WebAppMinorVersion, + WebAppRuntimes, + WebAppRuntimeSettings, + WebAppStack, WebJob, WebSiteInstanceStatus, + WindowsJavaContainerSettings, WorkerPool, WorkerPoolResource } from "../models/mappers"; diff --git a/sdk/appservice/arm-appservice/src/models/index.ts b/sdk/appservice/arm-appservice/src/models/index.ts index d40a8d07d381..66968da8621f 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 timestamp of resource last modification (UTC) + */ + 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. @@ -1739,6 +1823,10 @@ export interface Site extends Resource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly inProgressOperationId?: string; + /** + * Checks if Customer provided storage account is required + */ + storageAccountRequired?: boolean; identity?: ManagedServiceIdentity; } @@ -1992,6 +2080,7 @@ export interface LogSpecification { name?: string; displayName?: string; blobDuration?: string; + logFilterPattern?: string; } /** @@ -2033,6 +2122,7 @@ export interface MetricSpecification { category?: string; availabilities?: MetricAvailability[]; supportedTimeGrainTypes?: string[]; + supportedAggregationTypes?: string[]; } /** @@ -2918,9 +3008,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". */ @@ -3604,6 +3694,24 @@ export interface DiagnosticDetectorResponse extends ProxyOnlyResource { responseMetaData?: ResponseMetaData; } +/** + * App Insights Web App stack settings. + */ +export interface AppInsightsWebAppStackSettings { + /** + * true if remote Application Insights is supported for the stack; otherwise, + * false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly isSupported?: boolean; + /** + * true if Application Insights is disabled by default for the stack; otherwise, + * false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly isDefaultOff?: boolean; +} + /** * Application stack minor version. */ @@ -3718,246 +3826,743 @@ export interface ApplicationStackResource extends ProxyOnlyResource { } /** - * Represents a recommendation result generated by the recommendation engine. + * GitHub Actions Web App stack settings. */ -export interface Recommendation extends ProxyOnlyResource { - /** - * Timestamp when this instance was created. - */ - creationTime?: Date; - /** - * A GUID value that each recommendation object is associated with. - */ - recommendationId?: string; - /** - * Full ARM resource ID string that this recommendation object is associated with. - */ - resourceId?: string; +export interface GitHubActionWebAppStackSettings { /** - * Name of a resource type this recommendation applies, e.g. Subscription, ServerFarm, Site. - * Possible values include: 'ServerFarm', 'Subscription', 'WebSite' + * true if GitHub Actions is supported for the stack; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - resourceScope?: ResourceScopeType; + readonly isSupported?: boolean; /** - * Unique name of the rule. + * The minor version that is supported for GitHub Actions. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - ruleName?: string; + readonly supportedVersion?: string; +} + +/** + * Site config properties dictionary. + */ +export interface SiteConfigPropertiesDictionary { /** - * UI friendly name of the rule (may not be unique). + * true if use32BitWorkerProcess should be set to true for the stack; otherwise, + * false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - displayName?: string; + readonly use32BitWorkerProcess?: boolean; /** - * Recommendation text. + * LinuxFxVersion configuration setting. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - message?: string; + readonly linuxFxVersion?: string; /** - * Level indicating how critical this recommendation can impact. Possible values include: - * 'Critical', 'Warning', 'Information', 'NonUrgentSuggestion' + * JavaVersion configuration setting. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - level?: NotificationLevel; + readonly javaVersion?: string; /** - * List of channels that this recommendation can apply. Possible values include: 'Notification', - * 'Api', 'Email', 'Webhook', 'All' + * PowerShellVersion configuration setting. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - channels?: Channels; + readonly powerShellVersion?: string; +} + +/** + * Function App runtime settings. + */ +export interface FunctionAppRuntimeSettings { /** - * The list of category tags that this recommendation belongs to. + * Function App stack minor version (runtime only). * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly categoryTags?: string[]; + readonly runtimeVersion?: string; /** - * Name of action recommended by this object. + * true if remote debugging is supported for the stack; otherwise, + * false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - actionName?: string; + readonly remoteDebuggingSupported?: boolean; /** - * True if this recommendation is still valid (i.e. "actionable"). False if it is invalid. + * Application Insights settings associated with the minor version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - enabled?: number; + readonly appInsightsSettings?: AppInsightsWebAppStackSettings; /** - * The list of states of this recommendation. If it's null then it should be considered "Active". + * GitHub Actions settings associated with the minor version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - states?: string[]; + readonly gitHubActionSettings?: GitHubActionWebAppStackSettings; /** - * The beginning time in UTC of a range that the recommendation refers to. + * Application settings associated with the minor version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - startTime?: Date; + readonly appSettingsDictionary?: { [propertyName: string]: string }; /** - * The end time in UTC of a range that the recommendation refers to. + * Configuration settings associated with the minor version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - endTime?: Date; + readonly siteConfigPropertiesDictionary?: SiteConfigPropertiesDictionary; /** - * When to notify this recommendation next in UTC. Null means that this will never be notified - * anymore. + * List of supported Functions extension versions. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - nextNotificationTime?: Date; + readonly supportedFunctionsExtensionVersions?: string[]; /** - * Date and time in UTC when this notification expires. + * true if the stack is in preview; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - notificationExpirationTime?: Date; + readonly isPreview?: boolean; /** - * Last timestamp in UTC this instance was actually notified. Null means that this recommendation - * hasn't been notified yet. + * true if the stack is deprecated; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - notifiedTime?: Date; + readonly isDeprecated?: boolean; /** - * A metric value measured by the rule. + * true if the stack should be hidden; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - score?: number; + readonly isHidden?: boolean; /** - * True if this is associated with a dynamically added rule + * End-of-life date for the minor version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - isDynamic?: boolean; + readonly endOfLifeDate?: Date; /** - * Extension name of the portal if exists. + * true if the stack version is auto-updated; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - extensionName?: string; + readonly isAutoUpdate?: boolean; /** - * Deep link to a blade on the portal. + * true if the minor version is early-access; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - bladeName?: string; + readonly isEarlyAccess?: boolean; /** - * Forward link to an external document associated with the rule. + * true if the minor version the default; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - forwardLink?: string; + readonly isDefault?: boolean; } /** - * Represents a recommendation rule that the recommendation engine can perform. + * Function App stack runtimes. */ -export interface RecommendationRule extends ProxyOnlyResource { +export interface FunctionAppRuntimes { /** - * Unique name of the rule. + * Linux-specific settings associated with the minor version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recommendationName?: string; + readonly linuxRuntimeSettings?: FunctionAppRuntimeSettings; /** - * UI friendly name of the rule. + * Windows-specific settings associated with the minor version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - displayName?: string; + readonly windowsRuntimeSettings?: FunctionAppRuntimeSettings; +} + +/** + * Function App stack minor version. + */ +export interface FunctionAppMinorVersion { /** - * Localized name of the rule (Good for UI). + * Function App stack (display only). + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - message?: string; + readonly displayText?: string; /** - * Recommendation ID of an associated recommendation object tied to the rule, if exists. - * If such an object doesn't exist, it is set to null. + * Function App stack name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recommendationId?: string; + readonly value?: string; /** - * Localized detailed description of the rule. + * Settings associated with the minor version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - description?: string; + readonly stackSettings?: FunctionAppRuntimes; +} + +/** + * Function App stack major version. + */ +export interface FunctionAppMajorVersion { /** - * Name of action that is recommended by this rule in string. + * Function App stack major version (display only). + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - actionName?: string; + readonly displayText?: string; /** - * Level of impact indicating how critical this rule is. Possible values include: 'Critical', - * 'Warning', 'Information', 'NonUrgentSuggestion' + * Function App stack major version name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - level?: NotificationLevel; + readonly value?: string; /** - * List of available channels that this rule applies. Possible values include: 'Notification', - * 'Api', 'Email', 'Webhook', 'All' + * Minor versions associated with the major version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - channels?: Channels; + readonly minorVersions?: FunctionAppMinorVersion[]; +} + +/** + * Function App Stack. + */ +export interface FunctionAppStack extends ProxyOnlyResource { /** - * The list of category tags that this recommendation rule belongs to. + * Function App stack location. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly categoryTags?: string[]; + readonly location?: string; /** - * True if this is associated with a dynamically added rule + * Function App stack (display only). + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - isDynamic?: boolean; + readonly displayText?: string; /** - * Extension name of the portal if exists. Applicable to dynamic rule only. + * Function App stack name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - extensionName?: string; + readonly value?: string; /** - * Deep link to a blade on the portal. Applicable to dynamic rule only. + * List of major versions available. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - bladeName?: string; + readonly majorVersions?: FunctionAppMajorVersion[]; /** - * Forward link to an external document associated with the rule. Applicable to dynamic rule - * only. + * Function App stack preferred OS. Possible values include: 'windows', 'linux' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - forwardLink?: string; + readonly preferredOs?: StackOsTypes; } /** - * App Service billing entity that contains information about meter which the Azure billing system - * utilizes to charge users for services. + * Linux Java Container settings. */ -export interface BillingMeter extends ProxyOnlyResource { +export interface LinuxJavaContainerSettings { /** - * Meter GUID onboarded in Commerce + * Java 11 version (runtime only). + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - meterId?: string; + readonly java11Runtime?: string; /** - * Azure Location of billable resource + * Java 8 version (runtime only). + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - billingLocation?: string; + readonly java8Runtime?: string; /** - * Short Name from App Service Azure pricing Page + * true if the stack is in preview; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - shortName?: string; + readonly isPreview?: boolean; /** - * Friendly name of the meter + * true if the stack is deprecated; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - friendlyName?: string; + readonly isDeprecated?: boolean; /** - * App Service ResourceType meter used for + * true if the stack should be hidden; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - resourceType?: string; + readonly isHidden?: boolean; /** - * App Service OS type meter used for + * End-of-life date for the minor version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - osType?: string; -} - -/** - * Object with a list of the resources that need to be moved and the resource group they should be - * moved to. - */ -export interface CsmMoveResourceEnvelope { - targetResourceGroup?: string; - resources?: string[]; + readonly endOfLifeDate?: Date; + /** + * true if the stack version is auto-updated; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly isAutoUpdate?: boolean; + /** + * true if the minor version is early-access; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly isEarlyAccess?: boolean; } /** - * Geographical region. + * Web App runtime settings. */ -export interface GeoRegion extends ProxyOnlyResource { +export interface WebAppRuntimeSettings { /** - * Region description. + * Web App stack minor version (runtime only). * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly description?: string; + readonly runtimeVersion?: string; /** - * Display name for region. + * true if remote debugging is supported for the stack; otherwise, + * false. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly displayName?: string; + readonly remoteDebuggingSupported?: boolean; /** - * Display name for region. + * Application Insights settings associated with the minor version. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly orgDomain?: string; -} - -/** - * Information needed to create resources on an App Service Environment. - */ -export interface HostingEnvironmentDeploymentInfo { + readonly appInsightsSettings?: AppInsightsWebAppStackSettings; /** - * Name of the App Service Environment. + * GitHub Actions settings associated with the minor version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - name?: string; + readonly gitHubActionSettings?: GitHubActionWebAppStackSettings; /** - * Location of the App Service Environment. + * true if the stack is in preview; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - location?: string; -} + readonly isPreview?: boolean; + /** + * true if the stack is deprecated; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly isDeprecated?: boolean; + /** + * true if the stack should be hidden; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly isHidden?: boolean; + /** + * End-of-life date for the minor version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly endOfLifeDate?: Date; + /** + * true if the stack version is auto-updated; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly isAutoUpdate?: boolean; + /** + * true if the minor version is early-access; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly isEarlyAccess?: boolean; +} + +/** + * Windows Java Container settings. + */ +export interface WindowsJavaContainerSettings { + /** + * Java container (runtime only). + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly javaContainer?: string; + /** + * Java container version (runtime only). + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly javaContainerVersion?: string; + /** + * true if the stack is in preview; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly isPreview?: boolean; + /** + * true if the stack is deprecated; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly isDeprecated?: boolean; + /** + * true if the stack should be hidden; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly isHidden?: boolean; + /** + * End-of-life date for the minor version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly endOfLifeDate?: Date; + /** + * true if the stack version is auto-updated; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly isAutoUpdate?: boolean; + /** + * true if the minor version is early-access; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly isEarlyAccess?: boolean; +} + +/** + * Web App stack runtimes. + */ +export interface WebAppRuntimes { + /** + * Linux-specific settings associated with the minor version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly linuxRuntimeSettings?: WebAppRuntimeSettings; + /** + * Windows-specific settings associated with the minor version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly windowsRuntimeSettings?: WebAppRuntimeSettings; + /** + * Linux-specific settings associated with the Java container minor version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly linuxContainerSettings?: LinuxJavaContainerSettings; + /** + * Windows-specific settings associated with the Java container minor version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly windowsContainerSettings?: WindowsJavaContainerSettings; +} + +/** + * Web App stack minor version. + */ +export interface WebAppMinorVersion { + /** + * Web App stack minor version (display only). + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly displayText?: string; + /** + * Web App stack major version name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly value?: string; + /** + * Settings associated with the minor version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly stackSettings?: WebAppRuntimes; +} + +/** + * Web App stack major version. + */ +export interface WebAppMajorVersion { + /** + * Web App stack major version (display only). + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly displayText?: string; + /** + * Web App stack major version name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly value?: string; + /** + * Minor versions associated with the major version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly minorVersions?: WebAppMinorVersion[]; +} + +/** + * Web App stack. + */ +export interface WebAppStack extends ProxyOnlyResource { + /** + * Web App stack location. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly location?: string; + /** + * Web App stack (display only). + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly displayText?: string; + /** + * Web App stack name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly value?: string; + /** + * List of major versions available. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly majorVersions?: WebAppMajorVersion[]; + /** + * Web App stack preferred OS. Possible values include: 'windows', 'linux' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly preferredOs?: StackOsTypes; +} + +/** + * Represents a recommendation result generated by the recommendation engine. + */ +export interface Recommendation extends ProxyOnlyResource { + /** + * Timestamp when this instance was created. + */ + creationTime?: Date; + /** + * A GUID value that each recommendation object is associated with. + */ + recommendationId?: string; + /** + * Full ARM resource ID string that this recommendation object is associated with. + */ + resourceId?: string; + /** + * Name of a resource type this recommendation applies, e.g. Subscription, ServerFarm, Site. + * Possible values include: 'ServerFarm', 'Subscription', 'WebSite' + */ + resourceScope?: ResourceScopeType; + /** + * Unique name of the rule. + */ + ruleName?: string; + /** + * UI friendly name of the rule (may not be unique). + */ + displayName?: string; + /** + * Recommendation text. + */ + message?: string; + /** + * Level indicating how critical this recommendation can impact. Possible values include: + * 'Critical', 'Warning', 'Information', 'NonUrgentSuggestion' + */ + level?: NotificationLevel; + /** + * List of channels that this recommendation can apply. Possible values include: 'Notification', + * 'Api', 'Email', 'Webhook', 'All' + */ + channels?: Channels; + /** + * The list of category tags that this recommendation belongs to. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly categoryTags?: string[]; + /** + * Name of action recommended by this object. + */ + actionName?: string; + /** + * True if this recommendation is still valid (i.e. "actionable"). False if it is invalid. + */ + enabled?: number; + /** + * The list of states of this recommendation. If it's null then it should be considered "Active". + */ + states?: string[]; + /** + * The beginning time in UTC of a range that the recommendation refers to. + */ + startTime?: Date; + /** + * The end time in UTC of a range that the recommendation refers to. + */ + endTime?: Date; + /** + * When to notify this recommendation next in UTC. Null means that this will never be notified + * anymore. + */ + nextNotificationTime?: Date; + /** + * Date and time in UTC when this notification expires. + */ + notificationExpirationTime?: Date; + /** + * Last timestamp in UTC this instance was actually notified. Null means that this recommendation + * hasn't been notified yet. + */ + notifiedTime?: Date; + /** + * A metric value measured by the rule. + */ + score?: number; + /** + * True if this is associated with a dynamically added rule + */ + isDynamic?: boolean; + /** + * Extension name of the portal if exists. + */ + extensionName?: string; + /** + * Deep link to a blade on the portal. + */ + bladeName?: string; + /** + * Forward link to an external document associated with the rule. + */ + forwardLink?: string; +} + +/** + * Represents a recommendation rule that the recommendation engine can perform. + */ +export interface RecommendationRule extends ProxyOnlyResource { + /** + * Unique name of the rule. + */ + recommendationName?: string; + /** + * UI friendly name of the rule. + */ + displayName?: string; + /** + * Localized name of the rule (Good for UI). + */ + message?: string; + /** + * Recommendation ID of an associated recommendation object tied to the rule, if exists. + * If such an object doesn't exist, it is set to null. + */ + recommendationId?: string; + /** + * Localized detailed description of the rule. + */ + description?: string; + /** + * Name of action that is recommended by this rule in string. + */ + actionName?: string; + /** + * Level of impact indicating how critical this rule is. Possible values include: 'Critical', + * 'Warning', 'Information', 'NonUrgentSuggestion' + */ + level?: NotificationLevel; + /** + * List of available channels that this rule applies. Possible values include: 'Notification', + * 'Api', 'Email', 'Webhook', 'All' + */ + channels?: Channels; + /** + * The list of category tags that this recommendation rule belongs to. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly categoryTags?: string[]; + /** + * True if this is associated with a dynamically added rule + */ + isDynamic?: boolean; + /** + * Extension name of the portal if exists. Applicable to dynamic rule only. + */ + extensionName?: string; + /** + * Deep link to a blade on the portal. Applicable to dynamic rule only. + */ + bladeName?: string; + /** + * Forward link to an external document associated with the rule. Applicable to dynamic rule + * only. + */ + 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. + */ +export interface BillingMeter extends ProxyOnlyResource { + /** + * Meter GUID onboarded in Commerce + */ + meterId?: string; + /** + * Azure Location of billable resource + */ + billingLocation?: string; + /** + * Short Name from App Service Azure pricing Page + */ + shortName?: string; + /** + * Friendly name of the meter + */ + friendlyName?: string; + /** + * App Service ResourceType meter used for + */ + resourceType?: string; + /** + * App Service OS type meter used for + */ + osType?: string; +} + +/** + * Object with a list of the resources that need to be moved and the resource group they should be + * moved to. + */ +export interface CsmMoveResourceEnvelope { + targetResourceGroup?: string; + resources?: string[]; +} + +/** + * Geographical region. + */ +export interface GeoRegion extends ProxyOnlyResource { + /** + * Region description. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly description?: string; + /** + * Display name for region. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly displayName?: string; + /** + * Display name for region. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly orgDomain?: string; +} + +/** + * Information needed to create resources on an App Service Environment. + */ +export interface HostingEnvironmentDeploymentInfo { + /** + * Name of the App Service Environment. + */ + name?: string; + /** + * Location of the App Service Environment. + */ + location?: string; +} /** * List of available locations (regions or App Service Environments) for @@ -4284,33 +4889,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 +4966,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 +5256,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 +5409,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 +5549,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 +5674,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 +5714,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 +5794,7 @@ export interface FunctionEnvelope extends ProxyOnlyResource { /** * Function secrets. */ -export interface FunctionSecrets extends ProxyOnlyResource { +export interface FunctionSecrets { /** * Secret key. */ @@ -5051,6 +5805,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 +5912,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 +5971,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 +6825,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 +6850,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 +6886,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 +6902,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 +6926,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 +6968,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 +6985,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 +6997,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 +7118,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. */ @@ -6331,7 +7221,17 @@ export interface SiteConfigResource extends ProxyOnlyResource { /** * Virtual Network name. */ - vnetName?: string; + 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 +7286,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 +7405,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 +7530,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 +7547,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 +7664,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 +7946,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 +8007,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 +8247,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 +8346,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 +8533,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". */ @@ -8264,6 +9213,46 @@ export interface ProviderGetAvailableStacksOptionalParams extends msRest.Request osTypeSelected?: OsTypeSelected; } +/** + * Optional Parameters. + */ +export interface ProviderGetFunctionAppStacksOptionalParams extends msRest.RequestOptionsBase { + /** + * Possible values include: 'Windows', 'Linux', 'All' + */ + stackOsType?: StackOsType; +} + +/** + * Optional Parameters. + */ +export interface ProviderGetFunctionAppStacksForLocationOptionalParams extends msRest.RequestOptionsBase { + /** + * Possible values include: 'Windows', 'Linux', 'All' + */ + stackOsType?: StackOsType1; +} + +/** + * Optional Parameters. + */ +export interface ProviderGetWebAppStacksForLocationOptionalParams extends msRest.RequestOptionsBase { + /** + * Possible values include: 'Windows', 'Linux', 'All' + */ + stackOsType?: StackOsType2; +} + +/** + * Optional Parameters. + */ +export interface ProviderGetWebAppStacksOptionalParams extends msRest.RequestOptionsBase { + /** + * Possible values include: 'Windows', 'Linux', 'All' + */ + stackOsType?: StackOsType3; +} + /** * Optional Parameters. */ @@ -8274,6 +9263,66 @@ 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 ProviderGetFunctionAppStacksNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Possible values include: 'Windows', 'Linux', 'All' + */ + stackOsType?: StackOsType; +} + +/** + * Optional Parameters. + */ +export interface ProviderGetFunctionAppStacksForLocationNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Possible values include: 'Windows', 'Linux', 'All' + */ + stackOsType?: StackOsType1; +} + +/** + * Optional Parameters. + */ +export interface ProviderGetWebAppStacksForLocationNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Possible values include: 'Windows', 'Linux', 'All' + */ + stackOsType?: StackOsType2; +} + +/** + * Optional Parameters. + */ +export interface ProviderGetWebAppStacksNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Possible values include: 'Windows', 'Linux', 'All' + */ + stackOsType?: StackOsType3; +} + +/** + * Optional Parameters. + */ +export interface ProviderGetAvailableStacksOnPremNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Possible values include: 'Windows', 'Linux', 'WindowsFunctions', 'LinuxFunctions' + */ + osTypeSelected?: OsTypeSelected1; +} + /** * Optional Parameters. */ @@ -8331,18 +9380,116 @@ export interface RecommendationsGetRuleDetailsByHostingEnvironmentOptionalParams /** * Specify true to update the last-seen timestamp of the recommendation object. */ - updateSeen?: boolean; + updateSeen?: boolean; + /** + * The GUID of the recommendation object if you query an expired one. You don't need to specify + * it to query an active entry. + */ + recommendationId?: string; +} + +/** + * Optional Parameters. + */ +export interface RecommendationsListHistoryForWebAppOptionalParams 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 RecommendationsListRecommendedRulesForWebAppOptionalParams 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 RecommendationsGetRuleDetailsByWebAppOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify true to update the last-seen timestamp of the recommendation object. + */ + updateSeen?: boolean; + /** + * The GUID of the recommendation object if you query an expired one. You don't need to specify + * it to query an active entry. + */ + 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; /** - * The GUID of the recommendation object if you query an expired one. You don't need to specify - * it to query an active entry. + * Return only channels specified in the filter. Filter is specified by using OData syntax. + * Example: $filter=channel eq 'Api' or channel eq 'Notification' */ - recommendationId?: string; + filter?: string; } /** * Optional Parameters. */ -export interface RecommendationsListHistoryForWebAppOptionalParams extends msRest.RequestOptionsBase { +export interface RecommendationsListHistoryForWebAppNextOptionalParams extends msRest.RequestOptionsBase { /** * Specify false to return all recommendations. The default is true, * which returns only expired recommendations. @@ -8359,7 +9506,7 @@ export interface RecommendationsListHistoryForWebAppOptionalParams extends msRes /** * Optional Parameters. */ -export interface RecommendationsListRecommendedRulesForWebAppOptionalParams extends msRest.RequestOptionsBase { +export interface RecommendationsListRecommendedRulesForWebAppNextOptionalParams extends msRest.RequestOptionsBase { /** * Specify true to return only the most critical recommendations. The default is * false, which returns all recommendations. @@ -8372,21 +9519,6 @@ export interface RecommendationsListRecommendedRulesForWebAppOptionalParams exte filter?: string; } -/** - * Optional Parameters. - */ -export interface RecommendationsGetRuleDetailsByWebAppOptionalParams extends msRest.RequestOptionsBase { - /** - * Specify true to update the last-seen timestamp of the recommendation object. - */ - updateSeen?: boolean; - /** - * The GUID of the recommendation object if you query an expired one. You don't need to specify - * it to query an active entry. - */ - recommendationId?: string; -} - /** * Optional Parameters. */ @@ -8445,6 +9577,44 @@ export interface WebSiteManagementClientListSiteIdentifiersAssignedToHostNameOpt 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; +} + /** * Optional Parameters. */ @@ -8768,6 +9938,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 +10044,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 +10122,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. */ @@ -9070,6 +10367,32 @@ export interface ApplicationStackCollection extends Array + */ +export interface FunctionAppStackCollection extends Array { + /** + * Link to next page of resources. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * Collection of Web app Stacks + * @extends Array + */ +export interface WebAppStackCollection extends Array { + /** + * Link to next page of resources. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + /** * @interface * Collection of recommendations. @@ -9255,9 +10578,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 +11012,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 +11039,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 +11137,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 +11220,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. @@ -9945,6 +11284,14 @@ export type SolutionType = 'QuickSolution' | 'DeepInvestigation' | 'BestPractice */ export type RenderingType = 'NoGraph' | 'Table' | 'TimeSeries' | 'TimeSeriesPerInstance'; +/** + * Defines values for StackOsTypes. + * Possible values include: 'windows', 'linux' + * @readonly + * @enum {string} + */ +export type StackOsTypes = 'windows' | 'linux'; + /** * Defines values for ResourceScopeType. * Possible values include: 'ServerFarm', 'Subscription', 'WebSite' @@ -10003,32 +11350,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' @@ -10092,23 +11413,55 @@ export type ContinuousWebJobStatus = 'Initializing' | 'Starting' | 'Running' | ' * @readonly * @enum {string} */ -export type WebJobType = 'Continuous' | 'Triggered'; +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' + * @readonly + * @enum {string} + */ +export type PublishingProfileFormat = 'FileZilla3' | 'WebDeploy' | 'Ftp'; + +/** + * Defines values for DnsVerificationTestResult. + * Possible values include: 'Passed', 'Failed', 'Skipped' + * @readonly + * @enum {string} + */ +export type DnsVerificationTestResult = 'Passed' | 'Failed' | 'Skipped'; + +/** + * Defines values for ClientCredentialMethod. + * Possible values include: 'ClientSecretPost' + * @readonly + * @enum {string} + */ +export type ClientCredentialMethod = 'ClientSecretPost'; /** - * Defines values for PublishingProfileFormat. - * Possible values include: 'FileZilla3', 'WebDeploy', 'Ftp' + * Defines values for ForwardProxyConvention. + * Possible values include: 'NoProxy', 'Standard', 'Custom' * @readonly * @enum {string} */ -export type PublishingProfileFormat = 'FileZilla3' | 'WebDeploy' | 'Ftp'; +export type ForwardProxyConvention = 'NoProxy' | 'Standard' | 'Custom'; /** - * Defines values for DnsVerificationTestResult. - * Possible values include: 'Passed', 'Failed', 'Skipped' + * Defines values for UnauthenticatedClientActionV2. + * Possible values include: 'RedirectToLoginPage', 'AllowAnonymous', 'Return401', 'Return403' * @readonly * @enum {string} */ -export type DnsVerificationTestResult = 'Passed' | 'Failed' | 'Skipped'; +export type UnauthenticatedClientActionV2 = 'RedirectToLoginPage' | 'AllowAnonymous' | 'Return401' | 'Return403'; /** * Defines values for MSDeployLogEntryType. @@ -10161,11 +11514,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. @@ -10233,6 +11586,38 @@ export type SkuName = 'Free' | 'Shared' | 'Basic' | 'Standard' | 'Premium' | 'Dy */ export type OsTypeSelected = 'Windows' | 'Linux' | 'WindowsFunctions' | 'LinuxFunctions'; +/** + * Defines values for StackOsType. + * Possible values include: 'Windows', 'Linux', 'All' + * @readonly + * @enum {string} + */ +export type StackOsType = 'Windows' | 'Linux' | 'All'; + +/** + * Defines values for StackOsType1. + * Possible values include: 'Windows', 'Linux', 'All' + * @readonly + * @enum {string} + */ +export type StackOsType1 = 'Windows' | 'Linux' | 'All'; + +/** + * Defines values for StackOsType2. + * Possible values include: 'Windows', 'Linux', 'All' + * @readonly + * @enum {string} + */ +export type StackOsType2 = 'Windows' | 'Linux' | 'All'; + +/** + * Defines values for StackOsType3. + * Possible values include: 'Windows', 'Linux', 'All' + * @readonly + * @enum {string} + */ +export type StackOsType3 = 'Windows' | 'Linux' | 'All'; + /** * Defines values for OsTypeSelected1. * Possible values include: 'Windows', 'Linux', 'WindowsFunctions', 'LinuxFunctions' @@ -11981,6 +13366,66 @@ export type ProviderGetAvailableStacksResponse = ApplicationStackCollection & { }; }; +/** + * Contains response data for the getFunctionAppStacks operation. + */ +export type ProviderGetFunctionAppStacksResponse = FunctionAppStackCollection & { + /** + * 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: FunctionAppStackCollection; + }; +}; + +/** + * Contains response data for the getFunctionAppStacksForLocation operation. + */ +export type ProviderGetFunctionAppStacksForLocationResponse = FunctionAppStackCollection & { + /** + * 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: FunctionAppStackCollection; + }; +}; + +/** + * Contains response data for the getWebAppStacksForLocation operation. + */ +export type ProviderGetWebAppStacksForLocationResponse = WebAppStackCollection & { + /** + * 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: WebAppStackCollection; + }; +}; + /** * Contains response data for the listOperations operation. */ @@ -12001,6 +13446,26 @@ export type ProviderListOperationsResponse = CsmOperationCollection & { }; }; +/** + * Contains response data for the getWebAppStacks operation. + */ +export type ProviderGetWebAppStacksResponse = WebAppStackCollection & { + /** + * 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: WebAppStackCollection; + }; +}; + /** * Contains response data for the getAvailableStacksOnPrem operation. */ @@ -12041,6 +13506,66 @@ export type ProviderGetAvailableStacksNextResponse = ApplicationStackCollection }; }; +/** + * Contains response data for the getFunctionAppStacksNext operation. + */ +export type ProviderGetFunctionAppStacksNextResponse = FunctionAppStackCollection & { + /** + * 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: FunctionAppStackCollection; + }; +}; + +/** + * Contains response data for the getFunctionAppStacksForLocationNext operation. + */ +export type ProviderGetFunctionAppStacksForLocationNextResponse = FunctionAppStackCollection & { + /** + * 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: FunctionAppStackCollection; + }; +}; + +/** + * Contains response data for the getWebAppStacksForLocationNext operation. + */ +export type ProviderGetWebAppStacksForLocationNextResponse = WebAppStackCollection & { + /** + * 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: WebAppStackCollection; + }; +}; + /** * Contains response data for the listOperationsNext operation. */ @@ -12061,6 +13586,26 @@ export type ProviderListOperationsNextResponse = CsmOperationCollection & { }; }; +/** + * Contains response data for the getWebAppStacksNext operation. + */ +export type ProviderGetWebAppStacksNextResponse = WebAppStackCollection & { + /** + * 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: WebAppStackCollection; + }; +}; + /** * Contains response data for the getAvailableStacksOnPremNext operation. */ @@ -12321,6 +13866,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 +14667,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 +14682,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 +14702,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 +14722,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 +14742,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 +14762,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 +14782,7 @@ export type WebAppsGetAppSettingKeyVaultReferenceResponse = KeyVaultReferenceRes /** * The response body as parsed JSON or XML */ - parsedBody: KeyVaultReferenceResource; + parsedBody: BackupRequest; }; }; @@ -14281,7 +15846,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 +15859,7 @@ export type WebAppsListInstanceIdentifiersResponse = WebAppInstanceCollection & /** * The response body as parsed JSON or XML */ - parsedBody: WebAppInstanceCollection; + parsedBody: WebAppInstanceStatusCollection; }; }; @@ -15541,6 +17106,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 +18246,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 +18259,7 @@ export type WebAppsListInstanceIdentifiersSlotResponse = WebAppInstanceCollectio /** * The response body as parsed JSON or XML */ - parsedBody: WebAppInstanceCollection; + parsedBody: WebAppInstanceStatusCollection; }; }; @@ -19154,7 +20759,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 +20772,7 @@ export type WebAppsListInstanceIdentifiersNextResponse = WebAppInstanceCollectio /** * The response body as parsed JSON or XML */ - parsedBody: WebAppInstanceCollection; + parsedBody: WebAppInstanceStatusCollection; }; }; @@ -19554,7 +21159,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 +21172,7 @@ export type WebAppsListInstanceIdentifiersSlotNextResponse = WebAppInstanceColle /** * The response body as parsed JSON or XML */ - parsedBody: WebAppInstanceCollection; + parsedBody: WebAppInstanceStatusCollection; }; }; @@ -20051,6 +21656,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..75e4ee6c1b10 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", @@ -2828,6 +2922,12 @@ export const Site: msRest.CompositeMapper = { name: "Uuid" } }, + storageAccountRequired: { + serializedName: "properties.storageAccountRequired", + type: { + name: "Boolean" + } + }, identity: { serializedName: "identity", type: { @@ -3265,6 +3365,12 @@ export const LogSpecification: msRest.CompositeMapper = { type: { name: "String" } + }, + logFilterPattern: { + serializedName: "logFilterPattern", + type: { + name: "String" + } } } } @@ -3444,6 +3550,17 @@ export const MetricSpecification: msRest.CompositeMapper = { } } } + }, + supportedAggregationTypes: { + serializedName: "supportedAggregationTypes", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } } } } @@ -5034,12 +5151,7 @@ export const AppServiceEnvironment: msRest.CompositeMapper = { internalLoadBalancingMode: { serializedName: "internalLoadBalancingMode", type: { - name: "Enum", - allowedValues: [ - "None", - "Web", - "Publishing" - ] + name: "String" } }, multiSize: { @@ -6301,6 +6413,30 @@ export const DiagnosticDetectorResponse: msRest.CompositeMapper = { } }; +export const AppInsightsWebAppStackSettings: msRest.CompositeMapper = { + serializedName: "AppInsightsWebAppStackSettings", + type: { + name: "Composite", + className: "AppInsightsWebAppStackSettings", + modelProperties: { + isSupported: { + readOnly: true, + serializedName: "isSupported", + type: { + name: "Boolean" + } + }, + isDefaultOff: { + readOnly: true, + serializedName: "isDefaultOff", + type: { + name: "Boolean" + } + } + } + } +}; + export const StackMinorVersion: msRest.CompositeMapper = { serializedName: "StackMinorVersion", type: { @@ -6504,106 +6640,127 @@ export const ApplicationStackResource: msRest.CompositeMapper = { } }; -export const Recommendation: msRest.CompositeMapper = { - serializedName: "Recommendation", +export const GitHubActionWebAppStackSettings: msRest.CompositeMapper = { + serializedName: "GitHubActionWebAppStackSettings", type: { name: "Composite", - className: "Recommendation", + className: "GitHubActionWebAppStackSettings", modelProperties: { - ...ProxyOnlyResource.type.modelProperties, - creationTime: { - serializedName: "properties.creationTime", + isSupported: { + readOnly: true, + serializedName: "isSupported", type: { - name: "DateTime" + name: "Boolean" } }, - recommendationId: { - serializedName: "properties.recommendationId", + supportedVersion: { + readOnly: true, + serializedName: "supportedVersion", type: { - name: "Uuid" + name: "String" + } + } + } + } +}; + +export const SiteConfigPropertiesDictionary: msRest.CompositeMapper = { + serializedName: "SiteConfigPropertiesDictionary", + type: { + name: "Composite", + className: "SiteConfigPropertiesDictionary", + modelProperties: { + use32BitWorkerProcess: { + readOnly: true, + serializedName: "use32BitWorkerProcess", + type: { + name: "Boolean" } }, - resourceId: { - serializedName: "properties.resourceId", + linuxFxVersion: { + readOnly: true, + serializedName: "linuxFxVersion", type: { name: "String" } }, - resourceScope: { - serializedName: "properties.resourceScope", + javaVersion: { + readOnly: true, + serializedName: "javaVersion", type: { name: "String" } }, - ruleName: { - serializedName: "properties.ruleName", + powerShellVersion: { + readOnly: true, + serializedName: "powerShellVersion", type: { name: "String" } - }, - displayName: { - serializedName: "properties.displayName", + } + } + } +}; + +export const FunctionAppRuntimeSettings: msRest.CompositeMapper = { + serializedName: "FunctionAppRuntimeSettings", + type: { + name: "Composite", + className: "FunctionAppRuntimeSettings", + modelProperties: { + runtimeVersion: { + readOnly: true, + serializedName: "runtimeVersion", type: { name: "String" } }, - message: { - serializedName: "properties.message", + remoteDebuggingSupported: { + readOnly: true, + serializedName: "remoteDebuggingSupported", type: { - name: "String" + name: "Boolean" } }, - level: { - serializedName: "properties.level", + appInsightsSettings: { + readOnly: true, + serializedName: "appInsightsSettings", type: { - name: "Enum", - allowedValues: [ - "Critical", - "Warning", - "Information", - "NonUrgentSuggestion" - ] + name: "Composite", + className: "AppInsightsWebAppStackSettings" } }, - channels: { - serializedName: "properties.channels", + gitHubActionSettings: { + readOnly: true, + serializedName: "gitHubActionSettings", type: { - name: "Enum", - allowedValues: [ - "Notification", - "Api", - "Email", - "Webhook", - "All" - ] + name: "Composite", + className: "GitHubActionWebAppStackSettings" } }, - categoryTags: { + appSettingsDictionary: { readOnly: true, - serializedName: "properties.categoryTags", + serializedName: "appSettingsDictionary", type: { - name: "Sequence", - element: { + name: "Dictionary", + value: { type: { name: "String" } } } }, - actionName: { - serializedName: "properties.actionName", - type: { - name: "String" - } - }, - enabled: { - serializedName: "properties.enabled", + siteConfigPropertiesDictionary: { + readOnly: true, + serializedName: "siteConfigPropertiesDictionary", type: { - name: "Number" + name: "Composite", + className: "SiteConfigPropertiesDictionary" } }, - states: { - serializedName: "properties.states", + supportedFunctionsExtensionVersions: { + readOnly: true, + serializedName: "supportedFunctionsExtensionVersions", type: { name: "Sequence", element: { @@ -6613,26 +6770,720 @@ export const Recommendation: msRest.CompositeMapper = { } } }, - startTime: { - serializedName: "properties.startTime", + isPreview: { + readOnly: true, + serializedName: "isPreview", type: { - name: "DateTime" + name: "Boolean" } }, - endTime: { - serializedName: "properties.endTime", + isDeprecated: { + readOnly: true, + serializedName: "isDeprecated", type: { - name: "DateTime" + name: "Boolean" } }, - nextNotificationTime: { - serializedName: "properties.nextNotificationTime", + isHidden: { + readOnly: true, + serializedName: "isHidden", type: { - name: "DateTime" + name: "Boolean" } }, - notificationExpirationTime: { - serializedName: "properties.notificationExpirationTime", + endOfLifeDate: { + readOnly: true, + serializedName: "endOfLifeDate", + type: { + name: "DateTime" + } + }, + isAutoUpdate: { + readOnly: true, + serializedName: "isAutoUpdate", + type: { + name: "Boolean" + } + }, + isEarlyAccess: { + readOnly: true, + serializedName: "isEarlyAccess", + type: { + name: "Boolean" + } + }, + isDefault: { + readOnly: true, + serializedName: "isDefault", + type: { + name: "Boolean" + } + } + } + } +}; + +export const FunctionAppRuntimes: msRest.CompositeMapper = { + serializedName: "FunctionAppRuntimes", + type: { + name: "Composite", + className: "FunctionAppRuntimes", + modelProperties: { + linuxRuntimeSettings: { + readOnly: true, + serializedName: "linuxRuntimeSettings", + type: { + name: "Composite", + className: "FunctionAppRuntimeSettings" + } + }, + windowsRuntimeSettings: { + readOnly: true, + serializedName: "windowsRuntimeSettings", + type: { + name: "Composite", + className: "FunctionAppRuntimeSettings" + } + } + } + } +}; + +export const FunctionAppMinorVersion: msRest.CompositeMapper = { + serializedName: "FunctionAppMinorVersion", + type: { + name: "Composite", + className: "FunctionAppMinorVersion", + modelProperties: { + displayText: { + readOnly: true, + serializedName: "displayText", + type: { + name: "String" + } + }, + value: { + readOnly: true, + serializedName: "value", + type: { + name: "String" + } + }, + stackSettings: { + readOnly: true, + serializedName: "stackSettings", + type: { + name: "Composite", + className: "FunctionAppRuntimes" + } + } + } + } +}; + +export const FunctionAppMajorVersion: msRest.CompositeMapper = { + serializedName: "FunctionAppMajorVersion", + type: { + name: "Composite", + className: "FunctionAppMajorVersion", + modelProperties: { + displayText: { + readOnly: true, + serializedName: "displayText", + type: { + name: "String" + } + }, + value: { + readOnly: true, + serializedName: "value", + type: { + name: "String" + } + }, + minorVersions: { + readOnly: true, + serializedName: "minorVersions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FunctionAppMinorVersion" + } + } + } + } + } + } +}; + +export const FunctionAppStack: msRest.CompositeMapper = { + serializedName: "FunctionAppStack", + type: { + name: "Composite", + className: "FunctionAppStack", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + location: { + readOnly: true, + serializedName: "location", + type: { + name: "String" + } + }, + displayText: { + readOnly: true, + serializedName: "properties.displayText", + type: { + name: "String" + } + }, + value: { + readOnly: true, + serializedName: "properties.value", + type: { + name: "String" + } + }, + majorVersions: { + readOnly: true, + serializedName: "properties.majorVersions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FunctionAppMajorVersion" + } + } + } + }, + preferredOs: { + readOnly: true, + serializedName: "properties.preferredOs", + type: { + name: "Enum", + allowedValues: [ + "windows", + "linux" + ] + } + } + } + } +}; + +export const LinuxJavaContainerSettings: msRest.CompositeMapper = { + serializedName: "LinuxJavaContainerSettings", + type: { + name: "Composite", + className: "LinuxJavaContainerSettings", + modelProperties: { + java11Runtime: { + readOnly: true, + serializedName: "java11Runtime", + type: { + name: "String" + } + }, + java8Runtime: { + readOnly: true, + serializedName: "java8Runtime", + type: { + name: "String" + } + }, + isPreview: { + readOnly: true, + serializedName: "isPreview", + type: { + name: "Boolean" + } + }, + isDeprecated: { + readOnly: true, + serializedName: "isDeprecated", + type: { + name: "Boolean" + } + }, + isHidden: { + readOnly: true, + serializedName: "isHidden", + type: { + name: "Boolean" + } + }, + endOfLifeDate: { + readOnly: true, + serializedName: "endOfLifeDate", + type: { + name: "DateTime" + } + }, + isAutoUpdate: { + readOnly: true, + serializedName: "isAutoUpdate", + type: { + name: "Boolean" + } + }, + isEarlyAccess: { + readOnly: true, + serializedName: "isEarlyAccess", + type: { + name: "Boolean" + } + } + } + } +}; + +export const WebAppRuntimeSettings: msRest.CompositeMapper = { + serializedName: "WebAppRuntimeSettings", + type: { + name: "Composite", + className: "WebAppRuntimeSettings", + modelProperties: { + runtimeVersion: { + readOnly: true, + serializedName: "runtimeVersion", + type: { + name: "String" + } + }, + remoteDebuggingSupported: { + readOnly: true, + serializedName: "remoteDebuggingSupported", + type: { + name: "Boolean" + } + }, + appInsightsSettings: { + readOnly: true, + serializedName: "appInsightsSettings", + type: { + name: "Composite", + className: "AppInsightsWebAppStackSettings" + } + }, + gitHubActionSettings: { + readOnly: true, + serializedName: "gitHubActionSettings", + type: { + name: "Composite", + className: "GitHubActionWebAppStackSettings" + } + }, + isPreview: { + readOnly: true, + serializedName: "isPreview", + type: { + name: "Boolean" + } + }, + isDeprecated: { + readOnly: true, + serializedName: "isDeprecated", + type: { + name: "Boolean" + } + }, + isHidden: { + readOnly: true, + serializedName: "isHidden", + type: { + name: "Boolean" + } + }, + endOfLifeDate: { + readOnly: true, + serializedName: "endOfLifeDate", + type: { + name: "DateTime" + } + }, + isAutoUpdate: { + readOnly: true, + serializedName: "isAutoUpdate", + type: { + name: "Boolean" + } + }, + isEarlyAccess: { + readOnly: true, + serializedName: "isEarlyAccess", + type: { + name: "Boolean" + } + } + } + } +}; + +export const WindowsJavaContainerSettings: msRest.CompositeMapper = { + serializedName: "WindowsJavaContainerSettings", + type: { + name: "Composite", + className: "WindowsJavaContainerSettings", + modelProperties: { + javaContainer: { + readOnly: true, + serializedName: "javaContainer", + type: { + name: "String" + } + }, + javaContainerVersion: { + readOnly: true, + serializedName: "javaContainerVersion", + type: { + name: "String" + } + }, + isPreview: { + readOnly: true, + serializedName: "isPreview", + type: { + name: "Boolean" + } + }, + isDeprecated: { + readOnly: true, + serializedName: "isDeprecated", + type: { + name: "Boolean" + } + }, + isHidden: { + readOnly: true, + serializedName: "isHidden", + type: { + name: "Boolean" + } + }, + endOfLifeDate: { + readOnly: true, + serializedName: "endOfLifeDate", + type: { + name: "DateTime" + } + }, + isAutoUpdate: { + readOnly: true, + serializedName: "isAutoUpdate", + type: { + name: "Boolean" + } + }, + isEarlyAccess: { + readOnly: true, + serializedName: "isEarlyAccess", + type: { + name: "Boolean" + } + } + } + } +}; + +export const WebAppRuntimes: msRest.CompositeMapper = { + serializedName: "WebAppRuntimes", + type: { + name: "Composite", + className: "WebAppRuntimes", + modelProperties: { + linuxRuntimeSettings: { + readOnly: true, + serializedName: "linuxRuntimeSettings", + type: { + name: "Composite", + className: "WebAppRuntimeSettings" + } + }, + windowsRuntimeSettings: { + readOnly: true, + serializedName: "windowsRuntimeSettings", + type: { + name: "Composite", + className: "WebAppRuntimeSettings" + } + }, + linuxContainerSettings: { + readOnly: true, + serializedName: "linuxContainerSettings", + type: { + name: "Composite", + className: "LinuxJavaContainerSettings" + } + }, + windowsContainerSettings: { + readOnly: true, + serializedName: "windowsContainerSettings", + type: { + name: "Composite", + className: "WindowsJavaContainerSettings" + } + } + } + } +}; + +export const WebAppMinorVersion: msRest.CompositeMapper = { + serializedName: "WebAppMinorVersion", + type: { + name: "Composite", + className: "WebAppMinorVersion", + modelProperties: { + displayText: { + readOnly: true, + serializedName: "displayText", + type: { + name: "String" + } + }, + value: { + readOnly: true, + serializedName: "value", + type: { + name: "String" + } + }, + stackSettings: { + readOnly: true, + serializedName: "stackSettings", + type: { + name: "Composite", + className: "WebAppRuntimes" + } + } + } + } +}; + +export const WebAppMajorVersion: msRest.CompositeMapper = { + serializedName: "WebAppMajorVersion", + type: { + name: "Composite", + className: "WebAppMajorVersion", + modelProperties: { + displayText: { + readOnly: true, + serializedName: "displayText", + type: { + name: "String" + } + }, + value: { + readOnly: true, + serializedName: "value", + type: { + name: "String" + } + }, + minorVersions: { + readOnly: true, + serializedName: "minorVersions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "WebAppMinorVersion" + } + } + } + } + } + } +}; + +export const WebAppStack: msRest.CompositeMapper = { + serializedName: "WebAppStack", + type: { + name: "Composite", + className: "WebAppStack", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + location: { + readOnly: true, + serializedName: "location", + type: { + name: "String" + } + }, + displayText: { + readOnly: true, + serializedName: "properties.displayText", + type: { + name: "String" + } + }, + value: { + readOnly: true, + serializedName: "properties.value", + type: { + name: "String" + } + }, + majorVersions: { + readOnly: true, + serializedName: "properties.majorVersions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "WebAppMajorVersion" + } + } + } + }, + preferredOs: { + readOnly: true, + serializedName: "properties.preferredOs", + type: { + name: "Enum", + allowedValues: [ + "windows", + "linux" + ] + } + } + } + } +}; + +export const Recommendation: msRest.CompositeMapper = { + serializedName: "Recommendation", + type: { + name: "Composite", + className: "Recommendation", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + creationTime: { + serializedName: "properties.creationTime", + type: { + name: "DateTime" + } + }, + recommendationId: { + serializedName: "properties.recommendationId", + type: { + name: "Uuid" + } + }, + resourceId: { + serializedName: "properties.resourceId", + type: { + name: "String" + } + }, + resourceScope: { + serializedName: "properties.resourceScope", + type: { + name: "String" + } + }, + ruleName: { + serializedName: "properties.ruleName", + type: { + name: "String" + } + }, + displayName: { + serializedName: "properties.displayName", + type: { + name: "String" + } + }, + message: { + serializedName: "properties.message", + type: { + name: "String" + } + }, + level: { + serializedName: "properties.level", + type: { + name: "Enum", + allowedValues: [ + "Critical", + "Warning", + "Information", + "NonUrgentSuggestion" + ] + } + }, + channels: { + serializedName: "properties.channels", + type: { + name: "Enum", + allowedValues: [ + "Notification", + "Api", + "Email", + "Webhook", + "All" + ] + } + }, + categoryTags: { + readOnly: true, + serializedName: "properties.categoryTags", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + actionName: { + serializedName: "properties.actionName", + type: { + name: "String" + } + }, + enabled: { + serializedName: "properties.enabled", + type: { + name: "Number" + } + }, + states: { + serializedName: "properties.states", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + startTime: { + serializedName: "properties.startTime", + type: { + name: "DateTime" + } + }, + endTime: { + serializedName: "properties.endTime", + type: { + name: "DateTime" + } + }, + nextNotificationTime: { + serializedName: "properties.nextNotificationTime", + type: { + name: "DateTime" + } + }, + notificationExpirationTime: { + serializedName: "properties.notificationExpirationTime", type: { name: "DateTime" } @@ -6785,6 +7636,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,207 +8381,363 @@ export const VnetValidationFailureDetails: msRest.CompositeMapper = { } }; -export const ApiKVReference: msRest.CompositeMapper = { - serializedName: "ApiKVReference", +export const AllowedAudiencesValidation: msRest.CompositeMapper = { + serializedName: "AllowedAudiencesValidation", + type: { + name: "Composite", + className: "AllowedAudiencesValidation", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + allowedAudiences: { + serializedName: "properties.allowedAudiences", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const AppRegistration: msRest.CompositeMapper = { + serializedName: "AppRegistration", type: { name: "Composite", - className: "ApiKVReference", + className: "AppRegistration", modelProperties: { - reference: { - serializedName: "reference", + ...ProxyOnlyResource.type.modelProperties, + appId: { + serializedName: "properties.appId", type: { name: "String" } }, - status: { - serializedName: "status", + appSecretSettingName: { + serializedName: "properties.appSecretSettingName", + type: { + name: "String" + } + } + } + } +}; + +export const FileSystemApplicationLogsConfig: msRest.CompositeMapper = { + serializedName: "FileSystemApplicationLogsConfig", + type: { + name: "Composite", + className: "FileSystemApplicationLogsConfig", + modelProperties: { + level: { + serializedName: "level", + defaultValue: 'Off', type: { name: "Enum", allowedValues: [ - "Initialized", - "Resolved", - "InvalidSyntax", - "MSINotEnabled", - "VaultNotFound", - "SecretNotFound", - "SecretVersionNotFound", - "AccessToKeyVaultDenied", - "OtherReasons" + "Off", + "Verbose", + "Information", + "Warning", + "Error" + ] + } + } + } + } +}; + +export const AzureTableStorageApplicationLogsConfig: msRest.CompositeMapper = { + serializedName: "AzureTableStorageApplicationLogsConfig", + type: { + name: "Composite", + className: "AzureTableStorageApplicationLogsConfig", + modelProperties: { + level: { + serializedName: "level", + type: { + name: "Enum", + allowedValues: [ + "Off", + "Verbose", + "Information", + "Warning", + "Error" ] } }, - vaultName: { - serializedName: "vaultName", + sasUrl: { + required: true, + serializedName: "sasUrl", type: { name: "String" } + } + } + } +}; + +export const AzureBlobStorageApplicationLogsConfig: msRest.CompositeMapper = { + serializedName: "AzureBlobStorageApplicationLogsConfig", + type: { + name: "Composite", + className: "AzureBlobStorageApplicationLogsConfig", + modelProperties: { + level: { + serializedName: "level", + type: { + name: "Enum", + allowedValues: [ + "Off", + "Verbose", + "Information", + "Warning", + "Error" + ] + } }, - secretName: { - serializedName: "secretName", + sasUrl: { + serializedName: "sasUrl", type: { name: "String" } }, - secretVersion: { - serializedName: "secretVersion", + retentionInDays: { + serializedName: "retentionInDays", + type: { + name: "Number" + } + } + } + } +}; + +export const ApplicationLogsConfig: msRest.CompositeMapper = { + serializedName: "ApplicationLogsConfig", + type: { + name: "Composite", + className: "ApplicationLogsConfig", + modelProperties: { + fileSystem: { + serializedName: "fileSystem", + type: { + name: "Composite", + className: "FileSystemApplicationLogsConfig" + } + }, + azureTableStorage: { + serializedName: "azureTableStorage", + type: { + name: "Composite", + className: "AzureTableStorageApplicationLogsConfig" + } + }, + azureBlobStorage: { + serializedName: "azureBlobStorage", + type: { + name: "Composite", + className: "AzureBlobStorageApplicationLogsConfig" + } + } + } + } +}; + +export const AuthPlatform: msRest.CompositeMapper = { + serializedName: "AuthPlatform", + type: { + name: "Composite", + className: "AuthPlatform", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + enabled: { + serializedName: "properties.enabled", + type: { + name: "Boolean" + } + }, + runtimeVersion: { + serializedName: "properties.runtimeVersion", type: { name: "String" } }, - identityType: { - serializedName: "identityType", + configFilePath: { + serializedName: "properties.configFilePath", type: { - name: "Enum", - allowedValues: [ - "SystemAssigned", - "UserAssigned", - "SystemAssigned, UserAssigned", - "None" - ] + name: "String" + } + } + } + } +}; + +export const AzureActiveDirectoryRegistration: msRest.CompositeMapper = { + serializedName: "AzureActiveDirectoryRegistration", + type: { + name: "Composite", + className: "AzureActiveDirectoryRegistration", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + openIdIssuer: { + serializedName: "properties.openIdIssuer", + type: { + name: "String" } }, - details: { - serializedName: "details", + clientId: { + serializedName: "properties.clientId", type: { name: "String" } }, - source: { - serializedName: "source", + clientSecretSettingName: { + serializedName: "properties.clientSecretSettingName", type: { - name: "Enum", - allowedValues: [ - "KeyVault" - ] + name: "String" } }, - location: { - serializedName: "location", + clientSecretCertificateThumbprint: { + serializedName: "properties.clientSecretCertificateThumbprint", type: { - name: "Enum", - allowedValues: [ - "ApplicationSetting" - ] + name: "String" } } } } }; -export const FileSystemApplicationLogsConfig: msRest.CompositeMapper = { - serializedName: "FileSystemApplicationLogsConfig", +export const AzureActiveDirectoryLogin: msRest.CompositeMapper = { + serializedName: "AzureActiveDirectoryLogin", type: { name: "Composite", - className: "FileSystemApplicationLogsConfig", + className: "AzureActiveDirectoryLogin", modelProperties: { - level: { - serializedName: "level", - defaultValue: 'Off', + ...ProxyOnlyResource.type.modelProperties, + disableWWWAuthenticate: { + serializedName: "properties.disableWWWAuthenticate", type: { - name: "Enum", - allowedValues: [ - "Off", - "Verbose", - "Information", - "Warning", - "Error" - ] + name: "Boolean" + } + }, + loginParameters: { + serializedName: "properties.loginParameters", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const AzureTableStorageApplicationLogsConfig: msRest.CompositeMapper = { - serializedName: "AzureTableStorageApplicationLogsConfig", +export const JwtClaimChecks: msRest.CompositeMapper = { + serializedName: "JwtClaimChecks", type: { name: "Composite", - className: "AzureTableStorageApplicationLogsConfig", + className: "JwtClaimChecks", modelProperties: { - level: { - serializedName: "level", + ...ProxyOnlyResource.type.modelProperties, + allowedGroups: { + serializedName: "properties.allowedGroups", type: { - name: "Enum", - allowedValues: [ - "Off", - "Verbose", - "Information", - "Warning", - "Error" - ] + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - sasUrl: { - required: true, - serializedName: "sasUrl", + allowedClientApplications: { + serializedName: "properties.allowedClientApplications", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const AzureBlobStorageApplicationLogsConfig: msRest.CompositeMapper = { - serializedName: "AzureBlobStorageApplicationLogsConfig", +export const AzureActiveDirectoryValidation: msRest.CompositeMapper = { + serializedName: "AzureActiveDirectoryValidation", type: { name: "Composite", - className: "AzureBlobStorageApplicationLogsConfig", + className: "AzureActiveDirectoryValidation", modelProperties: { - level: { - serializedName: "level", - type: { - name: "Enum", - allowedValues: [ - "Off", - "Verbose", - "Information", - "Warning", - "Error" - ] - } - }, - sasUrl: { - serializedName: "sasUrl", + ...ProxyOnlyResource.type.modelProperties, + jwtClaimChecks: { + serializedName: "properties.jwtClaimChecks", type: { - name: "String" + name: "Composite", + className: "JwtClaimChecks" } }, - retentionInDays: { - serializedName: "retentionInDays", + allowedAudiences: { + serializedName: "properties.allowedAudiences", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const ApplicationLogsConfig: msRest.CompositeMapper = { - serializedName: "ApplicationLogsConfig", +export const AzureActiveDirectory: msRest.CompositeMapper = { + serializedName: "AzureActiveDirectory", type: { name: "Composite", - className: "ApplicationLogsConfig", + className: "AzureActiveDirectory", modelProperties: { - fileSystem: { - serializedName: "fileSystem", + ...ProxyOnlyResource.type.modelProperties, + enabled: { + serializedName: "properties.enabled", + type: { + name: "Boolean" + } + }, + registration: { + serializedName: "properties.registration", type: { name: "Composite", - className: "FileSystemApplicationLogsConfig" + className: "AzureActiveDirectoryRegistration" } }, - azureTableStorage: { - serializedName: "azureTableStorage", + login: { + serializedName: "properties.login", type: { name: "Composite", - className: "AzureTableStorageApplicationLogsConfig" + className: "AzureActiveDirectoryLogin" } }, - azureBlobStorage: { - serializedName: "azureBlobStorage", + validation: { + serializedName: "properties.validation", type: { name: "Composite", - className: "AzureBlobStorageApplicationLogsConfig" + className: "AzureActiveDirectoryValidation" + } + }, + isAutoProvisioned: { + serializedName: "properties.isAutoProvisioned", + type: { + name: "Boolean" } } } @@ -8067,6 +9138,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 +9576,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 +9833,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 +10106,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 +10197,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: { @@ -8943,18 +10348,132 @@ export const FunctionSecrets: msRest.CompositeMapper = { name: "Composite", className: "FunctionSecrets", modelProperties: { - ...ProxyOnlyResource.type.modelProperties, key: { - serializedName: "properties.key", + serializedName: "key", type: { name: "String" } }, triggerUrl: { - serializedName: "properties.trigger_url", + 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: "Google", + 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" + } + }, + validation: { + serializedName: "properties.validation", + type: { + name: "Composite", + className: "AllowedAudiencesValidation" + } } } } @@ -9053,26 +10572,121 @@ export const HostNameBinding: msRest.CompositeMapper = { ] } }, - sslState: { - serializedName: "properties.sslState", + sslState: { + serializedName: "properties.sslState", + type: { + name: "Enum", + allowedValues: [ + "Disabled", + "SniEnabled", + "IpBasedEnabled" + ] + } + }, + thumbprint: { + serializedName: "properties.thumbprint", + type: { + name: "String" + } + }, + virtualIP: { + readOnly: true, + serializedName: "properties.virtualIP", + type: { + name: "String" + } + } + } + } +}; + +export const HttpLogsConfig: msRest.CompositeMapper = { + serializedName: "HttpLogsConfig", + type: { + name: "Composite", + className: "HttpLogsConfig", + modelProperties: { + fileSystem: { + serializedName: "fileSystem", + type: { + name: "Composite", + className: "FileSystemHttpLogsConfig" + } + }, + azureBlobStorage: { + serializedName: "azureBlobStorage", + type: { + name: "Composite", + className: "AzureBlobStorageHttpLogsConfig" + } + } + } + } +}; + +export const HttpSettingsRoutes: msRest.CompositeMapper = { + serializedName: "HttpSettingsRoutes", + type: { + name: "Composite", + className: "HttpSettingsRoutes", + modelProperties: { + ...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" + } + }, + routes: { + serializedName: "properties.routes", type: { - name: "Enum", - allowedValues: [ - "Disabled", - "SniEnabled", - "IpBasedEnabled" - ] + name: "Composite", + className: "HttpSettingsRoutes" } }, - thumbprint: { - serializedName: "properties.thumbprint", + 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" } }, - virtualIP: { - readOnly: true, - serializedName: "properties.virtualIP", + consumerSecretSettingName: { + serializedName: "properties.consumerSecretSettingName", type: { name: "String" } @@ -9081,24 +10695,82 @@ export const HostNameBinding: msRest.CompositeMapper = { } }; -export const HttpLogsConfig: msRest.CompositeMapper = { - serializedName: "HttpLogsConfig", +export const Twitter: msRest.CompositeMapper = { + serializedName: "Twitter", type: { name: "Composite", - className: "HttpLogsConfig", + className: "Twitter", modelProperties: { - fileSystem: { - serializedName: "fileSystem", + ...ProxyOnlyResource.type.modelProperties, + enabled: { + serializedName: "properties.enabled", + type: { + name: "Boolean" + } + }, + registration: { + serializedName: "properties.registration", type: { name: "Composite", - className: "FileSystemHttpLogsConfig" + className: "TwitterRegistration" + } + } + } + } +}; + +export const IdentityProviders: msRest.CompositeMapper = { + serializedName: "IdentityProviders", + type: { + name: "Composite", + className: "IdentityProviders", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + azureActiveDirectory: { + serializedName: "properties.azureActiveDirectory", + type: { + name: "Composite", + className: "AzureActiveDirectory" } }, - azureBlobStorage: { - serializedName: "azureBlobStorage", + facebook: { + serializedName: "properties.facebook", type: { name: "Composite", - className: "AzureBlobStorageHttpLogsConfig" + 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: "CustomOpenIdConnectProvider" + } + } } } } @@ -9127,111 +10799,133 @@ export const KeyInfo: msRest.CompositeMapper = { } }; -export const KeyVaultReferenceCollection: msRest.CompositeMapper = { - serializedName: "KeyVaultReferenceCollection", +export const LoginRoutes: msRest.CompositeMapper = { + serializedName: "LoginRoutes", type: { name: "Composite", - className: "KeyVaultReferenceCollection", + className: "LoginRoutes", modelProperties: { ...ProxyOnlyResource.type.modelProperties, - keyToReferenceStatuses: { - serializedName: "properties.keyToReferenceStatuses", + logoutEndpoint: { + serializedName: "properties.logoutEndpoint", type: { - name: "Dictionary", - value: { - type: { - name: "Composite", - className: "ApiKVReference" - } - } + name: "String" } } } } }; -export const KeyVaultReferenceResource: msRest.CompositeMapper = { - serializedName: "KeyVaultReferenceResource", +export const TokenStore: msRest.CompositeMapper = { + serializedName: "TokenStore", type: { name: "Composite", - className: "KeyVaultReferenceResource", + className: "TokenStore", modelProperties: { ...ProxyOnlyResource.type.modelProperties, - reference: { - serializedName: "properties.reference", + enabled: { + serializedName: "properties.enabled", type: { - name: "String" + 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 +12362,8 @@ export const SiteAuthSettings: msRest.CompositeMapper = { "Facebook", "Google", "MicrosoftAccount", - "Twitter" + "Twitter", + "Github" ] } }, @@ -10690,6 +12385,12 @@ export const SiteAuthSettings: msRest.CompositeMapper = { name: "String" } }, + clientSecretSettingName: { + serializedName: "properties.clientSecretSettingName", + type: { + name: "String" + } + }, clientSecretCertificateThumbprint: { serializedName: "properties.clientSecretCertificateThumbprint", type: { @@ -10730,6 +12431,12 @@ export const SiteAuthSettings: msRest.CompositeMapper = { } } }, + aadClaimsAuthorization: { + serializedName: "properties.aadClaimsAuthorization", + type: { + name: "String" + } + }, googleClientId: { serializedName: "properties.googleClientId", type: { @@ -10742,6 +12449,12 @@ export const SiteAuthSettings: msRest.CompositeMapper = { name: "String" } }, + googleClientSecretSettingName: { + serializedName: "properties.googleClientSecretSettingName", + type: { + name: "String" + } + }, googleOAuthScopes: { serializedName: "properties.googleOAuthScopes", type: { @@ -10765,6 +12478,12 @@ export const SiteAuthSettings: msRest.CompositeMapper = { name: "String" } }, + facebookAppSecretSettingName: { + serializedName: "properties.facebookAppSecretSettingName", + type: { + name: "String" + } + }, facebookOAuthScopes: { serializedName: "properties.facebookOAuthScopes", type: { @@ -10776,6 +12495,35 @@ export const SiteAuthSettings: msRest.CompositeMapper = { } } }, + gitHubClientId: { + serializedName: "properties.gitHubClientId", + type: { + name: "String" + } + }, + gitHubClientSecret: { + serializedName: "properties.gitHubClientSecret", + type: { + name: "String" + } + }, + gitHubClientSecretSettingName: { + serializedName: "properties.gitHubClientSecretSettingName", + type: { + name: "String" + } + }, + gitHubOAuthScopes: { + serializedName: "properties.gitHubOAuthScopes", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, twitterConsumerKey: { serializedName: "properties.twitterConsumerKey", type: { @@ -10788,6 +12536,12 @@ export const SiteAuthSettings: msRest.CompositeMapper = { name: "String" } }, + twitterConsumerSecretSettingName: { + serializedName: "properties.twitterConsumerSecretSettingName", + type: { + name: "String" + } + }, microsoftAccountClientId: { serializedName: "properties.microsoftAccountClientId", type: { @@ -10800,6 +12554,12 @@ export const SiteAuthSettings: msRest.CompositeMapper = { name: "String" } }, + microsoftAccountClientSecretSettingName: { + serializedName: "properties.microsoftAccountClientSecretSettingName", + type: { + name: "String" + } + }, microsoftAccountOAuthScopes: { serializedName: "properties.microsoftAccountOAuthScopes", type: { @@ -10810,6 +12570,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" + } } } } @@ -10980,27 +12798,15 @@ export const SiteConfigResource: msRest.CompositeMapper = { } }, remoteDebuggingVersion: { - serializedName: "properties.remoteDebuggingVersion", - type: { - name: "String" - } - }, - httpLoggingEnabled: { - serializedName: "properties.httpLoggingEnabled", - type: { - name: "Boolean" - } - }, - acrUseManagedIdentityCreds: { - serializedName: "properties.acrUseManagedIdentityCreds", + serializedName: "properties.remoteDebuggingVersion", type: { - name: "Boolean" + name: "String" } }, - acrUserManagedIdentityID: { - serializedName: "properties.acrUserManagedIdentityID", + httpLoggingEnabled: { + serializedName: "properties.httpLoggingEnabled", type: { - name: "String" + name: "Boolean" } }, logsDirectorySizeLimit: { @@ -11193,6 +12999,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 +13107,12 @@ export const SiteConfigResource: msRest.CompositeMapper = { name: "String" } }, + scmMinTlsVersion: { + serializedName: "properties.scmMinTlsVersion", + type: { + name: "String" + } + }, ftpsState: { serializedName: "properties.ftpsState", type: { @@ -11480,24 +13304,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 +13515,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 +13537,12 @@ export const SitePatchResource: msRest.CompositeMapper = { name: "Boolean" } }, + customDomainVerificationId: { + serializedName: "properties.customDomainVerificationId", + type: { + name: "String" + } + }, outboundIpAddresses: { readOnly: true, serializedName: "properties.outboundIpAddresses", @@ -11894,6 +13716,12 @@ export const SiteSourceControl: msRest.CompositeMapper = { name: "Boolean" } }, + isGitHubAction: { + serializedName: "properties.isGitHubAction", + type: { + name: "Boolean" + } + }, deploymentRollbackEnabled: { serializedName: "properties.deploymentRollbackEnabled", type: { @@ -12351,60 +14179,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 +14237,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 +14681,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 +14859,7 @@ export const AppServiceEnvironmentResource: msRest.CompositeMapper = { internalLoadBalancingMode: { serializedName: "properties.internalLoadBalancingMode", type: { - name: "Enum", - allowedValues: [ - "None", - "Web", - "Publishing" - ] + name: "String" } }, multiSize: { @@ -13290,12 +15174,7 @@ export const AppServiceEnvironmentPatchResource: msRest.CompositeMapper = { internalLoadBalancingMode: { serializedName: "properties.internalLoadBalancingMode", type: { - name: "Enum", - allowedValues: [ - "None", - "Web", - "Publishing" - ] + name: "String" } }, multiSize: { @@ -14597,6 +16476,66 @@ export const ApplicationStackCollection: msRest.CompositeMapper = { } }; +export const FunctionAppStackCollection: msRest.CompositeMapper = { + serializedName: "FunctionAppStackCollection", + type: { + name: "Composite", + className: "FunctionAppStackCollection", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FunctionAppStack" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const WebAppStackCollection: msRest.CompositeMapper = { + serializedName: "WebAppStackCollection", + type: { + name: "Composite", + className: "WebAppStackCollection", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "WebAppStack" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const RecommendationCollection: msRest.CompositeMapper = { serializedName: "RecommendationCollection", type: { @@ -15017,11 +16956,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 +16970,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..2700c4d02441 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: { @@ -748,6 +737,18 @@ export const sourceControlType: msRest.OperationURLParameter = { } } }; +export const stackOsType: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "stackOsType" + ], + mapper: { + serializedName: "stackOsType", + type: { + name: "String" + } + } +}; export const startTime: msRest.OperationQueryParameter = { parameterPath: [ "options", diff --git a/sdk/appservice/arm-appservice/src/models/providerMappers.ts b/sdk/appservice/arm-appservice/src/models/providerMappers.ts index 23b1be4a88b7..bd7d73772ce4 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,17 @@ export { AbnormalTimePeriod, Address, AddressResponse, + AllowedAudiencesValidation, AnalysisData, AnalysisDefinition, ApiDefinitionInfo, - ApiKVReference, ApiManagementConfig, + AppInsightsWebAppStackSettings, ApplicationLogsConfig, ApplicationStack, ApplicationStackCollection, ApplicationStackResource, + AppRegistration, AppServiceCertificate, AppServiceCertificateOrder, AppServiceCertificateOrderPatchResource, @@ -29,10 +31,15 @@ export { AppServicePlan, AppServicePlanPatchResource, ArmIdWrapper, + AuthPlatform, AutoHealActions, AutoHealCustomAction, AutoHealRules, AutoHealTriggers, + AzureActiveDirectory, + AzureActiveDirectoryLogin, + AzureActiveDirectoryRegistration, + AzureActiveDirectoryValidation, AzureBlobStorageApplicationLogsConfig, AzureBlobStorageHttpLogsConfig, AzureStorageInfoValue, @@ -43,12 +50,14 @@ export { BackupSchedule, BaseResource, BillingMeter, + BlobStorageTokenStore, Capability, Certificate, CertificateDetails, CertificateEmail, CertificateOrderAction, CertificatePatchResource, + ClientRegistration, CloningInfo, ConnectionStringDictionary, ConnStringInfo, @@ -61,6 +70,7 @@ export { ContainerNetworkInterfaceStatistics, ContainerThrottlingData, ContinuousWebJob, + CookieExpiration, CorsSettings, CsmOperationCollection, CsmOperationDescription, @@ -69,6 +79,7 @@ export { CsmPublishingCredentialsPoliciesCollection, CsmPublishingCredentialsPoliciesEntity, CustomHostnameAnalysisResult, + CustomOpenIdConnectProvider, DatabaseBackupSetting, DataSource, DataTableResponseColumn, @@ -97,24 +108,42 @@ export { EnabledConfig, ErrorEntity, Experiments, + Facebook, FileSystemApplicationLogsConfig, FileSystemHttpLogsConfig, + FileSystemTokenStore, + ForwardProxy, + FunctionAppMajorVersion, + FunctionAppMinorVersion, + FunctionAppRuntimes, + FunctionAppRuntimeSettings, + FunctionAppStack, + FunctionAppStackCollection, FunctionEnvelope, - FunctionSecrets, GeoRegion, + GitHub, + GitHubActionWebAppStackSettings, + GlobalValidation, + Google, HandlerMapping, HostingEnvironmentProfile, HostName, HostNameBinding, HostNameSslState, HttpLogsConfig, + HttpSettings, + HttpSettingsRoutes, HybridConnection, HybridConnectionKey, HybridConnectionLimits, Identifier, + IdentityProviders, IpSecurityRestriction, - KeyVaultReferenceCollection, - KeyVaultReferenceResource, + JwtClaimChecks, + LinuxJavaContainerSettings, + Login, + LoginRoutes, + LoginScopes, LogSpecification, ManagedServiceIdentity, ManagedServiceIdentityUserAssignedIdentitiesValue, @@ -129,6 +158,11 @@ export { NameValuePair, NetworkAccessControlEntry, NetworkFeatures, + Nonce, + OpenIdConnectClientCredential, + OpenIdConnectConfig, + OpenIdConnectLogin, + OpenIdConnectRegistration, PremierAddOn, PremierAddOnOffer, PremierAddOnPatchResource, @@ -161,11 +195,12 @@ export { ServiceSpecification, Site, SiteAuthSettings, + SiteAuthSettingsV2, SiteConfig, + SiteConfigPropertiesDictionary, SiteConfigResource, SiteConfigurationSnapshotInfo, SiteExtensionInfo, - SiteInstance, SiteLimits, SiteLogsConfig, SiteMachineKey, @@ -193,6 +228,8 @@ export { StaticSiteFunctionOverviewARMResource, StaticSitePatchResource, StaticSiteResetPropertiesARMResource, + StaticSitesWorkflowPreview, + StaticSitesWorkflowPreviewRequest, StaticSiteUserARMResource, StaticSiteUserInvitationRequestResource, StaticSiteUserInvitationResponseResource, @@ -201,10 +238,14 @@ export { StorageMigrationResponse, StringDictionary, SwiftVirtualNetwork, + SystemData, + TokenStore, TopLevelDomain, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, + Twitter, + TwitterRegistration, Usage, User, VirtualApplication, @@ -217,8 +258,15 @@ export { VnetRoute, VnetValidationFailureDetails, VnetValidationTestFailure, + WebAppMajorVersion, + WebAppMinorVersion, + WebAppRuntimes, + WebAppRuntimeSettings, + WebAppStack, + WebAppStackCollection, WebJob, WebSiteInstanceStatus, + WindowsJavaContainerSettings, WorkerPool, WorkerPoolResource } from "../models/mappers"; diff --git a/sdk/appservice/arm-appservice/src/models/recommendationsMappers.ts b/sdk/appservice/arm-appservice/src/models/recommendationsMappers.ts index d05cfcccc925..ac0cfd64c68a 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,16 @@ export { AbnormalTimePeriod, Address, AddressResponse, + AllowedAudiencesValidation, AnalysisData, AnalysisDefinition, ApiDefinitionInfo, - ApiKVReference, ApiManagementConfig, + AppInsightsWebAppStackSettings, ApplicationLogsConfig, ApplicationStack, ApplicationStackResource, + AppRegistration, AppServiceCertificate, AppServiceCertificateOrder, AppServiceCertificateOrderPatchResource, @@ -28,10 +30,15 @@ export { AppServicePlan, AppServicePlanPatchResource, ArmIdWrapper, + AuthPlatform, AutoHealActions, AutoHealCustomAction, AutoHealRules, AutoHealTriggers, + AzureActiveDirectory, + AzureActiveDirectoryLogin, + AzureActiveDirectoryRegistration, + AzureActiveDirectoryValidation, AzureBlobStorageApplicationLogsConfig, AzureBlobStorageHttpLogsConfig, AzureStorageInfoValue, @@ -42,12 +49,14 @@ export { BackupSchedule, BaseResource, BillingMeter, + BlobStorageTokenStore, Capability, Certificate, CertificateDetails, CertificateEmail, CertificateOrderAction, CertificatePatchResource, + ClientRegistration, CloningInfo, ConnectionStringDictionary, ConnStringInfo, @@ -60,10 +69,12 @@ export { ContainerNetworkInterfaceStatistics, ContainerThrottlingData, ContinuousWebJob, + CookieExpiration, CorsSettings, CsmPublishingCredentialsPoliciesCollection, CsmPublishingCredentialsPoliciesEntity, CustomHostnameAnalysisResult, + CustomOpenIdConnectProvider, DatabaseBackupSetting, DataSource, DataTableResponseColumn, @@ -91,24 +102,41 @@ export { EnabledConfig, ErrorEntity, Experiments, + Facebook, FileSystemApplicationLogsConfig, FileSystemHttpLogsConfig, + FileSystemTokenStore, + ForwardProxy, + FunctionAppMajorVersion, + FunctionAppMinorVersion, + FunctionAppRuntimes, + FunctionAppRuntimeSettings, + FunctionAppStack, FunctionEnvelope, - FunctionSecrets, GeoRegion, + GitHub, + GitHubActionWebAppStackSettings, + GlobalValidation, + Google, HandlerMapping, HostingEnvironmentProfile, HostName, HostNameBinding, HostNameSslState, HttpLogsConfig, + HttpSettings, + HttpSettingsRoutes, HybridConnection, HybridConnectionKey, HybridConnectionLimits, Identifier, + IdentityProviders, IpSecurityRestriction, - KeyVaultReferenceCollection, - KeyVaultReferenceResource, + JwtClaimChecks, + LinuxJavaContainerSettings, + Login, + LoginRoutes, + LoginScopes, ManagedServiceIdentity, ManagedServiceIdentityUserAssignedIdentitiesValue, MigrateMySqlRequest, @@ -120,6 +148,11 @@ export { NameValuePair, NetworkAccessControlEntry, NetworkFeatures, + Nonce, + OpenIdConnectClientCredential, + OpenIdConnectConfig, + OpenIdConnectLogin, + OpenIdConnectRegistration, PremierAddOn, PremierAddOnOffer, PremierAddOnPatchResource, @@ -152,11 +185,12 @@ export { RestoreRequest, Site, SiteAuthSettings, + SiteAuthSettingsV2, SiteConfig, + SiteConfigPropertiesDictionary, SiteConfigResource, SiteConfigurationSnapshotInfo, SiteExtensionInfo, - SiteInstance, SiteLimits, SiteLogsConfig, SiteMachineKey, @@ -184,6 +218,8 @@ export { StaticSiteFunctionOverviewARMResource, StaticSitePatchResource, StaticSiteResetPropertiesARMResource, + StaticSitesWorkflowPreview, + StaticSitesWorkflowPreviewRequest, StaticSiteUserARMResource, StaticSiteUserInvitationRequestResource, StaticSiteUserInvitationResponseResource, @@ -192,10 +228,14 @@ export { StorageMigrationResponse, StringDictionary, SwiftVirtualNetwork, + SystemData, + TokenStore, TopLevelDomain, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, + Twitter, + TwitterRegistration, Usage, User, VirtualApplication, @@ -208,8 +248,14 @@ export { VnetRoute, VnetValidationFailureDetails, VnetValidationTestFailure, + WebAppMajorVersion, + WebAppMinorVersion, + WebAppRuntimes, + WebAppRuntimeSettings, + WebAppStack, WebJob, WebSiteInstanceStatus, + WindowsJavaContainerSettings, WorkerPool, WorkerPoolResource } from "../models/mappers"; diff --git a/sdk/appservice/arm-appservice/src/models/resourceHealthMetadataOperationsMappers.ts b/sdk/appservice/arm-appservice/src/models/resourceHealthMetadataOperationsMappers.ts index e432f144f6fb..eac4c7f0ae88 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,16 @@ export { AbnormalTimePeriod, Address, AddressResponse, + AllowedAudiencesValidation, AnalysisData, AnalysisDefinition, ApiDefinitionInfo, - ApiKVReference, ApiManagementConfig, + AppInsightsWebAppStackSettings, ApplicationLogsConfig, ApplicationStack, ApplicationStackResource, + AppRegistration, AppServiceCertificate, AppServiceCertificateOrder, AppServiceCertificateOrderPatchResource, @@ -28,10 +30,15 @@ export { AppServicePlan, AppServicePlanPatchResource, ArmIdWrapper, + AuthPlatform, AutoHealActions, AutoHealCustomAction, AutoHealRules, AutoHealTriggers, + AzureActiveDirectory, + AzureActiveDirectoryLogin, + AzureActiveDirectoryRegistration, + AzureActiveDirectoryValidation, AzureBlobStorageApplicationLogsConfig, AzureBlobStorageHttpLogsConfig, AzureStorageInfoValue, @@ -42,12 +49,14 @@ export { BackupSchedule, BaseResource, BillingMeter, + BlobStorageTokenStore, Capability, Certificate, CertificateDetails, CertificateEmail, CertificateOrderAction, CertificatePatchResource, + ClientRegistration, CloningInfo, ConnectionStringDictionary, ConnStringInfo, @@ -60,10 +69,12 @@ export { ContainerNetworkInterfaceStatistics, ContainerThrottlingData, ContinuousWebJob, + CookieExpiration, CorsSettings, CsmPublishingCredentialsPoliciesCollection, CsmPublishingCredentialsPoliciesEntity, CustomHostnameAnalysisResult, + CustomOpenIdConnectProvider, DatabaseBackupSetting, DataSource, DataTableResponseColumn, @@ -91,24 +102,41 @@ export { EnabledConfig, ErrorEntity, Experiments, + Facebook, FileSystemApplicationLogsConfig, FileSystemHttpLogsConfig, + FileSystemTokenStore, + ForwardProxy, + FunctionAppMajorVersion, + FunctionAppMinorVersion, + FunctionAppRuntimes, + FunctionAppRuntimeSettings, + FunctionAppStack, FunctionEnvelope, - FunctionSecrets, GeoRegion, + GitHub, + GitHubActionWebAppStackSettings, + GlobalValidation, + Google, HandlerMapping, HostingEnvironmentProfile, HostName, HostNameBinding, HostNameSslState, HttpLogsConfig, + HttpSettings, + HttpSettingsRoutes, HybridConnection, HybridConnectionKey, HybridConnectionLimits, Identifier, + IdentityProviders, IpSecurityRestriction, - KeyVaultReferenceCollection, - KeyVaultReferenceResource, + JwtClaimChecks, + LinuxJavaContainerSettings, + Login, + LoginRoutes, + LoginScopes, ManagedServiceIdentity, ManagedServiceIdentityUserAssignedIdentitiesValue, MigrateMySqlRequest, @@ -120,6 +148,11 @@ export { NameValuePair, NetworkAccessControlEntry, NetworkFeatures, + Nonce, + OpenIdConnectClientCredential, + OpenIdConnectConfig, + OpenIdConnectLogin, + OpenIdConnectRegistration, PremierAddOn, PremierAddOnOffer, PremierAddOnPatchResource, @@ -152,11 +185,12 @@ export { RestoreRequest, Site, SiteAuthSettings, + SiteAuthSettingsV2, SiteConfig, + SiteConfigPropertiesDictionary, SiteConfigResource, SiteConfigurationSnapshotInfo, SiteExtensionInfo, - SiteInstance, SiteLimits, SiteLogsConfig, SiteMachineKey, @@ -184,6 +218,8 @@ export { StaticSiteFunctionOverviewARMResource, StaticSitePatchResource, StaticSiteResetPropertiesARMResource, + StaticSitesWorkflowPreview, + StaticSitesWorkflowPreviewRequest, StaticSiteUserARMResource, StaticSiteUserInvitationRequestResource, StaticSiteUserInvitationResponseResource, @@ -192,10 +228,14 @@ export { StorageMigrationResponse, StringDictionary, SwiftVirtualNetwork, + SystemData, + TokenStore, TopLevelDomain, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, + Twitter, + TwitterRegistration, Usage, User, VirtualApplication, @@ -208,8 +248,14 @@ export { VnetRoute, VnetValidationFailureDetails, VnetValidationTestFailure, + WebAppMajorVersion, + WebAppMinorVersion, + WebAppRuntimes, + WebAppRuntimeSettings, + WebAppStack, WebJob, WebSiteInstanceStatus, + WindowsJavaContainerSettings, WorkerPool, WorkerPoolResource } from "../models/mappers"; diff --git a/sdk/appservice/arm-appservice/src/models/staticSitesMappers.ts b/sdk/appservice/arm-appservice/src/models/staticSitesMappers.ts index a7209aaad745..07e83e928781 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,16 @@ export { AbnormalTimePeriod, Address, AddressResponse, + AllowedAudiencesValidation, AnalysisData, AnalysisDefinition, ApiDefinitionInfo, - ApiKVReference, ApiManagementConfig, + AppInsightsWebAppStackSettings, ApplicationLogsConfig, ApplicationStack, ApplicationStackResource, + AppRegistration, AppServiceCertificate, AppServiceCertificateOrder, AppServiceCertificateOrderPatchResource, @@ -28,10 +30,15 @@ export { AppServicePlan, AppServicePlanPatchResource, ArmIdWrapper, + AuthPlatform, AutoHealActions, AutoHealCustomAction, AutoHealRules, AutoHealTriggers, + AzureActiveDirectory, + AzureActiveDirectoryLogin, + AzureActiveDirectoryRegistration, + AzureActiveDirectoryValidation, AzureBlobStorageApplicationLogsConfig, AzureBlobStorageHttpLogsConfig, AzureStorageInfoValue, @@ -42,12 +49,14 @@ export { BackupSchedule, BaseResource, BillingMeter, + BlobStorageTokenStore, Capability, Certificate, CertificateDetails, CertificateEmail, CertificateOrderAction, CertificatePatchResource, + ClientRegistration, CloningInfo, ConnectionStringDictionary, ConnStringInfo, @@ -60,10 +69,12 @@ export { ContainerNetworkInterfaceStatistics, ContainerThrottlingData, ContinuousWebJob, + CookieExpiration, CorsSettings, CsmPublishingCredentialsPoliciesCollection, CsmPublishingCredentialsPoliciesEntity, CustomHostnameAnalysisResult, + CustomOpenIdConnectProvider, DatabaseBackupSetting, DataSource, DataTableResponseColumn, @@ -91,24 +102,41 @@ export { EnabledConfig, ErrorEntity, Experiments, + Facebook, FileSystemApplicationLogsConfig, FileSystemHttpLogsConfig, + FileSystemTokenStore, + ForwardProxy, + FunctionAppMajorVersion, + FunctionAppMinorVersion, + FunctionAppRuntimes, + FunctionAppRuntimeSettings, + FunctionAppStack, FunctionEnvelope, - FunctionSecrets, GeoRegion, + GitHub, + GitHubActionWebAppStackSettings, + GlobalValidation, + Google, HandlerMapping, HostingEnvironmentProfile, HostName, HostNameBinding, HostNameSslState, HttpLogsConfig, + HttpSettings, + HttpSettingsRoutes, HybridConnection, HybridConnectionKey, HybridConnectionLimits, Identifier, + IdentityProviders, IpSecurityRestriction, - KeyVaultReferenceCollection, - KeyVaultReferenceResource, + JwtClaimChecks, + LinuxJavaContainerSettings, + Login, + LoginRoutes, + LoginScopes, ManagedServiceIdentity, ManagedServiceIdentityUserAssignedIdentitiesValue, MigrateMySqlRequest, @@ -120,6 +148,11 @@ export { NameValuePair, NetworkAccessControlEntry, NetworkFeatures, + Nonce, + OpenIdConnectClientCredential, + OpenIdConnectConfig, + OpenIdConnectLogin, + OpenIdConnectRegistration, PremierAddOn, PremierAddOnOffer, PremierAddOnPatchResource, @@ -151,11 +184,12 @@ export { RestoreRequest, Site, SiteAuthSettings, + SiteAuthSettingsV2, SiteConfig, + SiteConfigPropertiesDictionary, SiteConfigResource, SiteConfigurationSnapshotInfo, SiteExtensionInfo, - SiteInstance, SiteLimits, SiteLogsConfig, SiteMachineKey, @@ -187,6 +221,8 @@ export { StaticSiteFunctionOverviewCollection, StaticSitePatchResource, StaticSiteResetPropertiesARMResource, + StaticSitesWorkflowPreview, + StaticSitesWorkflowPreviewRequest, StaticSiteUserARMResource, StaticSiteUserCollection, StaticSiteUserInvitationRequestResource, @@ -196,10 +232,14 @@ export { StorageMigrationResponse, StringDictionary, SwiftVirtualNetwork, + SystemData, + TokenStore, TopLevelDomain, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, + Twitter, + TwitterRegistration, Usage, User, VirtualApplication, @@ -212,8 +252,14 @@ export { VnetRoute, VnetValidationFailureDetails, VnetValidationTestFailure, + WebAppMajorVersion, + WebAppMinorVersion, + WebAppRuntimes, + WebAppRuntimeSettings, + WebAppStack, WebJob, WebSiteInstanceStatus, + WindowsJavaContainerSettings, WorkerPool, WorkerPoolResource } from "../models/mappers"; diff --git a/sdk/appservice/arm-appservice/src/models/topLevelDomainsMappers.ts b/sdk/appservice/arm-appservice/src/models/topLevelDomainsMappers.ts index f86137d96dbf..27fcac922213 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,16 @@ export { AbnormalTimePeriod, Address, AddressResponse, + AllowedAudiencesValidation, AnalysisData, AnalysisDefinition, ApiDefinitionInfo, - ApiKVReference, ApiManagementConfig, + AppInsightsWebAppStackSettings, ApplicationLogsConfig, ApplicationStack, ApplicationStackResource, + AppRegistration, AppServiceCertificate, AppServiceCertificateOrder, AppServiceCertificateOrderPatchResource, @@ -28,10 +30,15 @@ export { AppServicePlan, AppServicePlanPatchResource, ArmIdWrapper, + AuthPlatform, AutoHealActions, AutoHealCustomAction, AutoHealRules, AutoHealTriggers, + AzureActiveDirectory, + AzureActiveDirectoryLogin, + AzureActiveDirectoryRegistration, + AzureActiveDirectoryValidation, AzureBlobStorageApplicationLogsConfig, AzureBlobStorageHttpLogsConfig, AzureStorageInfoValue, @@ -42,12 +49,14 @@ export { BackupSchedule, BaseResource, BillingMeter, + BlobStorageTokenStore, Capability, Certificate, CertificateDetails, CertificateEmail, CertificateOrderAction, CertificatePatchResource, + ClientRegistration, CloningInfo, ConnectionStringDictionary, ConnStringInfo, @@ -60,10 +69,12 @@ export { ContainerNetworkInterfaceStatistics, ContainerThrottlingData, ContinuousWebJob, + CookieExpiration, CorsSettings, CsmPublishingCredentialsPoliciesCollection, CsmPublishingCredentialsPoliciesEntity, CustomHostnameAnalysisResult, + CustomOpenIdConnectProvider, DatabaseBackupSetting, DataSource, DataTableResponseColumn, @@ -91,24 +102,41 @@ export { EnabledConfig, ErrorEntity, Experiments, + Facebook, FileSystemApplicationLogsConfig, FileSystemHttpLogsConfig, + FileSystemTokenStore, + ForwardProxy, + FunctionAppMajorVersion, + FunctionAppMinorVersion, + FunctionAppRuntimes, + FunctionAppRuntimeSettings, + FunctionAppStack, FunctionEnvelope, - FunctionSecrets, GeoRegion, + GitHub, + GitHubActionWebAppStackSettings, + GlobalValidation, + Google, HandlerMapping, HostingEnvironmentProfile, HostName, HostNameBinding, HostNameSslState, HttpLogsConfig, + HttpSettings, + HttpSettingsRoutes, HybridConnection, HybridConnectionKey, HybridConnectionLimits, Identifier, + IdentityProviders, IpSecurityRestriction, - KeyVaultReferenceCollection, - KeyVaultReferenceResource, + JwtClaimChecks, + LinuxJavaContainerSettings, + Login, + LoginRoutes, + LoginScopes, ManagedServiceIdentity, ManagedServiceIdentityUserAssignedIdentitiesValue, MigrateMySqlRequest, @@ -120,6 +148,11 @@ export { NameValuePair, NetworkAccessControlEntry, NetworkFeatures, + Nonce, + OpenIdConnectClientCredential, + OpenIdConnectConfig, + OpenIdConnectLogin, + OpenIdConnectRegistration, PremierAddOn, PremierAddOnOffer, PremierAddOnPatchResource, @@ -151,11 +184,12 @@ export { RestoreRequest, Site, SiteAuthSettings, + SiteAuthSettingsV2, SiteConfig, + SiteConfigPropertiesDictionary, SiteConfigResource, SiteConfigurationSnapshotInfo, SiteExtensionInfo, - SiteInstance, SiteLimits, SiteLogsConfig, SiteMachineKey, @@ -183,6 +217,8 @@ export { StaticSiteFunctionOverviewARMResource, StaticSitePatchResource, StaticSiteResetPropertiesARMResource, + StaticSitesWorkflowPreview, + StaticSitesWorkflowPreviewRequest, StaticSiteUserARMResource, StaticSiteUserInvitationRequestResource, StaticSiteUserInvitationResponseResource, @@ -191,14 +227,18 @@ export { StorageMigrationResponse, StringDictionary, SwiftVirtualNetwork, + SystemData, TldLegalAgreement, TldLegalAgreementCollection, + TokenStore, TopLevelDomain, TopLevelDomainAgreementOption, TopLevelDomainCollection, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, + Twitter, + TwitterRegistration, Usage, User, VirtualApplication, @@ -211,8 +251,14 @@ export { VnetRoute, VnetValidationFailureDetails, VnetValidationTestFailure, + WebAppMajorVersion, + WebAppMinorVersion, + WebAppRuntimes, + WebAppRuntimeSettings, + WebAppStack, WebJob, WebSiteInstanceStatus, + WindowsJavaContainerSettings, WorkerPool, WorkerPoolResource } from "../models/mappers"; diff --git a/sdk/appservice/arm-appservice/src/models/webAppsMappers.ts b/sdk/appservice/arm-appservice/src/models/webAppsMappers.ts index c06a40a28eb0..37e521517e50 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,16 @@ export { AbnormalTimePeriod, Address, AddressResponse, + AllowedAudiencesValidation, AnalysisData, AnalysisDefinition, ApiDefinitionInfo, - ApiKVReference, ApiManagementConfig, + AppInsightsWebAppStackSettings, ApplicationLogsConfig, ApplicationStack, ApplicationStackResource, + AppRegistration, AppServiceCertificate, AppServiceCertificateOrder, AppServiceCertificateOrderPatchResource, @@ -28,10 +30,15 @@ export { AppServicePlan, AppServicePlanPatchResource, ArmIdWrapper, + AuthPlatform, AutoHealActions, AutoHealCustomAction, AutoHealRules, AutoHealTriggers, + AzureActiveDirectory, + AzureActiveDirectoryLogin, + AzureActiveDirectoryRegistration, + AzureActiveDirectoryValidation, AzureBlobStorageApplicationLogsConfig, AzureBlobStorageHttpLogsConfig, AzureStorageInfoValue, @@ -43,12 +50,14 @@ export { BackupSchedule, BaseResource, BillingMeter, + BlobStorageTokenStore, Capability, Certificate, CertificateDetails, CertificateEmail, CertificateOrderAction, CertificatePatchResource, + ClientRegistration, CloningInfo, CloudError, ConnectionStringDictionary, @@ -63,6 +72,7 @@ export { ContainerThrottlingData, ContinuousWebJob, ContinuousWebJobCollection, + CookieExpiration, CorsSettings, CsmCopySlotEntity, CsmPublishingCredentialsPoliciesCollection, @@ -72,6 +82,7 @@ export { CsmUsageQuota, CsmUsageQuotaCollection, CustomHostnameAnalysisResult, + CustomOpenIdConnectProvider, DatabaseBackupSetting, DataSource, DataTableResponseColumn, @@ -100,12 +111,24 @@ export { EnabledConfig, ErrorEntity, Experiments, + Facebook, FileSystemApplicationLogsConfig, FileSystemHttpLogsConfig, + FileSystemTokenStore, + ForwardProxy, + FunctionAppMajorVersion, + FunctionAppMinorVersion, + FunctionAppRuntimes, + FunctionAppRuntimeSettings, + FunctionAppStack, FunctionEnvelope, FunctionEnvelopeCollection, FunctionSecrets, GeoRegion, + GitHub, + GitHubActionWebAppStackSettings, + GlobalValidation, + Google, HandlerMapping, HostingEnvironmentProfile, HostKeys, @@ -114,16 +137,22 @@ export { HostNameBindingCollection, HostNameSslState, HttpLogsConfig, + HttpSettings, + HttpSettingsRoutes, HybridConnection, HybridConnectionKey, HybridConnectionLimits, Identifier, IdentifierCollection, + IdentityProviders, IpSecurityRestriction, + JwtClaimChecks, KeyInfo, - KeyVaultReferenceCollection, - KeyVaultReferenceResource, + LinuxJavaContainerSettings, LocalizableString, + Login, + LoginRoutes, + LoginScopes, ManagedServiceIdentity, ManagedServiceIdentityUserAssignedIdentitiesValue, MigrateMySqlRequest, @@ -136,6 +165,11 @@ export { NetworkAccessControlEntry, NetworkFeatures, NetworkTrace, + Nonce, + OpenIdConnectClientCredential, + OpenIdConnectConfig, + OpenIdConnectLogin, + OpenIdConnectRegistration, Operation, PerfMonCounterCollection, PerfMonResponse, @@ -179,16 +213,17 @@ export { RestoreRequest, Site, SiteAuthSettings, + SiteAuthSettingsV2, SiteCloneability, SiteCloneabilityCriterion, SiteConfig, + SiteConfigPropertiesDictionary, SiteConfigResource, SiteConfigResourceCollection, SiteConfigurationSnapshotInfo, SiteConfigurationSnapshotInfoCollection, SiteExtensionInfo, SiteExtensionInfoCollection, - SiteInstance, SiteLimits, SiteLogsConfig, SiteMachineKey, @@ -218,6 +253,8 @@ export { StaticSiteFunctionOverviewARMResource, StaticSitePatchResource, StaticSiteResetPropertiesARMResource, + StaticSitesWorkflowPreview, + StaticSitesWorkflowPreviewRequest, StaticSiteUserARMResource, StaticSiteUserInvitationRequestResource, StaticSiteUserInvitationResponseResource, @@ -226,12 +263,16 @@ export { StorageMigrationResponse, StringDictionary, SwiftVirtualNetwork, + SystemData, + TokenStore, TopLevelDomain, TriggeredJobHistory, TriggeredJobHistoryCollection, TriggeredJobRun, TriggeredWebJob, TriggeredWebJobCollection, + Twitter, + TwitterRegistration, Usage, User, VirtualApplication, @@ -245,10 +286,16 @@ export { VnetValidationFailureDetails, VnetValidationTestFailure, WebAppCollection, - WebAppInstanceCollection, + WebAppInstanceStatusCollection, + WebAppMajorVersion, + WebAppMinorVersion, + WebAppRuntimes, + WebAppRuntimeSettings, + WebAppStack, WebJob, WebJobCollection, WebSiteInstanceStatus, + WindowsJavaContainerSettings, WorkerPool, WorkerPoolResource } from "../models/mappers"; 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..9e3f55998410 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 @@ -349,9 +348,9 @@ export class Domains { /** * Description for Creates an ownership identifier for a domain or updates identifier details for - * an existing identifer + * an existing identifier * @summary Creates an ownership identifier for a domain or updates identifier details for an - * existing identifer + * existing identifier * @param resourceGroupName Name of the resource group to which the resource belongs. * @param domainName Name of domain. * @param name Name of identifier. @@ -429,9 +428,9 @@ export class Domains { /** * Description for Creates an ownership identifier for a domain or updates identifier details for - * an existing identifer + * an existing identifier * @summary Creates an ownership identifier for a domain or updates identifier details for an - * existing identifer + * existing identifier * @param resourceGroupName Name of the resource group to which the resource belongs. * @param domainName Name of domain. * @param name Name of identifier. @@ -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..295419996e38 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 @@ -51,6 +50,89 @@ export class Provider { callback) as Promise; } + /** + * Description for Get available Function app frameworks and their versions + * @summary Get available Function app frameworks and their versions + * @param [options] The optional parameters + * @returns Promise + */ + getFunctionAppStacks(options?: Models.ProviderGetFunctionAppStacksOptionalParams): Promise; + /** + * @param callback The callback + */ + getFunctionAppStacks(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + getFunctionAppStacks(options: Models.ProviderGetFunctionAppStacksOptionalParams, callback: msRest.ServiceCallback): void; + getFunctionAppStacks(options?: Models.ProviderGetFunctionAppStacksOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + getFunctionAppStacksOperationSpec, + callback) as Promise; + } + + /** + * Description for Get available Function app frameworks and their versions for location + * @summary Get available Function app frameworks and their versions for location + * @param location + * @param [options] The optional parameters + * @returns Promise + */ + getFunctionAppStacksForLocation(location: string, options?: Models.ProviderGetFunctionAppStacksForLocationOptionalParams): Promise; + /** + * @param location + * @param callback The callback + */ + getFunctionAppStacksForLocation(location: string, callback: msRest.ServiceCallback): void; + /** + * @param location + * @param options The optional parameters + * @param callback The callback + */ + getFunctionAppStacksForLocation(location: string, options: Models.ProviderGetFunctionAppStacksForLocationOptionalParams, callback: msRest.ServiceCallback): void; + getFunctionAppStacksForLocation(location: string, options?: Models.ProviderGetFunctionAppStacksForLocationOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + location, + options + }, + getFunctionAppStacksForLocationOperationSpec, + callback) as Promise; + } + + /** + * Description for Get available Web app frameworks and their versions for location + * @summary Get available Web app frameworks and their versions for location + * @param location + * @param [options] The optional parameters + * @returns Promise + */ + getWebAppStacksForLocation(location: string, options?: Models.ProviderGetWebAppStacksForLocationOptionalParams): Promise; + /** + * @param location + * @param callback The callback + */ + getWebAppStacksForLocation(location: string, callback: msRest.ServiceCallback): void; + /** + * @param location + * @param options The optional parameters + * @param callback The callback + */ + getWebAppStacksForLocation(location: string, options: Models.ProviderGetWebAppStacksForLocationOptionalParams, callback: msRest.ServiceCallback): void; + getWebAppStacksForLocation(location: string, options?: Models.ProviderGetWebAppStacksForLocationOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + location, + options + }, + getWebAppStacksForLocationOperationSpec, + callback) as Promise; + } + /** * Description for Gets all available operations for the Microsoft.Web resource provider. Also * exposes resource metric definitions @@ -78,6 +160,31 @@ export class Provider { callback) as Promise; } + /** + * Description for Get available Web app frameworks and their versions + * @summary Get available Web app frameworks and their versions + * @param [options] The optional parameters + * @returns Promise + */ + getWebAppStacks(options?: Models.ProviderGetWebAppStacksOptionalParams): Promise; + /** + * @param callback The callback + */ + getWebAppStacks(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + getWebAppStacks(options: Models.ProviderGetWebAppStacksOptionalParams, callback: msRest.ServiceCallback): void; + getWebAppStacks(options?: Models.ProviderGetWebAppStacksOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + getWebAppStacksOperationSpec, + callback) as Promise; + } + /** * Description for Get available application frameworks and their versions * @summary Get available application frameworks and their versions @@ -110,7 +217,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 +228,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, @@ -132,6 +239,93 @@ export class Provider { callback) as Promise; } + /** + * Description for Get available Function app frameworks and their versions + * @summary Get available Function app frameworks and their versions + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + getFunctionAppStacksNext(nextPageLink: string, options?: Models.ProviderGetFunctionAppStacksNextOptionalParams): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + getFunctionAppStacksNext(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 + */ + getFunctionAppStacksNext(nextPageLink: string, options: Models.ProviderGetFunctionAppStacksNextOptionalParams, callback: msRest.ServiceCallback): void; + getFunctionAppStacksNext(nextPageLink: string, options?: Models.ProviderGetFunctionAppStacksNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + getFunctionAppStacksNextOperationSpec, + callback) as Promise; + } + + /** + * Description for Get available Function app frameworks and their versions for location + * @summary Get available Function app frameworks and their versions for location + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + getFunctionAppStacksForLocationNext(nextPageLink: string, options?: Models.ProviderGetFunctionAppStacksForLocationNextOptionalParams): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + getFunctionAppStacksForLocationNext(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 + */ + getFunctionAppStacksForLocationNext(nextPageLink: string, options: Models.ProviderGetFunctionAppStacksForLocationNextOptionalParams, callback: msRest.ServiceCallback): void; + getFunctionAppStacksForLocationNext(nextPageLink: string, options?: Models.ProviderGetFunctionAppStacksForLocationNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + getFunctionAppStacksForLocationNextOperationSpec, + callback) as Promise; + } + + /** + * Description for Get available Web app frameworks and their versions for location + * @summary Get available Web app frameworks and their versions for location + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + getWebAppStacksForLocationNext(nextPageLink: string, options?: Models.ProviderGetWebAppStacksForLocationNextOptionalParams): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + getWebAppStacksForLocationNext(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 + */ + getWebAppStacksForLocationNext(nextPageLink: string, options: Models.ProviderGetWebAppStacksForLocationNextOptionalParams, callback: msRest.ServiceCallback): void; + getWebAppStacksForLocationNext(nextPageLink: string, options?: Models.ProviderGetWebAppStacksForLocationNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + getWebAppStacksForLocationNextOperationSpec, + callback) as Promise; + } + /** * Description for Gets all available operations for the Microsoft.Web resource provider. Also * exposes resource metric definitions @@ -163,6 +357,35 @@ export class Provider { callback) as Promise; } + /** + * Description for Get available Web app frameworks and their versions + * @summary Get available Web app frameworks and their versions + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + getWebAppStacksNext(nextPageLink: string, options?: Models.ProviderGetWebAppStacksNextOptionalParams): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + getWebAppStacksNext(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 + */ + getWebAppStacksNext(nextPageLink: string, options: Models.ProviderGetWebAppStacksNextOptionalParams, callback: msRest.ServiceCallback): void; + getWebAppStacksNext(nextPageLink: string, options?: Models.ProviderGetWebAppStacksNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + getWebAppStacksNextOperationSpec, + callback) as Promise; + } + /** * Description for Get available application frameworks and their versions * @summary Get available application frameworks and their versions @@ -170,7 +393,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 +404,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, @@ -216,6 +439,75 @@ const getAvailableStacksOperationSpec: msRest.OperationSpec = { serializer }; +const getFunctionAppStacksOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "providers/Microsoft.Web/functionAppStacks", + queryParameters: [ + Parameters.stackOsType, + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.FunctionAppStackCollection + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const getFunctionAppStacksForLocationOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "providers/Microsoft.Web/locations/{location}/functionAppStacks", + urlParameters: [ + Parameters.location + ], + queryParameters: [ + Parameters.stackOsType, + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.FunctionAppStackCollection + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const getWebAppStacksForLocationOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "providers/Microsoft.Web/locations/{location}/webAppStacks", + urlParameters: [ + Parameters.location + ], + queryParameters: [ + Parameters.stackOsType, + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WebAppStackCollection + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + const listOperationsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "providers/Microsoft.Web/operations", @@ -236,6 +528,27 @@ const listOperationsOperationSpec: msRest.OperationSpec = { serializer }; +const getWebAppStacksOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "providers/Microsoft.Web/webAppStacks", + queryParameters: [ + Parameters.stackOsType, + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WebAppStackCollection + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + const getAvailableStacksOnPremOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/providers/Microsoft.Web/availableStacks", @@ -267,6 +580,10 @@ const getAvailableStacksNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.osTypeSelected, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -281,6 +598,81 @@ const getAvailableStacksNextOperationSpec: msRest.OperationSpec = { serializer }; +const getFunctionAppStacksNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.stackOsType, + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.FunctionAppStackCollection + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const getFunctionAppStacksForLocationNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.stackOsType, + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.FunctionAppStackCollection + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const getWebAppStacksForLocationNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.stackOsType, + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WebAppStackCollection + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + const listOperationsNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", @@ -288,6 +680,9 @@ const listOperationsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -302,6 +697,31 @@ const listOperationsNextOperationSpec: msRest.OperationSpec = { serializer }; +const getWebAppStacksNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.stackOsType, + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WebAppStackCollection + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + const getAvailableStacksOnPremNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", @@ -309,6 +729,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..e739c534b8cf 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-10-01'; this.acceptLanguage = 'en-US'; this.longRunningOperationRetryTimeout = 30; this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";