diff --git a/sdk/appservice/arm-appservice/src/models/appServiceCertificateOrdersMappers.ts b/sdk/appservice/arm-appservice/src/models/appServiceCertificateOrdersMappers.ts index 729152a6db2b..a823ebee3222 100644 --- a/sdk/appservice/arm-appservice/src/models/appServiceCertificateOrdersMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/appServiceCertificateOrdersMappers.ts @@ -15,6 +15,7 @@ export { AnalysisDefinition, ApiDefinitionInfo, ApiManagementConfig, + AppInsightsWebAppStackSettings, ApplicationLogsConfig, ApplicationStack, ApplicationStackResource, @@ -108,9 +109,15 @@ export { FileSystemHttpLogsConfig, FileSystemTokenStore, ForwardProxy, + FunctionAppMajorVersion, + FunctionAppMinorVersion, + FunctionAppRuntimes, + FunctionAppRuntimeSettings, + FunctionAppStack, FunctionEnvelope, GeoRegion, GitHub, + GitHubActionWebAppStackSettings, GlobalValidation, Google, HandlerMapping, @@ -128,6 +135,7 @@ export { IdentityProviders, IpSecurityRestriction, JwtClaimChecks, + LinuxJavaContainerSettings, Login, LoginRoutes, LoginScopes, @@ -181,6 +189,7 @@ export { SiteAuthSettings, SiteAuthSettingsV2, SiteConfig, + SiteConfigPropertiesDictionary, SiteConfigResource, SiteConfigurationSnapshotInfo, SiteExtensionInfo, @@ -243,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 b0b7f0d4d696..9cf0d958abb9 100644 --- a/sdk/appservice/arm-appservice/src/models/appServiceEnvironmentsMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/appServiceEnvironmentsMappers.ts @@ -15,6 +15,7 @@ export { AnalysisDefinition, ApiDefinitionInfo, ApiManagementConfig, + AppInsightsWebAppStackSettings, ApplicationLogsConfig, ApplicationStack, ApplicationStackResource, @@ -112,9 +113,15 @@ export { FileSystemHttpLogsConfig, FileSystemTokenStore, ForwardProxy, + FunctionAppMajorVersion, + FunctionAppMinorVersion, + FunctionAppRuntimes, + FunctionAppRuntimeSettings, + FunctionAppStack, FunctionEnvelope, GeoRegion, GitHub, + GitHubActionWebAppStackSettings, GlobalValidation, Google, HandlerMapping, @@ -135,6 +142,7 @@ export { InboundEnvironmentEndpointCollection, IpSecurityRestriction, JwtClaimChecks, + LinuxJavaContainerSettings, LocalizableString, Login, LoginRoutes, @@ -192,6 +200,7 @@ export { SiteAuthSettings, SiteAuthSettingsV2, SiteConfig, + SiteConfigPropertiesDictionary, SiteConfigResource, SiteConfigurationSnapshotInfo, SiteExtensionInfo, @@ -257,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 a96da981914e..6ae207ae9456 100644 --- a/sdk/appservice/arm-appservice/src/models/appServicePlansMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/appServicePlansMappers.ts @@ -15,6 +15,7 @@ export { AnalysisDefinition, ApiDefinitionInfo, ApiManagementConfig, + AppInsightsWebAppStackSettings, ApplicationLogsConfig, ApplicationStack, ApplicationStackResource, @@ -109,9 +110,15 @@ export { FileSystemHttpLogsConfig, FileSystemTokenStore, ForwardProxy, + FunctionAppMajorVersion, + FunctionAppMinorVersion, + FunctionAppRuntimes, + FunctionAppRuntimeSettings, + FunctionAppStack, FunctionEnvelope, GeoRegion, GitHub, + GitHubActionWebAppStackSettings, GlobalValidation, Google, HandlerMapping, @@ -130,6 +137,7 @@ export { IdentityProviders, IpSecurityRestriction, JwtClaimChecks, + LinuxJavaContainerSettings, LocalizableString, Login, LoginRoutes, @@ -184,6 +192,7 @@ export { SiteAuthSettings, SiteAuthSettingsV2, SiteConfig, + SiteConfigPropertiesDictionary, SiteConfigResource, SiteConfigurationSnapshotInfo, SiteExtensionInfo, @@ -245,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/certificatesMappers.ts b/sdk/appservice/arm-appservice/src/models/certificatesMappers.ts index caa866a0a2b5..1771249d6e81 100644 --- a/sdk/appservice/arm-appservice/src/models/certificatesMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/certificatesMappers.ts @@ -15,6 +15,7 @@ export { AnalysisDefinition, ApiDefinitionInfo, ApiManagementConfig, + AppInsightsWebAppStackSettings, ApplicationLogsConfig, ApplicationStack, ApplicationStackResource, @@ -107,9 +108,15 @@ export { FileSystemHttpLogsConfig, FileSystemTokenStore, ForwardProxy, + FunctionAppMajorVersion, + FunctionAppMinorVersion, + FunctionAppRuntimes, + FunctionAppRuntimeSettings, + FunctionAppStack, FunctionEnvelope, GeoRegion, GitHub, + GitHubActionWebAppStackSettings, GlobalValidation, Google, HandlerMapping, @@ -127,6 +134,7 @@ export { IdentityProviders, IpSecurityRestriction, JwtClaimChecks, + LinuxJavaContainerSettings, Login, LoginRoutes, LoginScopes, @@ -179,6 +187,7 @@ export { SiteAuthSettings, SiteAuthSettingsV2, SiteConfig, + SiteConfigPropertiesDictionary, SiteConfigResource, SiteConfigurationSnapshotInfo, SiteExtensionInfo, @@ -239,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 bcc68a10871d..6b1c498c62e4 100644 --- a/sdk/appservice/arm-appservice/src/models/deletedWebAppsMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/deletedWebAppsMappers.ts @@ -15,6 +15,7 @@ export { AnalysisDefinition, ApiDefinitionInfo, ApiManagementConfig, + AppInsightsWebAppStackSettings, ApplicationLogsConfig, ApplicationStack, ApplicationStackResource, @@ -107,9 +108,15 @@ export { FileSystemHttpLogsConfig, FileSystemTokenStore, ForwardProxy, + FunctionAppMajorVersion, + FunctionAppMinorVersion, + FunctionAppRuntimes, + FunctionAppRuntimeSettings, + FunctionAppStack, FunctionEnvelope, GeoRegion, GitHub, + GitHubActionWebAppStackSettings, GlobalValidation, Google, HandlerMapping, @@ -127,6 +134,7 @@ export { IdentityProviders, IpSecurityRestriction, JwtClaimChecks, + LinuxJavaContainerSettings, Login, LoginRoutes, LoginScopes, @@ -179,6 +187,7 @@ export { SiteAuthSettings, SiteAuthSettingsV2, SiteConfig, + SiteConfigPropertiesDictionary, SiteConfigResource, SiteConfigurationSnapshotInfo, SiteExtensionInfo, @@ -239,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 e382b6d0aecb..563e455eb9b6 100644 --- a/sdk/appservice/arm-appservice/src/models/diagnosticsMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/diagnosticsMappers.ts @@ -15,6 +15,7 @@ export { AnalysisDefinition, ApiDefinitionInfo, ApiManagementConfig, + AppInsightsWebAppStackSettings, ApplicationLogsConfig, ApplicationStack, ApplicationStackResource, @@ -110,9 +111,15 @@ export { FileSystemHttpLogsConfig, FileSystemTokenStore, ForwardProxy, + FunctionAppMajorVersion, + FunctionAppMinorVersion, + FunctionAppRuntimes, + FunctionAppRuntimeSettings, + FunctionAppStack, FunctionEnvelope, GeoRegion, GitHub, + GitHubActionWebAppStackSettings, GlobalValidation, Google, HandlerMapping, @@ -130,6 +137,7 @@ export { IdentityProviders, IpSecurityRestriction, JwtClaimChecks, + LinuxJavaContainerSettings, Login, LoginRoutes, LoginScopes, @@ -182,6 +190,7 @@ export { SiteAuthSettings, SiteAuthSettingsV2, SiteConfig, + SiteConfigPropertiesDictionary, SiteConfigResource, SiteConfigurationSnapshotInfo, SiteExtensionInfo, @@ -242,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/domainsMappers.ts b/sdk/appservice/arm-appservice/src/models/domainsMappers.ts index 4c1a8161c560..d85aeaf21c51 100644 --- a/sdk/appservice/arm-appservice/src/models/domainsMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/domainsMappers.ts @@ -15,6 +15,7 @@ export { AnalysisDefinition, ApiDefinitionInfo, ApiManagementConfig, + AppInsightsWebAppStackSettings, ApplicationLogsConfig, ApplicationStack, ApplicationStackResource, @@ -111,9 +112,15 @@ export { FileSystemHttpLogsConfig, FileSystemTokenStore, ForwardProxy, + FunctionAppMajorVersion, + FunctionAppMinorVersion, + FunctionAppRuntimes, + FunctionAppRuntimeSettings, + FunctionAppStack, FunctionEnvelope, GeoRegion, GitHub, + GitHubActionWebAppStackSettings, GlobalValidation, Google, HandlerMapping, @@ -131,6 +138,7 @@ export { IdentityProviders, IpSecurityRestriction, JwtClaimChecks, + LinuxJavaContainerSettings, Login, LoginRoutes, LoginScopes, @@ -185,6 +193,7 @@ export { SiteAuthSettings, SiteAuthSettingsV2, SiteConfig, + SiteConfigPropertiesDictionary, SiteConfigResource, SiteConfigurationSnapshotInfo, SiteExtensionInfo, @@ -245,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 6f3b0681a2f2..66968da8621f 100644 --- a/sdk/appservice/arm-appservice/src/models/index.ts +++ b/sdk/appservice/arm-appservice/src/models/index.ts @@ -1823,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; } @@ -3690,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. */ @@ -3774,33 +3796,490 @@ export interface ApplicationStack { /** * List of frameworks associated with application stack. */ - frameworks?: ApplicationStack[]; + frameworks?: ApplicationStack[]; +} + +/** + * ARM resource for a ApplicationStack. + */ +export interface ApplicationStackResource extends ProxyOnlyResource { + /** + * Application stack name. + */ + applicationStackResourceName?: string; + /** + * Application stack display name. + */ + display?: string; + /** + * Application stack dependency. + */ + dependency?: string; + /** + * List of major versions available. + */ + majorVersions?: StackMajorVersion[]; + /** + * List of frameworks associated with application stack. + */ + frameworks?: ApplicationStack[]; +} + +/** + * GitHub Actions Web App stack settings. + */ +export interface GitHubActionWebAppStackSettings { + /** + * 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.** + */ + readonly isSupported?: boolean; + /** + * The minor version that is supported for GitHub Actions. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly supportedVersion?: string; +} + +/** + * Site config properties dictionary. + */ +export interface SiteConfigPropertiesDictionary { + /** + * 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.** + */ + readonly use32BitWorkerProcess?: boolean; + /** + * LinuxFxVersion configuration setting. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly linuxFxVersion?: string; + /** + * JavaVersion configuration setting. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly javaVersion?: string; + /** + * PowerShellVersion configuration setting. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly powerShellVersion?: string; +} + +/** + * Function App runtime settings. + */ +export interface FunctionAppRuntimeSettings { + /** + * Function App stack minor version (runtime only). + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly runtimeVersion?: string; + /** + * 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 remoteDebuggingSupported?: boolean; + /** + * Application Insights settings associated with the minor version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly appInsightsSettings?: AppInsightsWebAppStackSettings; + /** + * GitHub Actions settings associated with the minor version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly gitHubActionSettings?: GitHubActionWebAppStackSettings; + /** + * Application settings associated with the minor version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly appSettingsDictionary?: { [propertyName: string]: string }; + /** + * Configuration settings associated with the minor version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly siteConfigPropertiesDictionary?: SiteConfigPropertiesDictionary; + /** + * List of supported Functions extension versions. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly supportedFunctionsExtensionVersions?: 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; + /** + * true if the minor version the default; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly isDefault?: boolean; +} + +/** + * Function App stack runtimes. + */ +export interface FunctionAppRuntimes { + /** + * 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?: FunctionAppRuntimeSettings; + /** + * 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?: FunctionAppRuntimeSettings; +} + +/** + * Function App stack minor version. + */ +export interface FunctionAppMinorVersion { + /** + * Function App stack (display only). + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly displayText?: string; + /** + * Function App stack 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?: FunctionAppRuntimes; +} + +/** + * Function App stack major version. + */ +export interface FunctionAppMajorVersion { + /** + * Function App stack major version (display only). + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly displayText?: string; + /** + * Function 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?: FunctionAppMinorVersion[]; +} + +/** + * Function App Stack. + */ +export interface FunctionAppStack extends ProxyOnlyResource { + /** + * Function App stack location. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly location?: string; + /** + * Function App stack (display only). + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly displayText?: string; + /** + * Function 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?: FunctionAppMajorVersion[]; + /** + * 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.** + */ + readonly preferredOs?: StackOsTypes; +} + +/** + * Linux Java Container settings. + */ +export interface LinuxJavaContainerSettings { + /** + * Java 11 version (runtime only). + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly java11Runtime?: string; + /** + * Java 8 version (runtime only). + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly java8Runtime?: 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 runtime settings. + */ +export interface WebAppRuntimeSettings { + /** + * Web App stack minor version (runtime only). + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly runtimeVersion?: string; + /** + * 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 remoteDebuggingSupported?: boolean; + /** + * Application Insights settings associated with the minor version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly appInsightsSettings?: AppInsightsWebAppStackSettings; + /** + * GitHub Actions settings associated with the minor version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly gitHubActionSettings?: GitHubActionWebAppStackSettings; + /** + * 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; +} + +/** + * 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[]; } /** - * ARM resource for a ApplicationStack. + * Web App stack. */ -export interface ApplicationStackResource extends ProxyOnlyResource { +export interface WebAppStack extends ProxyOnlyResource { /** - * Application stack name. + * Web App stack location. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - applicationStackResourceName?: string; + readonly location?: string; /** - * Application stack display name. + * Web App stack (display only). + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - display?: string; + readonly displayText?: string; /** - * Application stack dependency. + * Web App stack name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - dependency?: string; + readonly value?: string; /** * List of major versions available. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - majorVersions?: StackMajorVersion[]; + readonly majorVersions?: WebAppMajorVersion[]; /** - * List of frameworks associated with application stack. + * 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.** */ - frameworks?: ApplicationStack[]; + readonly preferredOs?: StackOsTypes; } /** @@ -8734,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. */ @@ -8754,6 +9273,46 @@ export interface ProviderGetAvailableStacksNextOptionalParams extends msRest.Req 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. */ @@ -9808,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. @@ -10699,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' @@ -10993,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' @@ -12741,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. */ @@ -12761,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. */ @@ -12801,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. */ @@ -12821,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. */ diff --git a/sdk/appservice/arm-appservice/src/models/mappers.ts b/sdk/appservice/arm-appservice/src/models/mappers.ts index a4d0193e6b4b..75e4ee6c1b10 100644 --- a/sdk/appservice/arm-appservice/src/models/mappers.ts +++ b/sdk/appservice/arm-appservice/src/models/mappers.ts @@ -2922,6 +2922,12 @@ export const Site: msRest.CompositeMapper = { name: "Uuid" } }, + storageAccountRequired: { + serializedName: "properties.storageAccountRequired", + type: { + name: "Boolean" + } + }, identity: { serializedName: "identity", type: { @@ -6407,32 +6413,707 @@ export const DiagnosticDetectorResponse: msRest.CompositeMapper = { } }; -export const StackMinorVersion: msRest.CompositeMapper = { - serializedName: "StackMinorVersion", +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: { + name: "Composite", + className: "StackMinorVersion", + modelProperties: { + displayVersion: { + serializedName: "displayVersion", + type: { + name: "String" + } + }, + runtimeVersion: { + serializedName: "runtimeVersion", + type: { + name: "String" + } + }, + isDefault: { + serializedName: "isDefault", + type: { + name: "Boolean" + } + }, + isRemoteDebuggingEnabled: { + serializedName: "isRemoteDebuggingEnabled", + type: { + name: "Boolean" + } + } + } + } +}; + +export const StackMajorVersion: msRest.CompositeMapper = { + serializedName: "StackMajorVersion", + type: { + name: "Composite", + className: "StackMajorVersion", + modelProperties: { + displayVersion: { + serializedName: "displayVersion", + type: { + name: "String" + } + }, + runtimeVersion: { + serializedName: "runtimeVersion", + type: { + name: "String" + } + }, + isDefault: { + serializedName: "isDefault", + type: { + name: "Boolean" + } + }, + minorVersions: { + serializedName: "minorVersions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "StackMinorVersion" + } + } + } + }, + applicationInsights: { + serializedName: "applicationInsights", + type: { + name: "Boolean" + } + }, + isPreview: { + serializedName: "isPreview", + type: { + name: "Boolean" + } + }, + isDeprecated: { + serializedName: "isDeprecated", + type: { + name: "Boolean" + } + }, + isHidden: { + serializedName: "isHidden", + type: { + name: "Boolean" + } + } + } + } +}; + +export const ApplicationStack: msRest.CompositeMapper = { + serializedName: "ApplicationStack", + type: { + name: "Composite", + className: "ApplicationStack", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + display: { + serializedName: "display", + type: { + name: "String" + } + }, + dependency: { + serializedName: "dependency", + type: { + name: "String" + } + }, + majorVersions: { + serializedName: "majorVersions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "StackMajorVersion" + } + } + } + }, + frameworks: { + serializedName: "frameworks", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApplicationStack" + } + } + } + } + } + } +}; + +export const ApplicationStackResource: msRest.CompositeMapper = { + serializedName: "ApplicationStackResource", + type: { + name: "Composite", + className: "ApplicationStackResource", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + applicationStackResourceName: { + serializedName: "properties.name", + type: { + name: "String" + } + }, + display: { + serializedName: "properties.display", + type: { + name: "String" + } + }, + dependency: { + serializedName: "properties.dependency", + type: { + name: "String" + } + }, + majorVersions: { + serializedName: "properties.majorVersions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "StackMajorVersion" + } + } + } + }, + frameworks: { + serializedName: "properties.frameworks", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApplicationStack" + } + } + } + } + } + } +}; + +export const GitHubActionWebAppStackSettings: msRest.CompositeMapper = { + serializedName: "GitHubActionWebAppStackSettings", + type: { + name: "Composite", + className: "GitHubActionWebAppStackSettings", + modelProperties: { + isSupported: { + readOnly: true, + serializedName: "isSupported", + type: { + name: "Boolean" + } + }, + supportedVersion: { + readOnly: true, + serializedName: "supportedVersion", + type: { + name: "String" + } + } + } + } +}; + +export const SiteConfigPropertiesDictionary: msRest.CompositeMapper = { + serializedName: "SiteConfigPropertiesDictionary", + type: { + name: "Composite", + className: "SiteConfigPropertiesDictionary", + modelProperties: { + use32BitWorkerProcess: { + readOnly: true, + serializedName: "use32BitWorkerProcess", + type: { + name: "Boolean" + } + }, + linuxFxVersion: { + readOnly: true, + serializedName: "linuxFxVersion", + type: { + name: "String" + } + }, + javaVersion: { + readOnly: true, + serializedName: "javaVersion", + type: { + name: "String" + } + }, + powerShellVersion: { + readOnly: true, + serializedName: "powerShellVersion", + type: { + name: "String" + } + } + } + } +}; + +export const FunctionAppRuntimeSettings: msRest.CompositeMapper = { + serializedName: "FunctionAppRuntimeSettings", + type: { + name: "Composite", + className: "FunctionAppRuntimeSettings", + 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" + } + }, + appSettingsDictionary: { + readOnly: true, + serializedName: "appSettingsDictionary", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + siteConfigPropertiesDictionary: { + readOnly: true, + serializedName: "siteConfigPropertiesDictionary", + type: { + name: "Composite", + className: "SiteConfigPropertiesDictionary" + } + }, + supportedFunctionsExtensionVersions: { + readOnly: true, + serializedName: "supportedFunctionsExtensionVersions", + type: { + name: "Sequence", + element: { + 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" + } + }, + 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: "StackMinorVersion", + className: "WebAppRuntimeSettings", modelProperties: { - displayVersion: { - serializedName: "displayVersion", + runtimeVersion: { + readOnly: true, + serializedName: "runtimeVersion", type: { name: "String" } }, - runtimeVersion: { - serializedName: "runtimeVersion", + remoteDebuggingSupported: { + readOnly: true, + serializedName: "remoteDebuggingSupported", type: { - name: "String" + name: "Boolean" } }, - isDefault: { - serializedName: "isDefault", + 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" } }, - isRemoteDebuggingEnabled: { - serializedName: "isRemoteDebuggingEnabled", + 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" } @@ -6441,62 +7122,64 @@ export const StackMinorVersion: msRest.CompositeMapper = { } }; -export const StackMajorVersion: msRest.CompositeMapper = { - serializedName: "StackMajorVersion", +export const WindowsJavaContainerSettings: msRest.CompositeMapper = { + serializedName: "WindowsJavaContainerSettings", type: { name: "Composite", - className: "StackMajorVersion", + className: "WindowsJavaContainerSettings", modelProperties: { - displayVersion: { - serializedName: "displayVersion", + javaContainer: { + readOnly: true, + serializedName: "javaContainer", type: { name: "String" } }, - runtimeVersion: { - serializedName: "runtimeVersion", + javaContainerVersion: { + readOnly: true, + serializedName: "javaContainerVersion", type: { name: "String" } }, - isDefault: { - serializedName: "isDefault", + isPreview: { + readOnly: true, + serializedName: "isPreview", type: { name: "Boolean" } }, - minorVersions: { - serializedName: "minorVersions", + isDeprecated: { + readOnly: true, + serializedName: "isDeprecated", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "StackMinorVersion" - } - } + name: "Boolean" } }, - applicationInsights: { - serializedName: "applicationInsights", + isHidden: { + readOnly: true, + serializedName: "isHidden", type: { name: "Boolean" } }, - isPreview: { - serializedName: "isPreview", + endOfLifeDate: { + readOnly: true, + serializedName: "endOfLifeDate", type: { - name: "Boolean" + name: "DateTime" } }, - isDeprecated: { - serializedName: "isDeprecated", + isAutoUpdate: { + readOnly: true, + serializedName: "isAutoUpdate", type: { name: "Boolean" } }, - isHidden: { - serializedName: "isHidden", + isEarlyAccess: { + readOnly: true, + serializedName: "isEarlyAccess", type: { name: "Boolean" } @@ -6505,50 +7188,109 @@ export const StackMajorVersion: msRest.CompositeMapper = { } }; -export const ApplicationStack: msRest.CompositeMapper = { - serializedName: "ApplicationStack", +export const WebAppRuntimes: msRest.CompositeMapper = { + serializedName: "WebAppRuntimes", type: { name: "Composite", - className: "ApplicationStack", + className: "WebAppRuntimes", modelProperties: { - name: { - serializedName: "name", + 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" } }, - display: { - serializedName: "display", + value: { + readOnly: true, + serializedName: "value", type: { name: "String" } }, - dependency: { - serializedName: "dependency", + 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" } }, - majorVersions: { - serializedName: "majorVersions", + value: { + readOnly: true, + serializedName: "value", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "StackMajorVersion" - } - } + name: "String" } }, - frameworks: { - serializedName: "frameworks", + minorVersions: { + readOnly: true, + serializedName: "minorVersions", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ApplicationStack" + className: "WebAppMinorVersion" } } } @@ -6557,53 +7299,56 @@ export const ApplicationStack: msRest.CompositeMapper = { } }; -export const ApplicationStackResource: msRest.CompositeMapper = { - serializedName: "ApplicationStackResource", +export const WebAppStack: msRest.CompositeMapper = { + serializedName: "WebAppStack", type: { name: "Composite", - className: "ApplicationStackResource", + className: "WebAppStack", modelProperties: { ...ProxyOnlyResource.type.modelProperties, - applicationStackResourceName: { - serializedName: "properties.name", + location: { + readOnly: true, + serializedName: "location", type: { name: "String" } }, - display: { - serializedName: "properties.display", + displayText: { + readOnly: true, + serializedName: "properties.displayText", type: { name: "String" } }, - dependency: { - serializedName: "properties.dependency", + value: { + readOnly: true, + serializedName: "properties.value", type: { name: "String" } }, majorVersions: { + readOnly: true, serializedName: "properties.majorVersions", type: { name: "Sequence", element: { type: { name: "Composite", - className: "StackMajorVersion" + className: "WebAppMajorVersion" } } } }, - frameworks: { - serializedName: "properties.frameworks", + preferredOs: { + readOnly: true, + serializedName: "properties.preferredOs", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ApplicationStack" - } - } + name: "Enum", + allowedValues: [ + "windows", + "linux" + ] } } } @@ -15731,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: { diff --git a/sdk/appservice/arm-appservice/src/models/parameters.ts b/sdk/appservice/arm-appservice/src/models/parameters.ts index c6e3db07280f..2700c4d02441 100644 --- a/sdk/appservice/arm-appservice/src/models/parameters.ts +++ b/sdk/appservice/arm-appservice/src/models/parameters.ts @@ -737,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 5b78911e2aa9..bd7d73772ce4 100644 --- a/sdk/appservice/arm-appservice/src/models/providerMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/providerMappers.ts @@ -15,6 +15,7 @@ export { AnalysisDefinition, ApiDefinitionInfo, ApiManagementConfig, + AppInsightsWebAppStackSettings, ApplicationLogsConfig, ApplicationStack, ApplicationStackCollection, @@ -112,9 +113,16 @@ export { FileSystemHttpLogsConfig, FileSystemTokenStore, ForwardProxy, + FunctionAppMajorVersion, + FunctionAppMinorVersion, + FunctionAppRuntimes, + FunctionAppRuntimeSettings, + FunctionAppStack, + FunctionAppStackCollection, FunctionEnvelope, GeoRegion, GitHub, + GitHubActionWebAppStackSettings, GlobalValidation, Google, HandlerMapping, @@ -132,6 +140,7 @@ export { IdentityProviders, IpSecurityRestriction, JwtClaimChecks, + LinuxJavaContainerSettings, Login, LoginRoutes, LoginScopes, @@ -188,6 +197,7 @@ export { SiteAuthSettings, SiteAuthSettingsV2, SiteConfig, + SiteConfigPropertiesDictionary, SiteConfigResource, SiteConfigurationSnapshotInfo, SiteExtensionInfo, @@ -248,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 1d4d83c12d65..ac0cfd64c68a 100644 --- a/sdk/appservice/arm-appservice/src/models/recommendationsMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/recommendationsMappers.ts @@ -15,6 +15,7 @@ export { AnalysisDefinition, ApiDefinitionInfo, ApiManagementConfig, + AppInsightsWebAppStackSettings, ApplicationLogsConfig, ApplicationStack, ApplicationStackResource, @@ -106,9 +107,15 @@ export { FileSystemHttpLogsConfig, FileSystemTokenStore, ForwardProxy, + FunctionAppMajorVersion, + FunctionAppMinorVersion, + FunctionAppRuntimes, + FunctionAppRuntimeSettings, + FunctionAppStack, FunctionEnvelope, GeoRegion, GitHub, + GitHubActionWebAppStackSettings, GlobalValidation, Google, HandlerMapping, @@ -126,6 +133,7 @@ export { IdentityProviders, IpSecurityRestriction, JwtClaimChecks, + LinuxJavaContainerSettings, Login, LoginRoutes, LoginScopes, @@ -179,6 +187,7 @@ export { SiteAuthSettings, SiteAuthSettingsV2, SiteConfig, + SiteConfigPropertiesDictionary, SiteConfigResource, SiteConfigurationSnapshotInfo, SiteExtensionInfo, @@ -239,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 26109847abc7..eac4c7f0ae88 100644 --- a/sdk/appservice/arm-appservice/src/models/resourceHealthMetadataOperationsMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/resourceHealthMetadataOperationsMappers.ts @@ -15,6 +15,7 @@ export { AnalysisDefinition, ApiDefinitionInfo, ApiManagementConfig, + AppInsightsWebAppStackSettings, ApplicationLogsConfig, ApplicationStack, ApplicationStackResource, @@ -106,9 +107,15 @@ export { FileSystemHttpLogsConfig, FileSystemTokenStore, ForwardProxy, + FunctionAppMajorVersion, + FunctionAppMinorVersion, + FunctionAppRuntimes, + FunctionAppRuntimeSettings, + FunctionAppStack, FunctionEnvelope, GeoRegion, GitHub, + GitHubActionWebAppStackSettings, GlobalValidation, Google, HandlerMapping, @@ -126,6 +133,7 @@ export { IdentityProviders, IpSecurityRestriction, JwtClaimChecks, + LinuxJavaContainerSettings, Login, LoginRoutes, LoginScopes, @@ -179,6 +187,7 @@ export { SiteAuthSettings, SiteAuthSettingsV2, SiteConfig, + SiteConfigPropertiesDictionary, SiteConfigResource, SiteConfigurationSnapshotInfo, SiteExtensionInfo, @@ -239,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 d8ee7ed2c8bf..07e83e928781 100644 --- a/sdk/appservice/arm-appservice/src/models/staticSitesMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/staticSitesMappers.ts @@ -15,6 +15,7 @@ export { AnalysisDefinition, ApiDefinitionInfo, ApiManagementConfig, + AppInsightsWebAppStackSettings, ApplicationLogsConfig, ApplicationStack, ApplicationStackResource, @@ -106,9 +107,15 @@ export { FileSystemHttpLogsConfig, FileSystemTokenStore, ForwardProxy, + FunctionAppMajorVersion, + FunctionAppMinorVersion, + FunctionAppRuntimes, + FunctionAppRuntimeSettings, + FunctionAppStack, FunctionEnvelope, GeoRegion, GitHub, + GitHubActionWebAppStackSettings, GlobalValidation, Google, HandlerMapping, @@ -126,6 +133,7 @@ export { IdentityProviders, IpSecurityRestriction, JwtClaimChecks, + LinuxJavaContainerSettings, Login, LoginRoutes, LoginScopes, @@ -178,6 +186,7 @@ export { SiteAuthSettings, SiteAuthSettingsV2, SiteConfig, + SiteConfigPropertiesDictionary, SiteConfigResource, SiteConfigurationSnapshotInfo, SiteExtensionInfo, @@ -243,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 ea9caca31cf8..27fcac922213 100644 --- a/sdk/appservice/arm-appservice/src/models/topLevelDomainsMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/topLevelDomainsMappers.ts @@ -15,6 +15,7 @@ export { AnalysisDefinition, ApiDefinitionInfo, ApiManagementConfig, + AppInsightsWebAppStackSettings, ApplicationLogsConfig, ApplicationStack, ApplicationStackResource, @@ -106,9 +107,15 @@ export { FileSystemHttpLogsConfig, FileSystemTokenStore, ForwardProxy, + FunctionAppMajorVersion, + FunctionAppMinorVersion, + FunctionAppRuntimes, + FunctionAppRuntimeSettings, + FunctionAppStack, FunctionEnvelope, GeoRegion, GitHub, + GitHubActionWebAppStackSettings, GlobalValidation, Google, HandlerMapping, @@ -126,6 +133,7 @@ export { IdentityProviders, IpSecurityRestriction, JwtClaimChecks, + LinuxJavaContainerSettings, Login, LoginRoutes, LoginScopes, @@ -178,6 +186,7 @@ export { SiteAuthSettings, SiteAuthSettingsV2, SiteConfig, + SiteConfigPropertiesDictionary, SiteConfigResource, SiteConfigurationSnapshotInfo, SiteExtensionInfo, @@ -242,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 ce183bc2e7bc..37e521517e50 100644 --- a/sdk/appservice/arm-appservice/src/models/webAppsMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/webAppsMappers.ts @@ -15,6 +15,7 @@ export { AnalysisDefinition, ApiDefinitionInfo, ApiManagementConfig, + AppInsightsWebAppStackSettings, ApplicationLogsConfig, ApplicationStack, ApplicationStackResource, @@ -115,11 +116,17 @@ export { FileSystemHttpLogsConfig, FileSystemTokenStore, ForwardProxy, + FunctionAppMajorVersion, + FunctionAppMinorVersion, + FunctionAppRuntimes, + FunctionAppRuntimeSettings, + FunctionAppStack, FunctionEnvelope, FunctionEnvelopeCollection, FunctionSecrets, GeoRegion, GitHub, + GitHubActionWebAppStackSettings, GlobalValidation, Google, HandlerMapping, @@ -141,6 +148,7 @@ export { IpSecurityRestriction, JwtClaimChecks, KeyInfo, + LinuxJavaContainerSettings, LocalizableString, Login, LoginRoutes, @@ -209,6 +217,7 @@ export { SiteCloneability, SiteCloneabilityCriterion, SiteConfig, + SiteConfigPropertiesDictionary, SiteConfigResource, SiteConfigResourceCollection, SiteConfigurationSnapshotInfo, @@ -278,9 +287,15 @@ export { VnetValidationTestFailure, WebAppCollection, WebAppInstanceStatusCollection, + WebAppMajorVersion, + WebAppMinorVersion, + WebAppRuntimes, + WebAppRuntimeSettings, + WebAppStack, WebJob, WebJobCollection, WebSiteInstanceStatus, + WindowsJavaContainerSettings, WorkerPool, WorkerPoolResource } from "../models/mappers"; diff --git a/sdk/appservice/arm-appservice/src/operations/domains.ts b/sdk/appservice/arm-appservice/src/operations/domains.ts index e84dcc88615c..9e3f55998410 100644 --- a/sdk/appservice/arm-appservice/src/operations/domains.ts +++ b/sdk/appservice/arm-appservice/src/operations/domains.ts @@ -348,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. @@ -428,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. diff --git a/sdk/appservice/arm-appservice/src/operations/provider.ts b/sdk/appservice/arm-appservice/src/operations/provider.ts index 4dbf9e22da9c..295419996e38 100644 --- a/sdk/appservice/arm-appservice/src/operations/provider.ts +++ b/sdk/appservice/arm-appservice/src/operations/provider.ts @@ -50,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 @@ -77,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 @@ -131,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 @@ -162,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 @@ -215,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", @@ -235,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", @@ -284,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", @@ -308,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", diff --git a/sdk/appservice/arm-appservice/src/webSiteManagementClientContext.ts b/sdk/appservice/arm-appservice/src/webSiteManagementClientContext.ts index 77fbbfddba23..3cdfd7b7aa4b 100644 --- a/sdk/appservice/arm-appservice/src/webSiteManagementClientContext.ts +++ b/sdk/appservice/arm-appservice/src/webSiteManagementClientContext.ts @@ -37,14 +37,14 @@ export class WebSiteManagementClientContext extends msRestAzure.AzureServiceClie if (!options) { options = {}; } - if (!options.userAgent) { + if(!options.userAgent) { const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; } super(credentials, options); - this.apiVersion = '2020-09-01'; + this.apiVersion = '2020-10-01'; this.acceptLanguage = 'en-US'; this.longRunningOperationRetryTimeout = 30; this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com"; @@ -52,10 +52,10 @@ export class WebSiteManagementClientContext extends msRestAzure.AzureServiceClie this.credentials = credentials; this.subscriptionId = subscriptionId; - if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) { + if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } - if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { + if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout; } }