diff --git a/sdk/appservice/arm-appservice/package.json b/sdk/appservice/arm-appservice/package.json index 3b79f69082dd..2ed38981c18c 100644 --- a/sdk/appservice/arm-appservice/package.json +++ b/sdk/appservice/arm-appservice/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appservice/arm-appservice", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/appservice/arm-appservice", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/appservice/arm-appservice/src/models/appServiceCertificateOrdersMappers.ts b/sdk/appservice/arm-appservice/src/models/appServiceCertificateOrdersMappers.ts index 9d94b6b39b54..06e52330ab8a 100644 --- a/sdk/appservice/arm-appservice/src/models/appServiceCertificateOrdersMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/appServiceCertificateOrdersMappers.ts @@ -71,22 +71,32 @@ export { CertificatePatchResource, ClientRegistration, CloningInfo, + Configuration, ConnectionStringDictionary, ConnStringInfo, ConnStringValueTypePair, Contact, + Container, + ContainerApp, + ContainerAppsConfiguration, ContainerCpuStatistics, ContainerCpuUsage, ContainerInfo, ContainerMemoryStatistics, ContainerNetworkInterfaceStatistics, + ContainerResources, ContainerThrottlingData, ContinuousWebJob, CookieExpiration, CorsSettings, CsmPublishingCredentialsPoliciesEntity, CustomHostnameAnalysisResult, + CustomHostnameSites, CustomOpenIdConnectProvider, + CustomScaleRule, + Dapr, + DaprComponent, + DaprMetadata, DatabaseBackupSetting, DataProviderMetadata, DataSource, @@ -115,6 +125,7 @@ export { DomainPatchResource, DomainPurchaseConsent, EnabledConfig, + EnvironmentVar, ErrorEntity, Experiments, ExtendedLocation, @@ -144,6 +155,7 @@ export { HostNameBinding, HostNameSslState, HttpLogsConfig, + HttpScaleRule, HttpSettings, HttpSettingsRoutes, HybridConnection, @@ -151,6 +163,7 @@ export { HybridConnectionLimits, Identifier, IdentityProviders, + Ingress, IpSecurityRestriction, JwtClaimChecks, KeyValuePairStringObject, @@ -194,9 +207,11 @@ export { PushSettings, QueryUtterancesResult, QueryUtterancesResults, + QueueScaleRule, RampUpRule, Recommendation, RecommendationRule, + RegistryCredentials, ReissueCertificateOrderRequest, RelayServiceConnectionEntity, RemotePrivateEndpointConnection, @@ -211,7 +226,12 @@ export { ResponseMessageEnvelopeRemotePrivateEndpointConnection, ResponseMetaData, RestoreRequest, + Revision, SampleUtterance, + Scale, + ScaleRule, + ScaleRuleAuth, + Secret, Site, SiteAuthSettings, SiteAuthSettingsV2, @@ -267,8 +287,10 @@ export { StringList, SupportTopic, SwiftVirtualNetwork, + Template, TokenStore, TopLevelDomain, + TrafficWeight, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, diff --git a/sdk/appservice/arm-appservice/src/models/appServiceEnvironmentsMappers.ts b/sdk/appservice/arm-appservice/src/models/appServiceEnvironmentsMappers.ts index 2b5c73a75551..ae944c88c457 100644 --- a/sdk/appservice/arm-appservice/src/models/appServiceEnvironmentsMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/appServiceEnvironmentsMappers.ts @@ -71,15 +71,20 @@ export { CertificatePatchResource, ClientRegistration, CloningInfo, + Configuration, ConnectionStringDictionary, ConnStringInfo, ConnStringValueTypePair, Contact, + Container, + ContainerApp, + ContainerAppsConfiguration, ContainerCpuStatistics, ContainerCpuUsage, ContainerInfo, ContainerMemoryStatistics, ContainerNetworkInterfaceStatistics, + ContainerResources, ContainerThrottlingData, ContinuousWebJob, CookieExpiration, @@ -88,7 +93,12 @@ export { CsmUsageQuota, CsmUsageQuotaCollection, CustomHostnameAnalysisResult, + CustomHostnameSites, CustomOpenIdConnectProvider, + CustomScaleRule, + Dapr, + DaprComponent, + DaprMetadata, DatabaseBackupSetting, DataProviderMetadata, DataSource, @@ -119,6 +129,7 @@ export { EnabledConfig, EndpointDependency, EndpointDetail, + EnvironmentVar, ErrorEntity, Experiments, ExtendedLocation, @@ -149,6 +160,7 @@ export { HostNameBinding, HostNameSslState, HttpLogsConfig, + HttpScaleRule, HttpSettings, HttpSettingsRoutes, HybridConnection, @@ -158,6 +170,7 @@ export { IdentityProviders, InboundEnvironmentEndpoint, InboundEnvironmentEndpointCollection, + Ingress, IpSecurityRestriction, JwtClaimChecks, KeyValuePairStringObject, @@ -208,9 +221,11 @@ export { PushSettings, QueryUtterancesResult, QueryUtterancesResults, + QueueScaleRule, RampUpRule, Recommendation, RecommendationRule, + RegistryCredentials, ReissueCertificateOrderRequest, RelayServiceConnectionEntity, RemotePrivateEndpointConnection, @@ -226,7 +241,12 @@ export { ResponseMessageEnvelopeRemotePrivateEndpointConnection, ResponseMetaData, RestoreRequest, + Revision, SampleUtterance, + Scale, + ScaleRule, + ScaleRuleAuth, + Secret, Site, SiteAuthSettings, SiteAuthSettingsV2, @@ -284,8 +304,10 @@ export { StringList, SupportTopic, SwiftVirtualNetwork, + Template, TokenStore, TopLevelDomain, + TrafficWeight, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, diff --git a/sdk/appservice/arm-appservice/src/models/appServicePlansMappers.ts b/sdk/appservice/arm-appservice/src/models/appServicePlansMappers.ts index b37a5a6c15b0..690b2b575ae4 100644 --- a/sdk/appservice/arm-appservice/src/models/appServicePlansMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/appServicePlansMappers.ts @@ -70,15 +70,20 @@ export { CertificatePatchResource, ClientRegistration, CloningInfo, + Configuration, ConnectionStringDictionary, ConnStringInfo, ConnStringValueTypePair, Contact, + Container, + ContainerApp, + ContainerAppsConfiguration, ContainerCpuStatistics, ContainerCpuUsage, ContainerInfo, ContainerMemoryStatistics, ContainerNetworkInterfaceStatistics, + ContainerResources, ContainerThrottlingData, ContinuousWebJob, CookieExpiration, @@ -87,7 +92,12 @@ export { CsmUsageQuota, CsmUsageQuotaCollection, CustomHostnameAnalysisResult, + CustomHostnameSites, CustomOpenIdConnectProvider, + CustomScaleRule, + Dapr, + DaprComponent, + DaprMetadata, DatabaseBackupSetting, DataProviderMetadata, DataSource, @@ -116,6 +126,7 @@ export { DomainPatchResource, DomainPurchaseConsent, EnabledConfig, + EnvironmentVar, ErrorEntity, Experiments, ExtendedLocation, @@ -145,6 +156,7 @@ export { HostNameBinding, HostNameSslState, HttpLogsConfig, + HttpScaleRule, HttpSettings, HttpSettingsRoutes, HybridConnection, @@ -153,6 +165,7 @@ export { HybridConnectionLimits, Identifier, IdentityProviders, + Ingress, IpSecurityRestriction, JwtClaimChecks, KeyValuePairStringObject, @@ -196,9 +209,11 @@ export { PushSettings, QueryUtterancesResult, QueryUtterancesResults, + QueueScaleRule, RampUpRule, Recommendation, RecommendationRule, + RegistryCredentials, ReissueCertificateOrderRequest, RelayServiceConnectionEntity, RemotePrivateEndpointConnection, @@ -214,7 +229,12 @@ export { ResponseMessageEnvelopeRemotePrivateEndpointConnection, ResponseMetaData, RestoreRequest, + Revision, SampleUtterance, + Scale, + ScaleRule, + ScaleRuleAuth, + Secret, Site, SiteAuthSettings, SiteAuthSettingsV2, @@ -268,8 +288,10 @@ export { StringList, SupportTopic, SwiftVirtualNetwork, + Template, TokenStore, TopLevelDomain, + TrafficWeight, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, diff --git a/sdk/appservice/arm-appservice/src/models/certificateOrdersDiagnosticsMappers.ts b/sdk/appservice/arm-appservice/src/models/certificateOrdersDiagnosticsMappers.ts index 64a43c1aaef6..fe93b8e9308b 100644 --- a/sdk/appservice/arm-appservice/src/models/certificateOrdersDiagnosticsMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/certificateOrdersDiagnosticsMappers.ts @@ -69,22 +69,32 @@ export { CertificatePatchResource, ClientRegistration, CloningInfo, + Configuration, ConnectionStringDictionary, ConnStringInfo, ConnStringValueTypePair, Contact, + Container, + ContainerApp, + ContainerAppsConfiguration, ContainerCpuStatistics, ContainerCpuUsage, ContainerInfo, ContainerMemoryStatistics, ContainerNetworkInterfaceStatistics, + ContainerResources, ContainerThrottlingData, ContinuousWebJob, CookieExpiration, CorsSettings, CsmPublishingCredentialsPoliciesEntity, CustomHostnameAnalysisResult, + CustomHostnameSites, CustomOpenIdConnectProvider, + CustomScaleRule, + Dapr, + DaprComponent, + DaprMetadata, DatabaseBackupSetting, DataProviderMetadata, DataSource, @@ -114,6 +124,7 @@ export { DomainPatchResource, DomainPurchaseConsent, EnabledConfig, + EnvironmentVar, ErrorEntity, Experiments, ExtendedLocation, @@ -143,6 +154,7 @@ export { HostNameBinding, HostNameSslState, HttpLogsConfig, + HttpScaleRule, HttpSettings, HttpSettingsRoutes, HybridConnection, @@ -150,6 +162,7 @@ export { HybridConnectionLimits, Identifier, IdentityProviders, + Ingress, IpSecurityRestriction, JwtClaimChecks, KeyValuePairStringObject, @@ -192,9 +205,11 @@ export { PushSettings, QueryUtterancesResult, QueryUtterancesResults, + QueueScaleRule, RampUpRule, Recommendation, RecommendationRule, + RegistryCredentials, ReissueCertificateOrderRequest, RelayServiceConnectionEntity, RemotePrivateEndpointConnection, @@ -209,7 +224,12 @@ export { ResponseMessageEnvelopeRemotePrivateEndpointConnection, ResponseMetaData, RestoreRequest, + Revision, SampleUtterance, + Scale, + ScaleRule, + ScaleRuleAuth, + Secret, Site, SiteAuthSettings, SiteAuthSettingsV2, @@ -263,8 +283,10 @@ export { StringList, SupportTopic, SwiftVirtualNetwork, + Template, TokenStore, TopLevelDomain, + TrafficWeight, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, diff --git a/sdk/appservice/arm-appservice/src/models/certificatesMappers.ts b/sdk/appservice/arm-appservice/src/models/certificatesMappers.ts index 95dc7d012cc6..25252c4be5db 100644 --- a/sdk/appservice/arm-appservice/src/models/certificatesMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/certificatesMappers.ts @@ -70,22 +70,32 @@ export { CertificatePatchResource, ClientRegistration, CloningInfo, + Configuration, ConnectionStringDictionary, ConnStringInfo, ConnStringValueTypePair, Contact, + Container, + ContainerApp, + ContainerAppsConfiguration, ContainerCpuStatistics, ContainerCpuUsage, ContainerInfo, ContainerMemoryStatistics, ContainerNetworkInterfaceStatistics, + ContainerResources, ContainerThrottlingData, ContinuousWebJob, CookieExpiration, CorsSettings, CsmPublishingCredentialsPoliciesEntity, CustomHostnameAnalysisResult, + CustomHostnameSites, CustomOpenIdConnectProvider, + CustomScaleRule, + Dapr, + DaprComponent, + DaprMetadata, DatabaseBackupSetting, DataProviderMetadata, DataSource, @@ -114,6 +124,7 @@ export { DomainPatchResource, DomainPurchaseConsent, EnabledConfig, + EnvironmentVar, ErrorEntity, Experiments, ExtendedLocation, @@ -141,8 +152,10 @@ export { HostingEnvironmentProfile, HostName, HostNameBinding, + HostNameBindingCollection, HostNameSslState, HttpLogsConfig, + HttpScaleRule, HttpSettings, HttpSettingsRoutes, HybridConnection, @@ -150,6 +163,7 @@ export { HybridConnectionLimits, Identifier, IdentityProviders, + Ingress, IpSecurityRestriction, JwtClaimChecks, KeyValuePairStringObject, @@ -192,9 +206,11 @@ export { PushSettings, QueryUtterancesResult, QueryUtterancesResults, + QueueScaleRule, RampUpRule, Recommendation, RecommendationRule, + RegistryCredentials, ReissueCertificateOrderRequest, RelayServiceConnectionEntity, RemotePrivateEndpointConnection, @@ -209,7 +225,12 @@ export { ResponseMessageEnvelopeRemotePrivateEndpointConnection, ResponseMetaData, RestoreRequest, + Revision, SampleUtterance, + Scale, + ScaleRule, + ScaleRuleAuth, + Secret, Site, SiteAuthSettings, SiteAuthSettingsV2, @@ -263,8 +284,10 @@ export { StringList, SupportTopic, SwiftVirtualNetwork, + Template, TokenStore, TopLevelDomain, + TrafficWeight, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, diff --git a/sdk/appservice/arm-appservice/src/models/containerAppsMappers.ts b/sdk/appservice/arm-appservice/src/models/containerAppsMappers.ts new file mode 100644 index 000000000000..851c9728597d --- /dev/null +++ b/sdk/appservice/arm-appservice/src/models/containerAppsMappers.ts @@ -0,0 +1,320 @@ +/* + * 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. + */ + +export { + AbnormalTimePeriod, + Address, + AddressResponse, + AllowedAudiencesValidation, + AllowedPrincipals, + AnalysisData, + AnalysisDefinition, + ApiDefinitionInfo, + ApiKVReference, + ApiManagementConfig, + AppInsightsWebAppStackSettings, + Apple, + AppleRegistration, + ApplicationLogsConfig, + ApplicationStack, + ApplicationStackResource, + AppLogsConfiguration, + AppRegistration, + AppServiceCertificate, + AppServiceCertificateOrder, + AppServiceCertificateOrderPatchResource, + AppServiceCertificatePatchResource, + AppServiceCertificateResource, + AppServiceEnvironmentPatchResource, + AppServiceEnvironmentResource, + AppServicePlan, + AppServicePlanPatchResource, + ArcConfiguration, + ArmIdWrapper, + ArmPlan, + AseV3NetworkingConfiguration, + AuthPlatform, + AutoHealActions, + AutoHealCustomAction, + AutoHealRules, + AutoHealTriggers, + AzureActiveDirectory, + AzureActiveDirectoryLogin, + AzureActiveDirectoryRegistration, + AzureActiveDirectoryValidation, + AzureBlobStorageApplicationLogsConfig, + AzureBlobStorageHttpLogsConfig, + AzureStaticWebApps, + AzureStaticWebAppsRegistration, + AzureStorageInfoValue, + AzureStoragePropertyDictionaryResource, + AzureTableStorageApplicationLogsConfig, + BackupItem, + BackupRequest, + BackupSchedule, + BaseResource, + BillingMeter, + BlobStorageTokenStore, + Capability, + Certificate, + CertificateDetails, + CertificateEmail, + CertificateOrderAction, + CertificateOrderContact, + CertificatePatchResource, + ClientRegistration, + CloningInfo, + Configuration, + ConnectionStringDictionary, + ConnStringInfo, + ConnStringValueTypePair, + Contact, + Container, + ContainerApp, + ContainerAppCollection, + ContainerAppsConfiguration, + ContainerAppSecret, + ContainerCpuStatistics, + ContainerCpuUsage, + ContainerInfo, + ContainerMemoryStatistics, + ContainerNetworkInterfaceStatistics, + ContainerResources, + ContainerThrottlingData, + ContinuousWebJob, + CookieExpiration, + CorsSettings, + CsmPublishingCredentialsPoliciesEntity, + CustomHostnameAnalysisResult, + CustomHostnameSites, + CustomOpenIdConnectProvider, + CustomScaleRule, + Dapr, + DaprComponent, + DaprMetadata, + DatabaseBackupSetting, + DataProviderMetadata, + DataSource, + DataTableResponseColumn, + DataTableResponseObject, + DefaultAuthorizationPolicy, + DefaultErrorResponse, + DefaultErrorResponseError, + DefaultErrorResponseErrorDetailsItem, + DeletedAppRestoreRequest, + DeletedSite, + Deployment, + DetectorAbnormalTimePeriod, + DetectorDefinition, + DetectorDefinitionResource, + DetectorInfo, + DetectorResponse, + DiagnosticAnalysis, + DiagnosticCategory, + DiagnosticData, + DiagnosticDetectorResponse, + DiagnosticMetricSample, + DiagnosticMetricSet, + Domain, + DomainOwnershipIdentifier, + DomainPatchResource, + DomainPurchaseConsent, + EnabledConfig, + EnvironmentVar, + ErrorEntity, + Experiments, + ExtendedLocation, + Facebook, + FileSystemApplicationLogsConfig, + FileSystemHttpLogsConfig, + FileSystemTokenStore, + ForwardProxy, + FrontEndConfiguration, + FunctionAppMajorVersion, + FunctionAppMinorVersion, + FunctionAppRuntimes, + FunctionAppRuntimeSettings, + FunctionAppStack, + FunctionEnvelope, + GeoRegion, + GitHub, + GitHubActionCodeConfiguration, + GitHubActionConfiguration, + GitHubActionContainerConfiguration, + GitHubActionWebAppStackSettings, + GlobalValidation, + Google, + HandlerMapping, + HostingEnvironmentProfile, + HostName, + HostNameBinding, + HostNameSslState, + HttpLogsConfig, + HttpScaleRule, + HttpSettings, + HttpSettingsRoutes, + HybridConnection, + HybridConnectionKey, + HybridConnectionLimits, + Identifier, + IdentityProviders, + Ingress, + IpSecurityRestriction, + JwtClaimChecks, + KeyValuePairStringObject, + KubeEnvironment, + KubeEnvironmentPatchResource, + KubeEnvironmentProfile, + LegacyMicrosoftAccount, + LinuxJavaContainerSettings, + LogAnalyticsConfiguration, + Login, + LoginRoutes, + LoginScopes, + ManagedServiceIdentity, + MigrateMySqlRequest, + MigrateMySqlStatus, + MSDeploy, + MSDeployLog, + MSDeployLogEntry, + MSDeployStatus, + NameValuePair, + NetworkFeatures, + Nonce, + OpenIdConnectClientCredential, + OpenIdConnectConfig, + OpenIdConnectLogin, + OpenIdConnectRegistration, + PremierAddOn, + PremierAddOnOffer, + PremierAddOnPatchResource, + PrivateAccess, + PrivateAccessSubnet, + PrivateAccessVirtualNetwork, + PrivateLinkConnectionApprovalRequestResource, + PrivateLinkConnectionState, + ProcessInfo, + ProcessModuleInfo, + ProcessThreadInfo, + ProxyOnlyResource, + PublicCertificate, + PushSettings, + QueryUtterancesResult, + QueryUtterancesResults, + QueueScaleRule, + RampUpRule, + Recommendation, + RecommendationRule, + RegistryCredentials, + ReissueCertificateOrderRequest, + RelayServiceConnectionEntity, + RemotePrivateEndpointConnection, + RemotePrivateEndpointConnectionARMResource, + Rendering, + RenewCertificateOrderRequest, + RequestsBasedTrigger, + Resource, + ResourceHealthMetadata, + ResourceMetricAvailability, + ResourceMetricDefinition, + ResponseMessageEnvelopeRemotePrivateEndpointConnection, + ResponseMetaData, + RestoreRequest, + Revision, + SampleUtterance, + Scale, + ScaleRule, + ScaleRuleAuth, + Secret, + SecretsCollection, + Site, + SiteAuthSettings, + SiteAuthSettingsV2, + SiteConfig, + SiteConfigPropertiesDictionary, + SiteConfigResource, + SiteConfigurationSnapshotInfo, + SiteExtensionInfo, + SiteLimits, + SiteLogsConfig, + SiteMachineKey, + SitePatchResource, + SitePhpErrorLogFlag, + SiteSourceControl, + SkuCapacity, + SkuDescription, + SlotConfigNamesResource, + SlotDifference, + SlotSwapStatus, + SlowRequestsBasedTrigger, + Snapshot, + SnapshotRecoverySource, + SnapshotRestoreRequest, + Solution, + SourceControl, + StackMajorVersion, + StackMinorVersion, + StaticSiteARMResource, + StaticSiteBuildARMResource, + StaticSiteBuildProperties, + StaticSiteCustomDomainOverviewARMResource, + StaticSiteCustomDomainRequestPropertiesARMResource, + StaticSiteFunctionOverviewARMResource, + StaticSitePatchResource, + StaticSiteResetPropertiesARMResource, + StaticSitesWorkflowPreview, + StaticSitesWorkflowPreviewRequest, + StaticSiteTemplateOptions, + StaticSiteUserARMResource, + StaticSiteUserInvitationRequestResource, + StaticSiteUserInvitationResponseResource, + StaticSiteUserProvidedFunctionApp, + StaticSiteUserProvidedFunctionAppARMResource, + StaticSiteZipDeploymentARMResource, + Status, + StatusCodesBasedTrigger, + StatusCodesRangeBasedTrigger, + StorageMigrationOptions, + StorageMigrationResponse, + StringDictionary, + StringList, + SupportTopic, + SwiftVirtualNetwork, + Template, + TokenStore, + TopLevelDomain, + TrafficWeight, + TriggeredJobHistory, + TriggeredJobRun, + TriggeredWebJob, + Twitter, + TwitterRegistration, + Usage, + User, + UserAssignedIdentity, + VirtualApplication, + VirtualDirectory, + VirtualIPMapping, + VirtualNetworkProfile, + VnetGateway, + VnetInfo, + VnetInfoResource, + VnetParameters, + VnetRoute, + VnetValidationFailureDetails, + VnetValidationTestFailure, + WebAppMajorVersion, + WebAppMinorVersion, + WebAppRuntimes, + WebAppRuntimeSettings, + WebAppStack, + WebJob, + WebSiteInstanceStatus, + WindowsJavaContainerSettings, + WorkerPoolResource +} from "../models/mappers"; diff --git a/sdk/appservice/arm-appservice/src/models/containerAppsRevisionsMappers.ts b/sdk/appservice/arm-appservice/src/models/containerAppsRevisionsMappers.ts new file mode 100644 index 000000000000..b761985349e9 --- /dev/null +++ b/sdk/appservice/arm-appservice/src/models/containerAppsRevisionsMappers.ts @@ -0,0 +1,318 @@ +/* + * 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. + */ + +export { + AbnormalTimePeriod, + Address, + AddressResponse, + AllowedAudiencesValidation, + AllowedPrincipals, + AnalysisData, + AnalysisDefinition, + ApiDefinitionInfo, + ApiKVReference, + ApiManagementConfig, + AppInsightsWebAppStackSettings, + Apple, + AppleRegistration, + ApplicationLogsConfig, + ApplicationStack, + ApplicationStackResource, + AppLogsConfiguration, + AppRegistration, + AppServiceCertificate, + AppServiceCertificateOrder, + AppServiceCertificateOrderPatchResource, + AppServiceCertificatePatchResource, + AppServiceCertificateResource, + AppServiceEnvironmentPatchResource, + AppServiceEnvironmentResource, + AppServicePlan, + AppServicePlanPatchResource, + ArcConfiguration, + ArmIdWrapper, + ArmPlan, + AseV3NetworkingConfiguration, + AuthPlatform, + AutoHealActions, + AutoHealCustomAction, + AutoHealRules, + AutoHealTriggers, + AzureActiveDirectory, + AzureActiveDirectoryLogin, + AzureActiveDirectoryRegistration, + AzureActiveDirectoryValidation, + AzureBlobStorageApplicationLogsConfig, + AzureBlobStorageHttpLogsConfig, + AzureStaticWebApps, + AzureStaticWebAppsRegistration, + AzureStorageInfoValue, + AzureStoragePropertyDictionaryResource, + AzureTableStorageApplicationLogsConfig, + BackupItem, + BackupRequest, + BackupSchedule, + BaseResource, + BillingMeter, + BlobStorageTokenStore, + Capability, + Certificate, + CertificateDetails, + CertificateEmail, + CertificateOrderAction, + CertificateOrderContact, + CertificatePatchResource, + ClientRegistration, + CloningInfo, + Configuration, + ConnectionStringDictionary, + ConnStringInfo, + ConnStringValueTypePair, + Contact, + Container, + ContainerApp, + ContainerAppsConfiguration, + ContainerCpuStatistics, + ContainerCpuUsage, + ContainerInfo, + ContainerMemoryStatistics, + ContainerNetworkInterfaceStatistics, + ContainerResources, + ContainerThrottlingData, + ContinuousWebJob, + CookieExpiration, + CorsSettings, + CsmPublishingCredentialsPoliciesEntity, + CustomHostnameAnalysisResult, + CustomHostnameSites, + CustomOpenIdConnectProvider, + CustomScaleRule, + Dapr, + DaprComponent, + DaprMetadata, + DatabaseBackupSetting, + DataProviderMetadata, + DataSource, + DataTableResponseColumn, + DataTableResponseObject, + DefaultAuthorizationPolicy, + DefaultErrorResponse, + DefaultErrorResponseError, + DefaultErrorResponseErrorDetailsItem, + DeletedAppRestoreRequest, + DeletedSite, + Deployment, + DetectorAbnormalTimePeriod, + DetectorDefinition, + DetectorDefinitionResource, + DetectorInfo, + DetectorResponse, + DiagnosticAnalysis, + DiagnosticCategory, + DiagnosticData, + DiagnosticDetectorResponse, + DiagnosticMetricSample, + DiagnosticMetricSet, + Domain, + DomainOwnershipIdentifier, + DomainPatchResource, + DomainPurchaseConsent, + EnabledConfig, + EnvironmentVar, + ErrorEntity, + Experiments, + ExtendedLocation, + Facebook, + FileSystemApplicationLogsConfig, + FileSystemHttpLogsConfig, + FileSystemTokenStore, + ForwardProxy, + FrontEndConfiguration, + FunctionAppMajorVersion, + FunctionAppMinorVersion, + FunctionAppRuntimes, + FunctionAppRuntimeSettings, + FunctionAppStack, + FunctionEnvelope, + GeoRegion, + GitHub, + GitHubActionCodeConfiguration, + GitHubActionConfiguration, + GitHubActionContainerConfiguration, + GitHubActionWebAppStackSettings, + GlobalValidation, + Google, + HandlerMapping, + HostingEnvironmentProfile, + HostName, + HostNameBinding, + HostNameSslState, + HttpLogsConfig, + HttpScaleRule, + HttpSettings, + HttpSettingsRoutes, + HybridConnection, + HybridConnectionKey, + HybridConnectionLimits, + Identifier, + IdentityProviders, + Ingress, + IpSecurityRestriction, + JwtClaimChecks, + KeyValuePairStringObject, + KubeEnvironment, + KubeEnvironmentPatchResource, + KubeEnvironmentProfile, + LegacyMicrosoftAccount, + LinuxJavaContainerSettings, + LogAnalyticsConfiguration, + Login, + LoginRoutes, + LoginScopes, + ManagedServiceIdentity, + MigrateMySqlRequest, + MigrateMySqlStatus, + MSDeploy, + MSDeployLog, + MSDeployLogEntry, + MSDeployStatus, + NameValuePair, + NetworkFeatures, + Nonce, + OpenIdConnectClientCredential, + OpenIdConnectConfig, + OpenIdConnectLogin, + OpenIdConnectRegistration, + PremierAddOn, + PremierAddOnOffer, + PremierAddOnPatchResource, + PrivateAccess, + PrivateAccessSubnet, + PrivateAccessVirtualNetwork, + PrivateLinkConnectionApprovalRequestResource, + PrivateLinkConnectionState, + ProcessInfo, + ProcessModuleInfo, + ProcessThreadInfo, + ProxyOnlyResource, + PublicCertificate, + PushSettings, + QueryUtterancesResult, + QueryUtterancesResults, + QueueScaleRule, + RampUpRule, + Recommendation, + RecommendationRule, + RegistryCredentials, + ReissueCertificateOrderRequest, + RelayServiceConnectionEntity, + RemotePrivateEndpointConnection, + RemotePrivateEndpointConnectionARMResource, + Rendering, + RenewCertificateOrderRequest, + RequestsBasedTrigger, + Resource, + ResourceHealthMetadata, + ResourceMetricAvailability, + ResourceMetricDefinition, + ResponseMessageEnvelopeRemotePrivateEndpointConnection, + ResponseMetaData, + RestoreRequest, + Revision, + RevisionCollection, + SampleUtterance, + Scale, + ScaleRule, + ScaleRuleAuth, + Secret, + Site, + SiteAuthSettings, + SiteAuthSettingsV2, + SiteConfig, + SiteConfigPropertiesDictionary, + SiteConfigResource, + SiteConfigurationSnapshotInfo, + SiteExtensionInfo, + SiteLimits, + SiteLogsConfig, + SiteMachineKey, + SitePatchResource, + SitePhpErrorLogFlag, + SiteSourceControl, + SkuCapacity, + SkuDescription, + SlotConfigNamesResource, + SlotDifference, + SlotSwapStatus, + SlowRequestsBasedTrigger, + Snapshot, + SnapshotRecoverySource, + SnapshotRestoreRequest, + Solution, + SourceControl, + StackMajorVersion, + StackMinorVersion, + StaticSiteARMResource, + StaticSiteBuildARMResource, + StaticSiteBuildProperties, + StaticSiteCustomDomainOverviewARMResource, + StaticSiteCustomDomainRequestPropertiesARMResource, + StaticSiteFunctionOverviewARMResource, + StaticSitePatchResource, + StaticSiteResetPropertiesARMResource, + StaticSitesWorkflowPreview, + StaticSitesWorkflowPreviewRequest, + StaticSiteTemplateOptions, + StaticSiteUserARMResource, + StaticSiteUserInvitationRequestResource, + StaticSiteUserInvitationResponseResource, + StaticSiteUserProvidedFunctionApp, + StaticSiteUserProvidedFunctionAppARMResource, + StaticSiteZipDeploymentARMResource, + Status, + StatusCodesBasedTrigger, + StatusCodesRangeBasedTrigger, + StorageMigrationOptions, + StorageMigrationResponse, + StringDictionary, + StringList, + SupportTopic, + SwiftVirtualNetwork, + Template, + TokenStore, + TopLevelDomain, + TrafficWeight, + TriggeredJobHistory, + TriggeredJobRun, + TriggeredWebJob, + Twitter, + TwitterRegistration, + Usage, + User, + UserAssignedIdentity, + VirtualApplication, + VirtualDirectory, + VirtualIPMapping, + VirtualNetworkProfile, + VnetGateway, + VnetInfo, + VnetInfoResource, + VnetParameters, + VnetRoute, + VnetValidationFailureDetails, + VnetValidationTestFailure, + WebAppMajorVersion, + WebAppMinorVersion, + WebAppRuntimes, + WebAppRuntimeSettings, + WebAppStack, + WebJob, + WebSiteInstanceStatus, + WindowsJavaContainerSettings, + 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 d2981687b0c9..aab523dfd4b9 100644 --- a/sdk/appservice/arm-appservice/src/models/deletedWebAppsMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/deletedWebAppsMappers.ts @@ -69,22 +69,32 @@ export { CertificatePatchResource, ClientRegistration, CloningInfo, + Configuration, ConnectionStringDictionary, ConnStringInfo, ConnStringValueTypePair, Contact, + Container, + ContainerApp, + ContainerAppsConfiguration, ContainerCpuStatistics, ContainerCpuUsage, ContainerInfo, ContainerMemoryStatistics, ContainerNetworkInterfaceStatistics, + ContainerResources, ContainerThrottlingData, ContinuousWebJob, CookieExpiration, CorsSettings, CsmPublishingCredentialsPoliciesEntity, CustomHostnameAnalysisResult, + CustomHostnameSites, CustomOpenIdConnectProvider, + CustomScaleRule, + Dapr, + DaprComponent, + DaprMetadata, DatabaseBackupSetting, DataProviderMetadata, DataSource, @@ -114,6 +124,7 @@ export { DomainPatchResource, DomainPurchaseConsent, EnabledConfig, + EnvironmentVar, ErrorEntity, Experiments, ExtendedLocation, @@ -143,6 +154,7 @@ export { HostNameBinding, HostNameSslState, HttpLogsConfig, + HttpScaleRule, HttpSettings, HttpSettingsRoutes, HybridConnection, @@ -150,6 +162,7 @@ export { HybridConnectionLimits, Identifier, IdentityProviders, + Ingress, IpSecurityRestriction, JwtClaimChecks, KeyValuePairStringObject, @@ -192,9 +205,11 @@ export { PushSettings, QueryUtterancesResult, QueryUtterancesResults, + QueueScaleRule, RampUpRule, Recommendation, RecommendationRule, + RegistryCredentials, ReissueCertificateOrderRequest, RelayServiceConnectionEntity, RemotePrivateEndpointConnection, @@ -209,7 +224,12 @@ export { ResponseMessageEnvelopeRemotePrivateEndpointConnection, ResponseMetaData, RestoreRequest, + Revision, SampleUtterance, + Scale, + ScaleRule, + ScaleRuleAuth, + Secret, Site, SiteAuthSettings, SiteAuthSettingsV2, @@ -263,8 +283,10 @@ export { StringList, SupportTopic, SwiftVirtualNetwork, + Template, TokenStore, TopLevelDomain, + TrafficWeight, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, diff --git a/sdk/appservice/arm-appservice/src/models/diagnosticsMappers.ts b/sdk/appservice/arm-appservice/src/models/diagnosticsMappers.ts index 75b1196b3b9f..5b7412bf0410 100644 --- a/sdk/appservice/arm-appservice/src/models/diagnosticsMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/diagnosticsMappers.ts @@ -69,22 +69,32 @@ export { CertificatePatchResource, ClientRegistration, CloningInfo, + Configuration, ConnectionStringDictionary, ConnStringInfo, ConnStringValueTypePair, Contact, + Container, + ContainerApp, + ContainerAppsConfiguration, ContainerCpuStatistics, ContainerCpuUsage, ContainerInfo, ContainerMemoryStatistics, ContainerNetworkInterfaceStatistics, + ContainerResources, ContainerThrottlingData, ContinuousWebJob, CookieExpiration, CorsSettings, CsmPublishingCredentialsPoliciesEntity, CustomHostnameAnalysisResult, + CustomHostnameSites, CustomOpenIdConnectProvider, + CustomScaleRule, + Dapr, + DaprComponent, + DaprMetadata, DatabaseBackupSetting, DataProviderMetadata, DataSource, @@ -117,6 +127,7 @@ export { DomainPatchResource, DomainPurchaseConsent, EnabledConfig, + EnvironmentVar, ErrorEntity, Experiments, ExtendedLocation, @@ -146,6 +157,7 @@ export { HostNameBinding, HostNameSslState, HttpLogsConfig, + HttpScaleRule, HttpSettings, HttpSettingsRoutes, HybridConnection, @@ -153,6 +165,7 @@ export { HybridConnectionLimits, Identifier, IdentityProviders, + Ingress, IpSecurityRestriction, JwtClaimChecks, KeyValuePairStringObject, @@ -195,9 +208,11 @@ export { PushSettings, QueryUtterancesResult, QueryUtterancesResults, + QueueScaleRule, RampUpRule, Recommendation, RecommendationRule, + RegistryCredentials, ReissueCertificateOrderRequest, RelayServiceConnectionEntity, RemotePrivateEndpointConnection, @@ -212,7 +227,12 @@ export { ResponseMessageEnvelopeRemotePrivateEndpointConnection, ResponseMetaData, RestoreRequest, + Revision, SampleUtterance, + Scale, + ScaleRule, + ScaleRuleAuth, + Secret, Site, SiteAuthSettings, SiteAuthSettingsV2, @@ -266,8 +286,10 @@ export { StringList, SupportTopic, SwiftVirtualNetwork, + Template, TokenStore, TopLevelDomain, + TrafficWeight, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, diff --git a/sdk/appservice/arm-appservice/src/models/domainsMappers.ts b/sdk/appservice/arm-appservice/src/models/domainsMappers.ts index a8e8c61ebafc..ed04cbba0e2a 100644 --- a/sdk/appservice/arm-appservice/src/models/domainsMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/domainsMappers.ts @@ -69,22 +69,32 @@ export { CertificatePatchResource, ClientRegistration, CloningInfo, + Configuration, ConnectionStringDictionary, ConnStringInfo, ConnStringValueTypePair, Contact, + Container, + ContainerApp, + ContainerAppsConfiguration, ContainerCpuStatistics, ContainerCpuUsage, ContainerInfo, ContainerMemoryStatistics, ContainerNetworkInterfaceStatistics, + ContainerResources, ContainerThrottlingData, ContinuousWebJob, CookieExpiration, CorsSettings, CsmPublishingCredentialsPoliciesEntity, CustomHostnameAnalysisResult, + CustomHostnameSites, CustomOpenIdConnectProvider, + CustomScaleRule, + Dapr, + DaprComponent, + DaprMetadata, DatabaseBackupSetting, DataProviderMetadata, DataSource, @@ -118,6 +128,7 @@ export { DomainPurchaseConsent, DomainRecommendationSearchParameters, EnabledConfig, + EnvironmentVar, ErrorEntity, Experiments, ExtendedLocation, @@ -147,6 +158,7 @@ export { HostNameBinding, HostNameSslState, HttpLogsConfig, + HttpScaleRule, HttpSettings, HttpSettingsRoutes, HybridConnection, @@ -154,6 +166,7 @@ export { HybridConnectionLimits, Identifier, IdentityProviders, + Ingress, IpSecurityRestriction, JwtClaimChecks, KeyValuePairStringObject, @@ -198,9 +211,11 @@ export { PushSettings, QueryUtterancesResult, QueryUtterancesResults, + QueueScaleRule, RampUpRule, Recommendation, RecommendationRule, + RegistryCredentials, ReissueCertificateOrderRequest, RelayServiceConnectionEntity, RemotePrivateEndpointConnection, @@ -215,7 +230,12 @@ export { ResponseMessageEnvelopeRemotePrivateEndpointConnection, ResponseMetaData, RestoreRequest, + Revision, SampleUtterance, + Scale, + ScaleRule, + ScaleRuleAuth, + Secret, Site, SiteAuthSettings, SiteAuthSettingsV2, @@ -269,8 +289,10 @@ export { StringList, SupportTopic, SwiftVirtualNetwork, + Template, TokenStore, TopLevelDomain, + TrafficWeight, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, diff --git a/sdk/appservice/arm-appservice/src/models/globalMappers.ts b/sdk/appservice/arm-appservice/src/models/globalMappers.ts index 0800f80541a7..554822dcad8b 100644 --- a/sdk/appservice/arm-appservice/src/models/globalMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/globalMappers.ts @@ -69,22 +69,32 @@ export { CertificatePatchResource, ClientRegistration, CloningInfo, + Configuration, ConnectionStringDictionary, ConnStringInfo, ConnStringValueTypePair, Contact, + Container, + ContainerApp, + ContainerAppsConfiguration, ContainerCpuStatistics, ContainerCpuUsage, ContainerInfo, ContainerMemoryStatistics, ContainerNetworkInterfaceStatistics, + ContainerResources, ContainerThrottlingData, ContinuousWebJob, CookieExpiration, CorsSettings, CsmPublishingCredentialsPoliciesEntity, CustomHostnameAnalysisResult, + CustomHostnameSites, CustomOpenIdConnectProvider, + CustomScaleRule, + Dapr, + DaprComponent, + DaprMetadata, DatabaseBackupSetting, DataProviderMetadata, DataSource, @@ -113,6 +123,7 @@ export { DomainPatchResource, DomainPurchaseConsent, EnabledConfig, + EnvironmentVar, ErrorEntity, Experiments, ExtendedLocation, @@ -142,6 +153,7 @@ export { HostNameBinding, HostNameSslState, HttpLogsConfig, + HttpScaleRule, HttpSettings, HttpSettingsRoutes, HybridConnection, @@ -149,6 +161,7 @@ export { HybridConnectionLimits, Identifier, IdentityProviders, + Ingress, IpSecurityRestriction, JwtClaimChecks, KeyValuePairStringObject, @@ -191,9 +204,11 @@ export { PushSettings, QueryUtterancesResult, QueryUtterancesResults, + QueueScaleRule, RampUpRule, Recommendation, RecommendationRule, + RegistryCredentials, ReissueCertificateOrderRequest, RelayServiceConnectionEntity, RemotePrivateEndpointConnection, @@ -208,7 +223,12 @@ export { ResponseMessageEnvelopeRemotePrivateEndpointConnection, ResponseMetaData, RestoreRequest, + Revision, SampleUtterance, + Scale, + ScaleRule, + ScaleRuleAuth, + Secret, Site, SiteAuthSettings, SiteAuthSettingsV2, @@ -262,8 +282,10 @@ export { StringList, SupportTopic, SwiftVirtualNetwork, + Template, TokenStore, TopLevelDomain, + TrafficWeight, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, diff --git a/sdk/appservice/arm-appservice/src/models/index.ts b/sdk/appservice/arm-appservice/src/models/index.ts index ff353311f7e7..3d0955dcdeb4 100644 --- a/sdk/appservice/arm-appservice/src/models/index.ts +++ b/sdk/appservice/arm-appservice/src/models/index.ts @@ -806,6 +806,49 @@ export interface HybridConnection extends ProxyOnlyResource { serviceBusSuffix?: string; } +/** + * A hostname binding object. + */ +export interface HostNameBinding extends ProxyOnlyResource { + /** + * App Service app name. + */ + siteName?: string; + /** + * Fully qualified ARM domain resource URI. + */ + domainId?: string; + /** + * Azure resource name. + */ + azureResourceName?: string; + /** + * Azure resource type. Possible values include: 'Website', 'TrafficManager' + */ + azureResourceType?: AzureResourceType; + /** + * Custom DNS record type. Possible values include: 'CName', 'A' + */ + customHostNameDnsRecordType?: CustomHostNameDnsRecordType; + /** + * Hostname type. Possible values include: 'Verified', 'Managed' + */ + hostNameType?: HostNameType; + /** + * SSL type. Possible values include: 'Disabled', 'SniEnabled', 'IpBasedEnabled' + */ + sslState?: SslState; + /** + * SSL certificate thumbprint + */ + thumbprint?: string; + /** + * Virtual IP address assigned to the hostname if IP based SSL is enabled. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly virtualIP?: string; +} + /** * Sample utterance. */ @@ -4255,6919 +4298,6593 @@ export interface CertificatePatchResource extends ProxyOnlyResource { } /** - * Class Representing Solution for problems detected. + * Container App container environment variable. */ -export interface Solution { - /** - * Solution Id. - */ - id?: number; - /** - * Display Name of the solution - */ - displayName?: string; +export interface EnvironmentVar { /** - * Order of the solution. + * Environment variable name. */ - order?: number; + name?: string; /** - * Description of the solution + * Non-secret environment variable value. */ - description?: string; + value?: string; /** - * Type of Solution. Possible values include: 'QuickSolution', 'DeepInvestigation', - * 'BestPractices' + * Name of the Container App secret from which to pull the environment variable value. */ - type?: SolutionType; + secretRef?: string; +} + +/** + * Container App container resource requirements. + */ +export interface ContainerResources { /** - * Solution Data. + * Required CPU in cores, e.g. 0.5 */ - data?: NameValuePair[][]; + cpu?: number; /** - * Solution Metadata. + * Required memory, e.g. "250Mb" */ - metadata?: NameValuePair[][]; + memory?: string; } /** - * Class representing Abnormal Time Period detected. + * Container App container definition. */ -export interface DetectorAbnormalTimePeriod { +export interface Container { /** - * Start time of the correlated event + * Container image tag. */ - startTime?: Date; + image?: string; /** - * End time of the correlated event + * Custom container name. */ - endTime?: Date; + name?: string; /** - * Message describing the event + * Container start command. */ - message?: string; + command?: string[]; /** - * Represents the name of the Detector + * Container start command arguments. */ - source?: string; + args?: string[]; /** - * Represents the rank of the Detector + * Container environment variables. */ - priority?: number; + env?: EnvironmentVar[]; /** - * Downtime metadata + * Container resource requirements. */ - metaData?: NameValuePair[][]; + resources?: ContainerResources; +} + +/** + * Auth Secrets for Container App Scale Rule + */ +export interface ScaleRuleAuth { /** - * Represents the type of the Detector. Possible values include: 'ServiceIncident', - * 'AppDeployment', 'AppCrash', 'RuntimeIssueDetected', 'AseDeployment', 'UserIssue', - * 'PlatformIssue', 'Other' + * Name of the Container App secret from which to pull the auth params. */ - type?: IssueType; + secretRef?: string; /** - * List of proposed solutions + * Trigger Parameter that uses the secret */ - solutions?: Solution[]; + triggerParameter?: string; } /** - * Class representing Abnormal Time Period identified in diagnosis + * Container App container Custom scaling rule. */ -export interface AbnormalTimePeriod { +export interface CustomScaleRule { /** - * Start time of the downtime + * Type of the custom scale rule + * eg: azure-servicebus, redis etc. */ - startTime?: Date; + type?: string; /** - * End time of the downtime + * Metadata properties to describe custom scale rule. */ - endTime?: Date; + metadata?: { [propertyName: string]: string }; /** - * List of Possible Cause of downtime + * Authentication secrets for the custom scale rule. */ - events?: DetectorAbnormalTimePeriod[]; + auth?: ScaleRuleAuth[]; +} + +/** + * Container App Dapr component metadata. + */ +export interface DaprMetadata { /** - * List of proposed solutions + * Metadata property name. */ - solutions?: Solution[]; + name?: string; + /** + * Metadata property value. + */ + value?: string; + /** + * Name of the Container App secret from which to pull the metadata property value. + */ + secretRef?: string; } /** - * Class representing detector definition + * Dapr component configuration */ -export interface DetectorDefinition { +export interface DaprComponent { /** - * Display name of the detector - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Component name */ - readonly displayName?: string; + name?: string; /** - * Description of the detector - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Component type */ - readonly description?: string; + type?: string; /** - * Detector Rank - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Component version */ - readonly rank?: number; + version?: string; /** - * Flag representing whether detector is enabled or not. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Component metadata */ - readonly isEnabled?: boolean; + metadata?: DaprMetadata[]; } /** - * Class representing Diagnostic Metric + * Container App Dapr configuration. */ -export interface DiagnosticMetricSample { +export interface Dapr { /** - * Time at which metric is measured + * Boolean indicating if the Dapr side car is enabled */ - timestamp?: Date; + enabled?: boolean; /** - * Role Instance. Null if this counter is not per instance - * This is returned and should be whichever instance name we desire to be returned - * i.e. CPU and Memory return RDWORKERNAME (LargeDed..._IN_0) - * where RDWORKERNAME is Machine name below and RoleInstance name in parenthesis + * Dapr application identifier */ - roleInstance?: string; + appId?: string; /** - * Total value of the metric. If multiple measurements are made this will have sum of all. + * Port on which the Dapr side car */ - total?: number; + appPort?: number; /** - * Maximum of the metric sampled during the time period + * Collection of Dapr components */ - maximum?: number; + components?: DaprComponent[]; +} + +/** + * Container App container Custom scaling rule. + */ +export interface HttpScaleRule { /** - * Minimum of the metric sampled during the time period + * Metadata properties to describe http scale rule. */ - minimum?: number; + metadata?: { [propertyName: string]: string }; /** - * Whether the values are aggregates across all workers or not + * Authentication secrets for the custom scale rule. */ - isAggregated?: boolean; + auth?: ScaleRuleAuth[]; } /** - * Class representing Diagnostic Metric information + * Container App container Azure Queue based scaling rule. */ -export interface DiagnosticMetricSet { +export interface QueueScaleRule { /** - * Name of the metric + * Queue name. */ - name?: string; + queueName?: string; /** - * Metric's unit + * Queue length. */ - unit?: string; + queueLength?: number; /** - * Start time of the period + * Authentication secrets for the queue scale rule. */ - startTime?: Date; + auth?: ScaleRuleAuth[]; +} + +/** + * Container App container scaling rule. + */ +export interface ScaleRule { /** - * End time of the period + * Scale Rule Name */ - endTime?: Date; + name?: string; /** - * Presented time grain. Supported grains at the moment are PT1M, PT1H, P1D + * Azure Queue based scaling. */ - timeGrain?: string; + azureQueue?: QueueScaleRule; /** - * Collection of metric values for the selected period based on the - * {Microsoft.Web.Hosting.Administration.DiagnosticMetricSet.TimeGrain} + * Custom scale rule. */ - values?: DiagnosticMetricSample[]; + custom?: CustomScaleRule; + /** + * HTTP requests based scaling. + */ + http?: HttpScaleRule; } /** - * Class representing data source used by the detectors + * Container App scaling configurations. */ -export interface DataSource { +export interface Scale { /** - * Instructions if any for the data source + * Optional. Minimum number of container replicas. */ - instructions?: string[]; + minReplicas?: number; /** - * Datasource Uri Links + * Optional. Maximum number of container replicas. Defaults to 10 if not set. */ - dataSourceUri?: NameValuePair[]; -} - -/** - * An interface representing ResponseMetaData. - */ -export interface ResponseMetaData { + maxReplicas?: number; /** - * Source of the Data + * Scaling rules. */ - dataSource?: DataSource; + rules?: ScaleRule[]; } /** - * Class Representing Detector Evidence used for analysis + * Container App versioned application definition. + * Defines the desired state of an immutable revision. + * Any changes to this section Will result in a new revision being created */ -export interface AnalysisData { - /** - * Name of the Detector - */ - source?: string; +export interface Template { /** - * Detector Definition + * User friendly suffix that is appended to the revision name */ - detectorDefinition?: DetectorDefinition; + revisionSuffix?: string; /** - * Source Metrics + * List of container definitions for the Container App. */ - metrics?: DiagnosticMetricSet[]; + containers?: Container[]; /** - * Additional Source Data + * Scaling properties for the Container App. */ - data?: NameValuePair[][]; + scale?: Scale; /** - * Detector Meta Data + * Dapr configuration for the Container App. */ - detectorMetaData?: ResponseMetaData; + dapr?: Dapr; } /** - * Definition of Analysis + * Container App Secret. */ -export interface AnalysisDefinition extends ProxyOnlyResource { +export interface Secret { /** - * Description of the Analysis - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Secret Name. */ - readonly description?: string; + name?: string; + /** + * Secret Value. + */ + value?: string; } /** - * ARM resource for a detector definition + * Traffic weight assigned to a revision */ -export interface DetectorDefinitionResource extends ProxyOnlyResource { - /** - * Display name of the detector - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly displayName?: string; +export interface TrafficWeight { /** - * Description of the detector - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Name of a revision */ - readonly description?: string; + revisionName?: string; /** - * Detector Rank - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Traffic weight assigned to a revision */ - readonly rank?: number; + weight?: number; /** - * Flag representing whether detector is enabled or not. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Indicates that the traffic weight belongs to a latest stable revision. Default value: false. */ - readonly isEnabled?: boolean; + latestRevision?: boolean; } /** - * Class representing a diagnostic analysis done on an application + * Container App Ingress configuration. */ -export interface DiagnosticAnalysis extends ProxyOnlyResource { +export interface Ingress { /** - * Start time of the period + * Hostname. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - startTime?: Date; + readonly fqdn?: string; /** - * End time of the period + * Bool indicating if app exposes an external http endpoint. Default value: false. */ - endTime?: Date; + external?: boolean; /** - * List of time periods. + * Target Port in containers for traffic from ingress */ - abnormalTimePeriods?: AbnormalTimePeriod[]; + targetPort?: number; /** - * Data by each detector + * Ingress transport protocol. Possible values include: 'auto', 'http', 'http2' */ - payload?: AnalysisData[]; + transport?: IngressTransportMethod; + traffic?: TrafficWeight[]; /** - * Data by each detector for detectors that did not corelate + * Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are + * automatically redirected to HTTPS connections */ - nonCorrelatedDetectors?: DetectorDefinition[]; + allowInsecure?: boolean; } /** - * Class representing detector definition + * Container App Private Registry */ -export interface DiagnosticCategory extends ProxyOnlyResource { +export interface RegistryCredentials { /** - * Description of the diagnostic category - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Container Registry Server */ - readonly description?: string; + server?: string; + /** + * Container Registry Username + */ + username?: string; + /** + * The name of the Secret that contains the registry login password + */ + passwordSecretRef?: string; } /** - * Class representing Response from Diagnostic Detectors + * Non versioned Container App configuration properties that define the mutable settings of a + * Container app */ -export interface DiagnosticDetectorResponse extends ProxyOnlyResource { +export interface Configuration { /** - * Start time of the period + * Collection of secrets used by a Container app */ - startTime?: Date; + secrets?: Secret[]; /** - * End time of the period + * ActiveRevisionsMode controls how active revisions are handled for the Container app: + * Multiple: multiple revisions can be active. If no value if provided, this is the + * defaultSingle: Only one revision can be active at a time. Revision weights can + * not be used in this mode. Possible values include: 'multiple', 'single' */ - endTime?: Date; + activeRevisionsMode?: ActiveRevisionsMode; /** - * Flag representing Issue was detected. + * Ingress configurations. */ - issueDetected?: boolean; + ingress?: Ingress; /** - * Detector's definition + * Collection of private container registry credentials for containers used by the Container app */ - detectorDefinition?: DetectorDefinition; + registries?: RegistryCredentials[]; +} + +/** + * Container App. + */ +export interface ContainerApp extends Resource { /** - * Metrics provided by the detector + * Provisioning state of the Container App. Possible values include: 'InProgress', 'Succeeded', + * 'Failed', 'Canceled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - metrics?: DiagnosticMetricSet[]; + readonly provisioningState?: ContainerAppProvisioningState; /** - * List of Correlated events found by the detector + * Resource ID of the Container App's KubeEnvironment. */ - abnormalTimePeriods?: DetectorAbnormalTimePeriod[]; + kubeEnvironmentId?: string; /** - * Additional Data that detector wants to send. + * Name of the latest revision of the Container App. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - data?: NameValuePair[][]; + readonly latestRevisionName?: string; /** - * Meta Data + * Fully Qualified Domain Name of the latest revision of the Container App. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - responseMetaData?: ResponseMetaData; -} - -/** - * An interface representing LogAnalyticsConfiguration. - */ -export interface LogAnalyticsConfiguration { - customerId?: string; - sharedKey?: string; -} - -/** - * An interface representing AppLogsConfiguration. - */ -export interface AppLogsConfiguration { - destination?: string; - logAnalyticsConfiguration?: LogAnalyticsConfiguration; + readonly latestRevisionFqdn?: string; + /** + * Non versioned Container App configuration properties. + */ + configuration?: Configuration; + /** + * Container App versioned application definition. + */ + template?: Template; } /** - * An interface representing FrontEndConfiguration. + * Container App Secret. */ -export interface FrontEndConfiguration { +export interface ContainerAppSecret { /** - * Possible values include: 'NodePort', 'LoadBalancer' + * Secret Name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - kind?: FrontEndServiceType; + readonly name?: string; + /** + * Secret Value. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly value?: string; } /** - * An interface representing ArcConfiguration. + * Container App Secrets Collection ARM resource. */ -export interface ArcConfiguration { +export interface SecretsCollection { /** - * Possible values include: 'LocalNode', 'NetworkFileSystem' + * Collection of resources. */ - artifactsStorageType?: StorageType; - artifactStorageClassName?: string; - artifactStorageMountPath?: string; - artifactStorageNodeName?: string; - artifactStorageAccessMode?: string; - frontEndServiceConfiguration?: FrontEndConfiguration; - kubeConfig?: string; + value: ContainerAppSecret[]; } /** - * A Kubernetes cluster specialized for web workloads by Azure App Service + * Container App Revision. */ -export interface KubeEnvironment extends Resource { +export interface Revision extends Resource { /** - * Provisioning state of the Kubernetes Environment. Possible values include: 'Succeeded', - * 'Failed', 'Canceled', 'Waiting', 'InitializationInProgress', 'InfrastructureSetupInProgress', - * 'InfrastructureSetupComplete', 'ScheduledForDelete', 'UpgradeRequested', 'UpgradeFailed' + * Timestamp describing when the revision was created + * by controller * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly provisioningState?: KubeEnvironmentProvisioningState; + readonly createdTime?: Date; /** - * Any errors that occurred during deployment or deployment validation + * Fully qualified domain name of the revision * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly deploymentErrors?: string; - /** - * Only visible within Vnet/Subnet - */ - internalLoadBalancerEnabled?: boolean; + readonly fqdn?: string; /** - * Default Domain Name for the cluster + * Container App Revision Template with all possible settings and the + * defaults if user did not provide them. The defaults are populated + * as they were at the creation time * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly defaultDomain?: string; - /** - * Static IP of the KubeEnvironment - */ - staticIp?: string; - /** - * Cluster configuration which determines the ARC cluster - * components types. Eg: Choosing between BuildService kind, - * FrontEnd Service ArtifactsStorageType etc. - */ - arcConfiguration?: ArcConfiguration; - /** - * Cluster configuration which enables the log daemon to export - * app logs to a destination. Currently only "log-analytics" is - * supported - */ - appLogsConfiguration?: AppLogsConfiguration; - aksResourceID?: string; - extendedLocation?: ExtendedLocation; -} - -/** - * ARM resource for a KubeEnvironment when patching - */ -export interface KubeEnvironmentPatchResource extends ProxyOnlyResource { + readonly template?: Template; /** - * Provisioning state of the Kubernetes Environment. Possible values include: 'Succeeded', - * 'Failed', 'Canceled', 'Waiting', 'InitializationInProgress', 'InfrastructureSetupInProgress', - * 'InfrastructureSetupComplete', 'ScheduledForDelete', 'UpgradeRequested', 'UpgradeFailed' + * Boolean describing if the Revision is Active * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly provisioningState?: KubeEnvironmentProvisioningState; + readonly active?: boolean; /** - * Any errors that occurred during deployment or deployment validation + * Number of pods currently running for this revision * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly deploymentErrors?: string; - /** - * Only visible within Vnet/Subnet - */ - internalLoadBalancerEnabled?: boolean; + readonly replicas?: number; /** - * Default Domain Name for the cluster + * Traffic weight assigned to this revision * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly defaultDomain?: string; + readonly trafficWeight?: number; /** - * Static IP of the KubeEnvironment + * Optional Field - Platform Error Message + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - staticIp?: string; + readonly provisioningError?: string; /** - * Cluster configuration which determines the ARC cluster - * components types. Eg: Choosing between BuildService kind, - * FrontEnd Service ArtifactsStorageType etc. + * Current health State of the revision. Possible values include: 'Healthy', 'Unhealthy', 'None' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - arcConfiguration?: ArcConfiguration; + readonly healthState?: RevisionHealthState; /** - * Cluster configuration which enables the log daemon to export - * app logs to a destination. Currently only "log-analytics" is - * supported + * Current provisioning State of the revision. Possible values include: 'Provisioning', + * 'Provisioned', 'Failed', 'Deprovisioning', 'Deprovisioned' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - appLogsConfiguration?: AppLogsConfiguration; - aksResourceID?: string; + readonly provisioningState?: RevisionProvisioningState; } /** - * App Insights Web App stack settings. + * Class Representing Solution for problems detected. */ -export interface AppInsightsWebAppStackSettings { +export interface Solution { /** - * 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.** + * Solution Id. */ - readonly isSupported?: boolean; + id?: number; /** - * 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.** + * Display Name of the solution */ - readonly isDefaultOff?: boolean; -} - -/** - * Application stack minor version. - */ -export interface StackMinorVersion { + displayName?: string; /** - * Application stack minor version (display only). + * Order of the solution. */ - displayVersion?: string; + order?: number; /** - * Application stack minor version (runtime only). + * Description of the solution */ - runtimeVersion?: string; + description?: string; /** - * true if this is the default minor version; otherwise, false. + * Type of Solution. Possible values include: 'QuickSolution', 'DeepInvestigation', + * 'BestPractices' */ - isDefault?: boolean; + type?: SolutionType; /** - * true if this supports Remote Debugging, otherwise false. + * Solution Data. */ - isRemoteDebuggingEnabled?: boolean; + data?: NameValuePair[][]; + /** + * Solution Metadata. + */ + metadata?: NameValuePair[][]; } /** - * Application stack major version. + * Class representing Abnormal Time Period detected. */ -export interface StackMajorVersion { - /** - * Application stack major version (display only). - */ - displayVersion?: string; - /** - * Application stack major version (runtime only). - */ - runtimeVersion?: string; +export interface DetectorAbnormalTimePeriod { /** - * true if this is the default major version; otherwise, false. + * Start time of the correlated event */ - isDefault?: boolean; + startTime?: Date; /** - * Minor versions associated with the major version. + * End time of the correlated event */ - minorVersions?: StackMinorVersion[]; + endTime?: Date; /** - * true if this supports Application Insights; otherwise, false. + * Message describing the event */ - applicationInsights?: boolean; + message?: string; /** - * true if this stack is in Preview, otherwise false. + * Represents the name of the Detector */ - isPreview?: boolean; + source?: string; /** - * true if this stack has been deprecated, otherwise false. + * Represents the rank of the Detector */ - isDeprecated?: boolean; + priority?: number; /** - * true if this stack should be hidden for new customers on portal, otherwise - * false. + * Downtime metadata */ - isHidden?: boolean; + metaData?: NameValuePair[][]; /** - * - * - * - * Example: All the function apps need AppSetting: "FUNCTIONS_WORKER_RUNTIME" to be set stack - * name + * Represents the type of the Detector. Possible values include: 'ServiceIncident', + * 'AppDeployment', 'AppCrash', 'RuntimeIssueDetected', 'AseDeployment', 'UserIssue', + * 'PlatformIssue', 'Other' */ - appSettingsDictionary?: { [propertyName: string]: any }; + type?: IssueType; /** - * - * - * - * Example: All Linux Function Apps, need Use32BitWorkerProcess to be set to 0 + * List of proposed solutions */ - siteConfigPropertiesDictionary?: { [propertyName: string]: any }; + solutions?: Solution[]; } /** - * Application stack. + * Class representing Abnormal Time Period identified in diagnosis */ -export interface ApplicationStack { - /** - * Application stack name. - */ - name?: string; - /** - * Application stack display name. - */ - display?: string; +export interface AbnormalTimePeriod { /** - * Application stack dependency. + * Start time of the downtime */ - dependency?: string; + startTime?: Date; /** - * List of major versions available. + * End time of the downtime */ - majorVersions?: StackMajorVersion[]; + endTime?: Date; /** - * List of frameworks associated with application stack. + * List of Possible Cause of downtime */ - frameworks?: ApplicationStack[]; + events?: DetectorAbnormalTimePeriod[]; /** - * true if this is the stack is deprecated; otherwise, false. + * List of proposed solutions */ - isDeprecated?: ApplicationStack[]; + solutions?: Solution[]; } /** - * ARM resource for a ApplicationStack. + * Class representing detector definition */ -export interface ApplicationStackResource extends ProxyOnlyResource { - /** - * Application stack name. - */ - applicationStackResourceName?: string; - /** - * Application stack display name. - */ - display?: string; +export interface DetectorDefinition { /** - * Application stack dependency. + * Display name of the detector + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - dependency?: string; + readonly displayName?: string; /** - * List of major versions available. + * Description of the detector + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - majorVersions?: StackMajorVersion[]; + readonly description?: string; /** - * List of frameworks associated with application stack. + * Detector Rank + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - frameworks?: ApplicationStack[]; + readonly rank?: number; /** - * true if this is the stack is deprecated; otherwise, false. + * Flag representing whether detector is enabled or not. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - isDeprecated?: ApplicationStack[]; + readonly isEnabled?: boolean; } /** - * GitHub Actions Web App stack settings. + * Class representing Diagnostic Metric */ -export interface GitHubActionWebAppStackSettings { +export interface DiagnosticMetricSample { /** - * 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.** + * Time at which metric is measured */ - readonly isSupported?: boolean; + timestamp?: Date; /** - * The minor version that is supported for GitHub Actions. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Role Instance. Null if this counter is not per instance + * This is returned and should be whichever instance name we desire to be returned + * i.e. CPU and Memory return RDWORKERNAME (LargeDed..._IN_0) + * where RDWORKERNAME is Machine name below and RoleInstance name in parenthesis */ - readonly supportedVersion?: string; -} - -/** - * Site config properties dictionary. - */ -export interface SiteConfigPropertiesDictionary { + roleInstance?: string; /** - * 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.** + * Total value of the metric. If multiple measurements are made this will have sum of all. */ - readonly use32BitWorkerProcess?: boolean; + total?: number; /** - * LinuxFxVersion configuration setting. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Maximum of the metric sampled during the time period */ - readonly linuxFxVersion?: string; + maximum?: number; /** - * JavaVersion configuration setting. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Minimum of the metric sampled during the time period */ - readonly javaVersion?: string; + minimum?: number; /** - * PowerShellVersion configuration setting. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Whether the values are aggregates across all workers or not */ - readonly powerShellVersion?: string; + isAggregated?: boolean; } /** - * Function App runtime settings. + * Class representing Diagnostic Metric information */ -export interface FunctionAppRuntimeSettings { +export interface DiagnosticMetricSet { /** - * Function App stack minor version (runtime only). - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Name of the metric */ - readonly runtimeVersion?: string; + name?: 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.** + * Metric's unit */ - readonly remoteDebuggingSupported?: boolean; + unit?: string; /** - * Application Insights settings associated with the minor version. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Start time of the period */ - readonly appInsightsSettings?: AppInsightsWebAppStackSettings; + startTime?: Date; /** - * GitHub Actions settings associated with the minor version. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * End time of the period */ - readonly gitHubActionSettings?: GitHubActionWebAppStackSettings; + endTime?: Date; /** - * Application settings associated with the minor version. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Presented time grain. Supported grains at the moment are PT1M, PT1H, P1D */ - readonly appSettingsDictionary?: { [propertyName: string]: string }; + timeGrain?: string; /** - * Configuration settings associated with the minor version. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Collection of metric values for the selected period based on the + * {Microsoft.Web.Hosting.Administration.DiagnosticMetricSet.TimeGrain} */ - readonly siteConfigPropertiesDictionary?: SiteConfigPropertiesDictionary; + values?: DiagnosticMetricSample[]; +} + +/** + * Class representing data source used by the detectors + */ +export interface DataSource { /** - * List of supported Functions extension versions. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Instructions if any for the data source */ - readonly supportedFunctionsExtensionVersions?: string[]; + instructions?: 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.** + * Datasource Uri Links */ - readonly isPreview?: boolean; + dataSourceUri?: NameValuePair[]; +} + +/** + * An interface representing ResponseMetaData. + */ +export interface ResponseMetaData { /** - * true if the stack is deprecated; otherwise, false. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Source of the Data */ - readonly isDeprecated?: boolean; + dataSource?: DataSource; +} + +/** + * Class Representing Detector Evidence used for analysis + */ +export interface AnalysisData { /** - * true if the stack should be hidden; otherwise, false. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Name of the Detector */ - readonly isHidden?: boolean; + source?: string; /** - * End-of-life date for the minor version. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Detector Definition */ - readonly endOfLifeDate?: Date; + detectorDefinition?: DetectorDefinition; /** - * 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.** + * Source Metrics */ - readonly isAutoUpdate?: boolean; + metrics?: DiagnosticMetricSet[]; /** - * 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.** + * Additional Source Data */ - readonly isEarlyAccess?: boolean; + data?: NameValuePair[][]; /** - * true if the minor version the default; otherwise, false. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Detector Meta Data */ - readonly isDefault?: boolean; + detectorMetaData?: ResponseMetaData; } /** - * Function App stack runtimes. + * Definition of Analysis */ -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; +export interface AnalysisDefinition extends ProxyOnlyResource { /** - * Windows-specific settings associated with the minor version. + * Description of the Analysis * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly windowsRuntimeSettings?: FunctionAppRuntimeSettings; + readonly description?: string; } /** - * Function App stack minor version. + * ARM resource for a detector definition */ -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; +export interface DetectorDefinitionResource extends ProxyOnlyResource { /** - * Settings associated with the minor version. + * Display name of the detector * **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 { + readonly displayName?: string; /** - * Function App stack major version (display only). + * Description of the detector * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly displayText?: string; + readonly description?: string; /** - * Function App stack major version name. + * Detector Rank * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly value?: string; + readonly rank?: number; /** - * Minor versions associated with the major version. + * Flag representing whether detector is enabled or not. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly minorVersions?: FunctionAppMinorVersion[]; + readonly isEnabled?: boolean; } /** - * Function App Stack. + * Class representing a diagnostic analysis done on an application */ -export interface FunctionAppStack extends ProxyOnlyResource { +export interface DiagnosticAnalysis extends ProxyOnlyResource { /** - * Function App stack location. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Start time of the period */ - readonly location?: string; + startTime?: Date; /** - * Function App stack (display only). - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * End time of the period */ - readonly displayText?: string; + endTime?: Date; /** - * Function App stack name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * List of time periods. */ - readonly value?: string; + abnormalTimePeriods?: AbnormalTimePeriod[]; /** - * List of major versions available. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Data by each detector */ - readonly majorVersions?: FunctionAppMajorVersion[]; + payload?: AnalysisData[]; /** - * 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.** + * Data by each detector for detectors that did not corelate */ - readonly preferredOs?: StackPreferredOs; + nonCorrelatedDetectors?: DetectorDefinition[]; } /** - * Linux Java Container settings. + * Class representing detector definition */ -export interface LinuxJavaContainerSettings { +export interface DiagnosticCategory extends ProxyOnlyResource { /** - * Java 11 version (runtime only). + * Description of the diagnostic category * **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 description?: string; +} + +/** + * Class representing Response from Diagnostic Detectors + */ +export interface DiagnosticDetectorResponse extends ProxyOnlyResource { + /** + * Start time of the period */ - readonly java8Runtime?: string; + startTime?: Date; /** - * true if the stack is in preview; otherwise, false. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * End time of the period */ - readonly isPreview?: boolean; + endTime?: Date; /** - * true if the stack is deprecated; otherwise, false. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Flag representing Issue was detected. */ - readonly isDeprecated?: boolean; + issueDetected?: 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.** + * Detector's definition */ - readonly isHidden?: boolean; + detectorDefinition?: DetectorDefinition; /** - * End-of-life date for the minor version. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Metrics provided by the detector */ - readonly endOfLifeDate?: Date; + metrics?: DiagnosticMetricSet[]; /** - * 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.** + * List of Correlated events found by the detector */ - readonly isAutoUpdate?: boolean; + abnormalTimePeriods?: DetectorAbnormalTimePeriod[]; /** - * 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.** + * Additional Data that detector wants to send. */ - readonly isEarlyAccess?: boolean; + data?: NameValuePair[][]; + /** + * Meta Data + */ + responseMetaData?: ResponseMetaData; } /** - * Web App runtime settings. + * An interface representing LogAnalyticsConfiguration. */ -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; +export interface LogAnalyticsConfiguration { + customerId?: string; + sharedKey?: string; +} + +/** + * An interface representing AppLogsConfiguration. + */ +export interface AppLogsConfiguration { + destination?: string; + logAnalyticsConfiguration?: LogAnalyticsConfiguration; +} + +/** + * An interface representing ContainerAppsConfiguration. + */ +export interface ContainerAppsConfiguration { /** - * Application Insights settings associated with the minor version. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Azure Monitor instrumentation key used by Dapr to export Service to Service communication + * telemetry */ - readonly appInsightsSettings?: AppInsightsWebAppStackSettings; + daprAIInstrumentationKey?: string; /** - * GitHub Actions settings associated with the minor version. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * IP range in CIDR notation that can be reserved for environment infrastructure IP addresses. It + * must not overlap with any other Subnet IP ranges. */ - readonly gitHubActionSettings?: GitHubActionWebAppStackSettings; + platformReservedCidr?: 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.** + * An IP address from the IP range defined by platformReservedCidr that will be reserved for the + * internal DNS server */ - readonly isPreview?: boolean; + platformReservedDnsIP?: string; /** - * true if the stack is deprecated; otherwise, false. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Resource ID of a subnet for control plane infrastructure components. This subnet must be in + * the same VNET as the subnet defined in appSubnetResourceId. Must not overlap with the IP range + * defined in platformReservedCidr, if defined. */ - readonly isDeprecated?: boolean; + controlPlaneSubnetResourceId?: string; /** - * true if the stack should be hidden; otherwise, false. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Resource ID of a subnet for control plane infrastructure components. This subnet must be in + * the same VNET as the subnet defined in appSubnetResourceId. Must not overlap with the IP range + * defined in platformReservedCidr, if defined. */ - readonly isHidden?: boolean; + appSubnetResourceId?: string; /** - * End-of-life date for the minor version. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any + * Subnet IP ranges or the IP range defined in platformReservedCidr, if defined. */ - readonly endOfLifeDate?: Date; + dockerBridgeCidr?: string; +} + +/** + * An interface representing FrontEndConfiguration. + */ +export interface FrontEndConfiguration { /** - * 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.** + * Possible values include: 'NodePort', 'LoadBalancer' */ - readonly isAutoUpdate?: boolean; + kind?: FrontEndServiceType; +} + +/** + * An interface representing ArcConfiguration. + */ +export interface ArcConfiguration { /** - * 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.** + * Possible values include: 'LocalNode', 'NetworkFileSystem' */ - readonly isEarlyAccess?: boolean; + artifactsStorageType?: StorageType; + artifactStorageClassName?: string; + artifactStorageMountPath?: string; + artifactStorageNodeName?: string; + artifactStorageAccessMode?: string; + frontEndServiceConfiguration?: FrontEndConfiguration; + kubeConfig?: string; } /** - * Windows Java Container settings. + * A Kubernetes cluster specialized for web workloads by Azure App Service */ -export interface WindowsJavaContainerSettings { +export interface KubeEnvironment extends Resource { /** - * Java container (runtime only). + * Provisioning state of the Kubernetes Environment. Possible values include: 'Succeeded', + * 'Failed', 'Canceled', 'Waiting', 'InitializationInProgress', 'InfrastructureSetupInProgress', + * 'InfrastructureSetupComplete', 'ScheduledForDelete', 'UpgradeRequested', 'UpgradeFailed' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly javaContainer?: string; + readonly provisioningState?: KubeEnvironmentProvisioningState; /** - * Java container version (runtime only). + * Any errors that occurred during deployment or deployment validation * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly javaContainerVersion?: string; + readonly deploymentErrors?: 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.** + * Only visible within Vnet/Subnet */ - readonly isPreview?: boolean; + internalLoadBalancerEnabled?: boolean; /** - * true if the stack is deprecated; otherwise, false. + * Default Domain Name for the cluster * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly isDeprecated?: boolean; + readonly defaultDomain?: string; /** - * true if the stack should be hidden; otherwise, false. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Static IP of the KubeEnvironment */ - readonly isHidden?: boolean; + staticIp?: string; /** - * End-of-life date for the minor version. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Type of Kubernetes Environment. Only supported for Container App Environments with value as + * Managed */ - readonly endOfLifeDate?: Date; + environmentType?: string; /** - * 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.** + * Cluster configuration which determines the ARC cluster + * components types. Eg: Choosing between BuildService kind, + * FrontEnd Service ArtifactsStorageType etc. */ - readonly isAutoUpdate?: boolean; + arcConfiguration?: ArcConfiguration; /** - * 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.** + * Cluster configuration which enables the log daemon to export + * app logs to a destination. Currently only "log-analytics" is + * supported */ - readonly isEarlyAccess?: boolean; + appLogsConfiguration?: AppLogsConfiguration; + /** + * Cluster configuration for Container Apps Environments to configure Dapr Instrumentation Key + * and VNET Configuration + */ + containerAppsConfiguration?: ContainerAppsConfiguration; + aksResourceID?: string; + extendedLocation?: ExtendedLocation; } /** - * Web App stack runtimes. + * ARM resource for a KubeEnvironment when patching */ -export interface WebAppRuntimes { +export interface KubeEnvironmentPatchResource extends ProxyOnlyResource { /** - * Linux-specific settings associated with the minor version. + * Provisioning state of the Kubernetes Environment. Possible values include: 'Succeeded', + * 'Failed', 'Canceled', 'Waiting', 'InitializationInProgress', 'InfrastructureSetupInProgress', + * 'InfrastructureSetupComplete', 'ScheduledForDelete', 'UpgradeRequested', 'UpgradeFailed' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly linuxRuntimeSettings?: WebAppRuntimeSettings; + readonly provisioningState?: KubeEnvironmentProvisioningState; /** - * Windows-specific settings associated with the minor version. + * Any errors that occurred during deployment or deployment validation * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly windowsRuntimeSettings?: WebAppRuntimeSettings; + readonly deploymentErrors?: string; /** - * 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.** + * Only visible within Vnet/Subnet */ - readonly linuxContainerSettings?: LinuxJavaContainerSettings; + internalLoadBalancerEnabled?: boolean; /** - * Windows-specific settings associated with the Java container minor version. + * Default Domain Name for the cluster * **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 { + readonly defaultDomain?: string; /** - * Web App stack minor version (display only). - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Static IP of the KubeEnvironment */ - readonly displayText?: string; + staticIp?: string; /** - * Web App stack major version name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Cluster configuration which determines the ARC cluster + * components types. Eg: Choosing between BuildService kind, + * FrontEnd Service ArtifactsStorageType etc. */ - readonly value?: string; + arcConfiguration?: ArcConfiguration; /** - * Settings associated with the minor version. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Cluster configuration which enables the log daemon to export + * app logs to a destination. Currently only "log-analytics" is + * supported */ - readonly stackSettings?: WebAppRuntimes; + appLogsConfiguration?: AppLogsConfiguration; + /** + * Cluster configuration for Container Apps Environments to configure Dapr Instrumentation Key + * and VNET Configuration + */ + containerAppsConfiguration?: ContainerAppsConfiguration; + aksResourceID?: string; } /** - * Web App stack major version. + * App Insights Web App stack settings. */ -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; +export interface AppInsightsWebAppStackSettings { /** - * Web App stack major version name. + * 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 value?: string; + readonly isSupported?: boolean; /** - * Minor versions associated with the major version. + * 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 minorVersions?: WebAppMinorVersion[]; + readonly isDefaultOff?: boolean; } /** - * Web App stack. + * Application stack minor version. */ -export interface WebAppStack extends ProxyOnlyResource { +export interface StackMinorVersion { /** - * Web App stack location. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Application stack minor version (display only). */ - readonly location?: string; + displayVersion?: string; /** - * Web App stack (display only). - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Application stack minor version (runtime only). */ - readonly displayText?: string; + runtimeVersion?: string; /** - * Web App stack name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * true if this is the default minor version; otherwise, false. */ - 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[]; + isDefault?: boolean; /** - * 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.** + * true if this supports Remote Debugging, otherwise false. */ - readonly preferredOs?: StackPreferredOs; + isRemoteDebuggingEnabled?: boolean; } /** - * Represents a recommendation result generated by the recommendation engine. + * Application stack major version. */ -export interface Recommendation extends ProxyOnlyResource { - /** - * Timestamp when this instance was created. - */ - creationTime?: Date; +export interface StackMajorVersion { /** - * A GUID value that each recommendation object is associated with. + * Application stack major version (display only). */ - recommendationId?: string; + displayVersion?: string; /** - * Full ARM resource ID string that this recommendation object is associated with. + * Application stack major version (runtime only). */ - resourceId?: string; + runtimeVersion?: string; /** - * Name of a resource type this recommendation applies, e.g. Subscription, ServerFarm, Site. - * Possible values include: 'ServerFarm', 'Subscription', 'WebSite' + * true if this is the default major version; otherwise, false. */ - resourceScope?: ResourceScopeType; + isDefault?: boolean; /** - * Unique name of the rule. + * Minor versions associated with the major version. */ - ruleName?: string; + minorVersions?: StackMinorVersion[]; /** - * UI friendly name of the rule (may not be unique). + * true if this supports Application Insights; otherwise, false. */ - displayName?: string; + applicationInsights?: boolean; /** - * Recommendation text. + * true if this stack is in Preview, otherwise false. */ - message?: string; + isPreview?: boolean; /** - * Level indicating how critical this recommendation can impact. Possible values include: - * 'Critical', 'Warning', 'Information', 'NonUrgentSuggestion' + * true if this stack has been deprecated, otherwise false. */ - level?: NotificationLevel; + isDeprecated?: boolean; /** - * List of channels that this recommendation can apply. Possible values include: 'Notification', - * 'Api', 'Email', 'Webhook', 'All' + * true if this stack should be hidden for new customers on portal, otherwise + * false. */ - channels?: Channels; + isHidden?: boolean; /** - * 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.** + * + * + * + * Example: All the function apps need AppSetting: "FUNCTIONS_WORKER_RUNTIME" to be set stack + * name */ - readonly categoryTags?: string[]; + appSettingsDictionary?: { [propertyName: string]: any }; /** - * Name of action recommended by this object. + * + * + * + * Example: All Linux Function Apps, need Use32BitWorkerProcess to be set to 0 */ - actionName?: string; + siteConfigPropertiesDictionary?: { [propertyName: string]: any }; +} + +/** + * Application stack. + */ +export interface ApplicationStack { /** - * True if this recommendation is still valid (i.e. "actionable"). False if it is invalid. + * Application stack name. */ - enabled?: number; + name?: string; /** - * The list of states of this recommendation. If it's null then it should be considered "Active". + * Application stack display name. */ - states?: string[]; + display?: string; /** - * The beginning time in UTC of a range that the recommendation refers to. + * Application stack dependency. */ - startTime?: Date; + dependency?: string; /** - * The end time in UTC of a range that the recommendation refers to. + * List of major versions available. */ - endTime?: Date; + majorVersions?: StackMajorVersion[]; /** - * When to notify this recommendation next in UTC. Null means that this will never be notified - * anymore. + * List of frameworks associated with application stack. */ - nextNotificationTime?: Date; + frameworks?: ApplicationStack[]; /** - * Date and time in UTC when this notification expires. + * true if this is the stack is deprecated; otherwise, false. */ - notificationExpirationTime?: Date; + isDeprecated?: ApplicationStack[]; +} + +/** + * ARM resource for a ApplicationStack. + */ +export interface ApplicationStackResource extends ProxyOnlyResource { /** - * Last timestamp in UTC this instance was actually notified. Null means that this recommendation - * hasn't been notified yet. + * Application stack name. */ - notifiedTime?: Date; + applicationStackResourceName?: string; /** - * A metric value measured by the rule. + * Application stack display name. */ - score?: number; + display?: string; /** - * True if this is associated with a dynamically added rule + * Application stack dependency. */ - isDynamic?: boolean; + dependency?: string; /** - * Extension name of the portal if exists. + * List of major versions available. */ - extensionName?: string; + majorVersions?: StackMajorVersion[]; /** - * Deep link to a blade on the portal. + * List of frameworks associated with application stack. */ - bladeName?: string; + frameworks?: ApplicationStack[]; /** - * Forward link to an external document associated with the rule. + * true if this is the stack is deprecated; otherwise, false. */ - forwardLink?: string; + isDeprecated?: ApplicationStack[]; } /** - * Represents a recommendation rule that the recommendation engine can perform. + * GitHub Actions Web App stack settings. */ -export interface RecommendationRule extends ProxyOnlyResource { +export interface GitHubActionWebAppStackSettings { /** - * Unique name of the rule. + * 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.** */ - recommendationName?: string; + readonly isSupported?: boolean; /** - * UI friendly 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.** */ - displayName?: string; + readonly supportedVersion?: string; +} + +/** + * Site config properties dictionary. + */ +export interface SiteConfigPropertiesDictionary { /** - * Localized name of the rule (Good for UI). + * 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.** */ - message?: string; + readonly use32BitWorkerProcess?: boolean; /** - * 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. + * LinuxFxVersion configuration setting. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recommendationId?: string; + readonly linuxFxVersion?: string; /** - * Localized detailed description of the rule. + * JavaVersion configuration setting. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - description?: string; + readonly javaVersion?: string; /** - * Name of action that is recommended by this rule in string. + * PowerShellVersion configuration setting. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - actionName?: string; + readonly powerShellVersion?: string; +} + +/** + * Function App runtime settings. + */ +export interface FunctionAppRuntimeSettings { /** - * Level of impact indicating how critical this rule is. Possible values include: 'Critical', - * 'Warning', 'Information', 'NonUrgentSuggestion' + * Function App stack minor version (runtime only). + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - level?: NotificationLevel; + readonly runtimeVersion?: string; /** - * List of available channels that this rule applies. Possible values include: 'Notification', - * 'Api', 'Email', 'Webhook', 'All' + * 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.** */ - channels?: Channels; + readonly remoteDebuggingSupported?: boolean; /** - * The list of category tags that this recommendation rule belongs to. + * Application Insights settings associated with the minor version. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly categoryTags?: string[]; + readonly appInsightsSettings?: AppInsightsWebAppStackSettings; /** - * True if this is associated with a dynamically added rule + * GitHub Actions settings associated with the minor version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - isDynamic?: boolean; + readonly gitHubActionSettings?: GitHubActionWebAppStackSettings; /** - * Extension name of the portal if exists. Applicable to dynamic rule only. + * Application settings associated with the minor version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - extensionName?: string; + readonly appSettingsDictionary?: { [propertyName: string]: string }; /** - * Deep link to a blade on the portal. Applicable to dynamic rule only. + * Configuration settings associated with the minor version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - bladeName?: string; + readonly siteConfigPropertiesDictionary?: SiteConfigPropertiesDictionary; /** - * Forward link to an external document associated with the rule. Applicable to dynamic rule - * only. + * List of supported Functions extension versions. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - forwardLink?: string; -} - -/** - * Used for getting ResourceHealthCheck settings. - */ -export interface ResourceHealthMetadata extends ProxyOnlyResource { + readonly supportedFunctionsExtensionVersions?: string[]; /** - * The category that the resource matches in the RHC Policy File + * true if the stack is in preview; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - category?: string; + readonly isPreview?: boolean; /** - * Is there a health signal for the resource + * true if the stack is deprecated; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - signalAvailability?: boolean; -} - -/** - * Github access token for Appservice CLI github integration. - */ -export interface AppserviceGithubToken { + readonly isDeprecated?: boolean; /** - * Github access token for Appservice CLI github integration + * true if the stack should be hidden; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - accessToken?: string; + readonly isHidden?: boolean; /** - * Scope of the github access token + * End-of-life date for the minor version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - scope?: string; + readonly endOfLifeDate?: Date; /** - * token type + * 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.** */ - tokenType?: string; + readonly isAutoUpdate?: boolean; /** - * True if valid github token received, False otherwise + * 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.** */ - gotToken?: boolean; + readonly isEarlyAccess?: boolean; /** - * Error message if unable to get token + * true if the minor version the default; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - errorMessage?: string; + readonly isDefault?: boolean; } /** - * Appservice Github token request content. + * Function App stack runtimes. */ -export interface AppserviceGithubTokenRequest { +export interface FunctionAppRuntimes { /** - * Code string to exchange for Github Access token + * Linux-specific settings associated with the minor version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - code: string; + readonly linuxRuntimeSettings?: FunctionAppRuntimeSettings; /** - * State string used for verification. + * Windows-specific settings associated with the minor version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - state: string; + readonly windowsRuntimeSettings?: FunctionAppRuntimeSettings; } /** - * App Service billing entity that contains information about meter which the Azure billing system - * utilizes to charge users for services. + * Function App stack minor version. */ -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; +export interface FunctionAppMinorVersion { /** - * App Service ResourceType meter used for + * Function App stack (display only). + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - resourceType?: string; + readonly displayText?: string; /** - * App Service OS type meter used for + * Function App stack name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - osType?: string; + readonly value?: string; /** - * Meter Multiplier + * Settings associated with the minor version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - multiplier?: number; -} - -/** - * 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 stackSettings?: FunctionAppRuntimes; } /** - * Geographical region. + * Function App stack major version. */ -export interface GeoRegion extends ProxyOnlyResource { +export interface FunctionAppMajorVersion { /** - * Region description. + * Function App stack major version (display only). * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly description?: string; + readonly displayText?: string; /** - * Display name for region. + * Function App stack major version name. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly displayName?: string; + readonly value?: string; /** - * Display name for region. + * Minor versions associated with the major version. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly orgDomain?: string; + readonly minorVersions?: FunctionAppMinorVersion[]; } /** - * Information needed to create resources on an App Service Environment. + * Function App Stack. */ -export interface HostingEnvironmentDeploymentInfo { +export interface FunctionAppStack extends ProxyOnlyResource { /** - * Name of the App Service Environment. + * Function App stack location. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - name?: string; + readonly location?: string; /** - * Location of the App Service Environment. + * Function App stack (display only). + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - location?: string; -} - -/** - * List of available locations (regions or App Service Environments) for - * deployment of App Service resources. - */ -export interface DeploymentLocations { + readonly displayText?: string; /** - * Available regions. + * Function App stack name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - locations?: GeoRegion[]; + readonly value?: string; /** - * Available App Service Environments with full descriptions of the environments. + * List of major versions available. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - hostingEnvironments?: AppServiceEnvironment[]; + readonly majorVersions?: FunctionAppMajorVersion[]; /** - * Available App Service Environments with basic information. + * 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.** */ - hostingEnvironmentDeploymentInfos?: HostingEnvironmentDeploymentInfo[]; + readonly preferredOs?: StackPreferredOs; } /** - * A Global SKU Description. + * Linux Java Container settings. */ -export interface GlobalCsmSkuDescription { +export interface LinuxJavaContainerSettings { /** - * Name of the resource SKU. + * Java 11 version (runtime only). + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - name?: string; + readonly java11Runtime?: string; /** - * Service Tier of the resource SKU. + * Java 8 version (runtime only). + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - tier?: string; + readonly java8Runtime?: string; /** - * Size specifier of the resource SKU. + * true if the stack is in preview; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - size?: string; + readonly isPreview?: boolean; /** - * Family code of the resource SKU. + * true if the stack is deprecated; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - family?: string; + readonly isDeprecated?: boolean; /** - * Min, max, and default scale values of the SKU. + * true if the stack should be hidden; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - capacity?: SkuCapacity; + readonly isHidden?: boolean; /** - * Locations of the SKU. + * End-of-life date for the minor version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - locations?: string[]; + readonly endOfLifeDate?: Date; /** - * Capabilities of the SKU, e.g., is traffic manager enabled? + * 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.** */ - capabilities?: Capability[]; + 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; } /** - * Premier add-on offer. + * Web App runtime settings. */ -export interface PremierAddOnOffer extends ProxyOnlyResource { +export interface WebAppRuntimeSettings { /** - * Premier add on SKU. + * Web App stack minor version (runtime only). + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sku?: string; + readonly runtimeVersion?: string; /** - * Premier add on offer Product. + * 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.** */ - product?: string; + readonly remoteDebuggingSupported?: boolean; /** - * Premier add on offer Vendor. + * Application Insights settings associated with the minor version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vendor?: string; + readonly appInsightsSettings?: AppInsightsWebAppStackSettings; /** - * true if promotion code is required; otherwise, false. + * GitHub Actions settings associated with the minor version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - promoCodeRequired?: boolean; + readonly gitHubActionSettings?: GitHubActionWebAppStackSettings; /** - * Premier add on offer Quota. + * true if the stack is in preview; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - quota?: number; + readonly isPreview?: boolean; /** - * App Service plans this offer is restricted to. Possible values include: 'None', 'Free', - * 'Shared', 'Basic', 'Standard', 'Premium' + * true if the stack is deprecated; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - webHostingPlanRestrictions?: AppServicePlanRestrictions; + readonly isDeprecated?: boolean; /** - * Privacy policy URL. + * true if the stack should be hidden; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - privacyPolicyUrl?: string; + readonly isHidden?: boolean; /** - * Legal terms URL. + * End-of-life date for the minor version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - legalTermsUrl?: string; + readonly endOfLifeDate?: Date; /** - * Marketplace publisher. + * 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.** */ - marketplacePublisher?: string; + readonly isAutoUpdate?: boolean; /** - * Marketplace offer. + * 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.** */ - marketplaceOffer?: string; + readonly isEarlyAccess?: boolean; } /** - * Information regarding availability of a resource name. + * Windows Java Container settings. */ -export interface ResourceNameAvailability { +export interface WindowsJavaContainerSettings { /** - * true indicates name is valid and available. false indicates the name - * is invalid, unavailable, or both. + * Java container (runtime only). + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - nameAvailable?: boolean; + readonly javaContainer?: string; /** - * Invalid indicates the name provided does not match Azure App Service naming - * requirements. AlreadyExists indicates that the name is already in use and is - * therefore unavailable. Possible values include: 'Invalid', 'AlreadyExists' + * Java container version (runtime only). + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - reason?: InAvailabilityReasonType; + readonly javaContainerVersion?: string; /** - * If reason == invalid, provide the user with the reason why the given name is invalid, and - * provide the resource naming requirements so that the user can select a valid name. If reason - * == AlreadyExists, explain that resource name is already in use, and direct them to select a - * different name. + * true if the stack is in preview; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - message?: string; -} - -/** - * Resource name availability request content. - */ -export interface ResourceNameAvailabilityRequest { + readonly isPreview?: boolean; /** - * Resource name to verify. + * true if the stack is deprecated; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - name: string; + readonly isDeprecated?: boolean; /** - * Resource type used for verification. Possible values include: 'Site', 'Slot', - * 'HostingEnvironment', 'PublishingUser', 'Microsoft.Web/sites', 'Microsoft.Web/sites/slots', - * 'Microsoft.Web/hostingEnvironments', 'Microsoft.Web/publishingUsers' + * true if the stack should be hidden; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - type: CheckNameResourceTypes; + readonly isHidden?: boolean; /** - * Is fully qualified domain name. + * End-of-life date for the minor version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - isFqdn?: boolean; + 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; } /** - * Collection of SKU information. + * Web App stack runtimes. */ -export interface SkuInfos { +export interface WebAppRuntimes { /** - * Resource type that this SKU applies to. + * Linux-specific settings associated with the minor version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - resourceType?: string; + readonly linuxRuntimeSettings?: WebAppRuntimeSettings; /** - * List of SKUs the subscription is able to use. + * Windows-specific settings associated with the minor version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - skus?: GlobalCsmSkuDescription[]; + 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; } /** - * The source control OAuth token. + * Web App stack minor version. */ -export interface SourceControl extends ProxyOnlyResource { - /** - * OAuth access token. - */ - token?: string; +export interface WebAppMinorVersion { /** - * OAuth access token secret. + * Web App stack minor version (display only). + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - tokenSecret?: string; + readonly displayText?: string; /** - * OAuth refresh token. + * Web App stack major version name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - refreshToken?: string; + readonly value?: string; /** - * OAuth token expiration. + * Settings associated with the minor version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - expirationTime?: Date; + readonly stackSettings?: WebAppRuntimes; } /** - * Resource validation request content. + * Web App stack major version. */ -export interface ValidateRequest { +export interface WebAppMajorVersion { /** - * Resource name to verify. + * Web App stack major version (display only). + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - name: string; + readonly displayText?: string; /** - * Resource type used for verification. Possible values include: 'ServerFarm', 'Site', - * 'Microsoft.Web/hostingEnvironments' + * Web App stack major version name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - type: ValidateResourceTypes; + readonly value?: string; /** - * Expected location of the resource. + * Minor versions associated with the major version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - location: string; + readonly minorVersions?: WebAppMinorVersion[]; +} + +/** + * Web App stack. + */ +export interface WebAppStack extends ProxyOnlyResource { /** - * ARM resource ID of an App Service plan that would host the app. + * Web App stack location. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - serverFarmId?: string; + readonly location?: string; /** - * Name of the target SKU for the App Service plan. + * Web App stack (display only). + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - skuName?: string; + readonly displayText?: string; /** - * true if App Service plan is for Linux workers; otherwise, false. + * Web App stack name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - needLinuxWorkers?: boolean; + readonly value?: string; /** - * true if App Service plan is for Spot instances; otherwise, false. + * List of major versions available. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - isSpot?: boolean; + readonly majorVersions?: WebAppMajorVersion[]; /** - * Target capacity of the App Service plan (number of VMs). + * 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.** */ - capacity?: number; + readonly preferredOs?: StackPreferredOs; +} + +/** + * Represents a recommendation result generated by the recommendation engine. + */ +export interface Recommendation extends ProxyOnlyResource { /** - * Name of App Service Environment where app or App Service plan should be created. + * Timestamp when this instance was created. */ - hostingEnvironment?: string; + creationTime?: Date; /** - * true if App Service plan is running as a windows container + * A GUID value that each recommendation object is associated with. */ - isXenon?: boolean; + recommendationId?: string; /** - * Base URL of the container registry + * Full ARM resource ID string that this recommendation object is associated with. */ - containerRegistryBaseUrl?: string; + resourceId?: string; /** - * Username for to access the container registry + * Name of a resource type this recommendation applies, e.g. Subscription, ServerFarm, Site. + * Possible values include: 'ServerFarm', 'Subscription', 'WebSite' */ - containerRegistryUsername?: string; + resourceScope?: ResourceScopeType; /** - * Password for to access the container registry + * Unique name of the rule. */ - containerRegistryPassword?: string; + ruleName?: string; /** - * Repository name (image name) + * UI friendly name of the rule (may not be unique). */ - containerImageRepository?: string; + displayName?: string; /** - * Image tag + * Recommendation text. */ - containerImageTag?: string; + message?: string; /** - * Platform (windows or linux) + * Level indicating how critical this recommendation can impact. Possible values include: + * 'Critical', 'Warning', 'Information', 'NonUrgentSuggestion' */ - containerImagePlatform?: string; + level?: NotificationLevel; /** - * App Service Environment Properties + * List of channels that this recommendation can apply. Possible values include: 'Notification', + * 'Api', 'Email', 'Webhook', 'All' */ - appServiceEnvironment?: AppServiceEnvironment; -} - -/** - * Error details for when validation fails. - */ -export interface ValidateResponseError { + channels?: Channels; /** - * Validation error code. + * 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.** */ - code?: string; + readonly categoryTags?: string[]; /** - * Validation error message. + * Name of action recommended by this object. */ - message?: string; -} - -/** - * Describes the result of resource validation. - */ -export interface ValidateResponse { + actionName?: string; /** - * Result of validation. + * True if this recommendation is still valid (i.e. "actionable"). False if it is invalid. */ - status?: string; + enabled?: number; /** - * Error details for the case when validation fails. + * The list of states of this recommendation. If it's null then it should be considered "Active". */ - error?: ValidateResponseError; -} - -/** - * The required set of inputs to validate a VNET - */ -export interface VnetParameters extends ProxyOnlyResource { + states?: string[]; /** - * The Resource Group of the VNET to be validated + * The beginning time in UTC of a range that the recommendation refers to. */ - vnetResourceGroup?: string; + startTime?: Date; /** - * The name of the VNET to be validated + * The end time in UTC of a range that the recommendation refers to. */ - vnetName?: string; + endTime?: Date; /** - * The subnet name to be validated + * When to notify this recommendation next in UTC. Null means that this will never be notified + * anymore. */ - vnetSubnetName?: string; + nextNotificationTime?: Date; /** - * The ARM Resource ID of the subnet to validate + * Date and time in UTC when this notification expires. */ - subnetResourceId?: string; -} - -/** - * A class that describes a test that failed during NSG and UDR validation. - */ -export interface VnetValidationTestFailure extends ProxyOnlyResource { + notificationExpirationTime?: Date; /** - * The name of the test that failed. + * Last timestamp in UTC this instance was actually notified. Null means that this recommendation + * hasn't been notified yet. */ - testName?: string; + notifiedTime?: Date; /** - * The details of what caused the failure, e.g. the blocking rule name, etc. + * A metric value measured by the rule. */ - details?: string; -} - -/** - * A class that describes the reason for a validation failure. - */ -export interface VnetValidationFailureDetails extends ProxyOnlyResource { + score?: number; /** - * Text describing the validation outcome. + * True if this is associated with a dynamically added rule */ - message?: string; + isDynamic?: boolean; /** - * A flag describing whether or not validation failed. + * Extension name of the portal if exists. */ - failed?: boolean; + extensionName?: string; /** - * A list of tests that failed in the validation. + * Deep link to a blade on the portal. */ - failedTests?: VnetValidationTestFailure[]; + bladeName?: string; /** - * A list of warnings generated during validation. + * Forward link to an external document associated with the rule. */ - warnings?: VnetValidationTestFailure[]; + forwardLink?: string; } /** - * The plan object in Azure Resource Manager, represents a marketplace plan. + * Represents a recommendation rule that the recommendation engine can perform. */ -export interface ArmPlan { +export interface RecommendationRule extends ProxyOnlyResource { /** - * The name. + * Unique name of the rule. */ - name?: string; + recommendationName?: string; /** - * The publisher. + * UI friendly name of the rule. */ - publisher?: string; + displayName?: string; /** - * The product. + * Localized name of the rule (Good for UI). */ - product?: string; + message?: string; /** - * The promotion code. + * 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. */ - promotionCode?: string; + recommendationId?: string; /** - * Version of product. + * Localized detailed description of the rule. */ - version?: string; -} - -/** - * A remote private endpoint connection - */ -export interface RemotePrivateEndpointConnection extends ProxyOnlyResource { + description?: string; /** - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Name of action that is recommended by this rule in string. */ - readonly provisioningState?: string; + actionName?: string; /** - * PrivateEndpoint of a remote private endpoint connection + * Level of impact indicating how critical this rule is. Possible values include: 'Critical', + * 'Warning', 'Information', 'NonUrgentSuggestion' */ - privateEndpoint?: ArmIdWrapper; - privateLinkServiceConnectionState?: PrivateLinkConnectionState; + level?: NotificationLevel; /** - * Private IPAddresses mapped to the remote private endpoint + * List of available channels that this rule applies. Possible values include: 'Notification', + * 'Api', 'Email', 'Webhook', 'All' */ - ipAddresses?: string[]; -} - -/** - * Message envelope that contains the common Azure resource manager properties and the resource - * provider specific content. - */ -export interface ResponseMessageEnvelopeRemotePrivateEndpointConnection { + channels?: Channels; /** - * Resource Id. Typically ID is populated only for responses to GET requests. Caller is - * responsible for passing in this - * value for GET requests only. - * For example: - * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupId}/providers/Microsoft.Web/sites/{sitename} + * 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.** */ - id?: string; + readonly categoryTags?: string[]; /** - * Name of resource. + * True if this is associated with a dynamically added rule */ - name?: string; + isDynamic?: boolean; /** - * Type of resource e.g "Microsoft.Web/sites". + * Extension name of the portal if exists. Applicable to dynamic rule only. */ - type?: string; + extensionName?: string; /** - * Geographical region resource belongs to e.g. SouthCentralUS, SouthEastAsia. + * Deep link to a blade on the portal. Applicable to dynamic rule only. */ - location?: string; + bladeName?: string; /** - * Tags associated with resource. + * Forward link to an external document associated with the rule. Applicable to dynamic rule + * only. */ - tags?: { [propertyName: string]: string }; + forwardLink?: string; +} + +/** + * Used for getting ResourceHealthCheck settings. + */ +export interface ResourceHealthMetadata extends ProxyOnlyResource { /** - * Azure resource manager plan. + * The category that the resource matches in the RHC Policy File */ - plan?: ArmPlan; + category?: string; /** - * Resource specific properties. + * Is there a health signal for the resource */ - properties?: RemotePrivateEndpointConnection; + signalAvailability?: boolean; +} + +/** + * Github access token for Appservice CLI github integration. + */ +export interface AppserviceGithubToken { /** - * SKU description of the resource. + * Github access token for Appservice CLI github integration */ - sku?: SkuDescription; + accessToken?: string; /** - * Azure-AsyncOperation Status info. + * Scope of the github access token */ - status?: string; + scope?: string; /** - * Azure-AsyncOperation Error info. + * token type */ - error?: ErrorEntity; + tokenType?: string; /** - * MSI resource + * True if valid github token received, False otherwise */ - identity?: ManagedServiceIdentity; + gotToken?: boolean; /** - * Logical Availability Zones the service is hosted in + * Error message if unable to get token */ - zones?: string[]; + errorMessage?: string; } /** - * Build properties for the static site. + * Appservice Github token request content. */ -export interface StaticSiteBuildProperties { +export interface AppserviceGithubTokenRequest { /** - * The path to the app code within the repository. + * Code string to exchange for Github Access token */ - appLocation?: string; + code: string; /** - * The path to the api code within the repository. + * State string used for verification. */ - apiLocation?: string; + 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 { /** - * Deprecated: The path of the app artifacts after building (deprecated in favor of - * OutputLocation) + * Meter GUID onboarded in Commerce */ - appArtifactLocation?: string; + meterId?: string; /** - * The output path of the app after building. + * Azure Location of billable resource */ - outputLocation?: string; + billingLocation?: string; /** - * A custom command to run during deployment of the static content application. + * Short Name from App Service Azure pricing Page */ - appBuildCommand?: string; + shortName?: string; /** - * A custom command to run during deployment of the Azure Functions API application. + * Friendly name of the meter */ - apiBuildCommand?: string; + friendlyName?: string; /** - * Skip Github Action workflow generation. + * App Service ResourceType meter used for */ - skipGithubActionWorkflowGeneration?: boolean; + resourceType?: string; /** - * Github Action secret name override. + * App Service OS type meter used for */ - githubActionSecretNameOverride?: string; + osType?: string; + /** + * Meter Multiplier + */ + multiplier?: number; } /** - * Template Options for the static site. + * Object with a list of the resources that need to be moved and the resource group they should be + * moved to. */ -export interface StaticSiteTemplateOptions { +export interface CsmMoveResourceEnvelope { + targetResourceGroup?: string; + resources?: string[]; +} + +/** + * A hostname and its assigned sites + */ +export interface CustomHostnameSites extends ProxyOnlyResource { + customHostname?: string; + region?: string; + siteResourceIds?: Identifier[]; +} + +/** + * Geographical region. + */ +export interface GeoRegion extends ProxyOnlyResource { /** - * URL of the template repository. The newly generated repository will be based on this one. + * Region description. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - templateRepositoryUrl?: string; + readonly description?: string; /** - * Owner of the newly generated repository. + * Display name for region. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - owner?: string; + readonly displayName?: string; /** - * Name of the newly generated repository. + * Display name for region. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - repositoryName?: string; + readonly orgDomain?: string; +} + +/** + * Information needed to create resources on an App Service Environment. + */ +export interface HostingEnvironmentDeploymentInfo { /** - * Description of the newly generated repository. + * Name of the App Service Environment. */ - description?: string; + name?: string; /** - * Whether or not the newly generated repository is a private repository. Defaults to false (i.e. - * public). + * Location of the App Service Environment. */ - isPrivate?: boolean; + location?: string; } /** - * A static site user provided function. + * List of available locations (regions or App Service Environments) for + * deployment of App Service resources. */ -export interface StaticSiteUserProvidedFunctionApp extends ProxyOnlyResource { +export interface DeploymentLocations { /** - * The resource id of the function app registered with the static site + * Available regions. */ - functionAppResourceId?: string; + locations?: GeoRegion[]; /** - * The region of the function app registered with the static site + * Available App Service Environments with full descriptions of the environments. */ - functionAppRegion?: string; + hostingEnvironments?: AppServiceEnvironment[]; /** - * The date and time on which the function app was registered with the static site. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Available App Service Environments with basic information. */ - readonly createdOn?: Date; + hostingEnvironmentDeploymentInfos?: HostingEnvironmentDeploymentInfo[]; } /** - * Static Site ARM resource. + * A Global SKU Description. */ -export interface StaticSiteARMResource extends Resource { +export interface GlobalCsmSkuDescription { /** - * The default autogenerated hostname for the static site. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Name of the resource SKU. */ - readonly defaultHostname?: string; + name?: string; /** - * URL for the repository of the static site. + * Service Tier of the resource SKU. */ - repositoryUrl?: string; + tier?: string; /** - * The target branch in the repository. + * Size specifier of the resource SKU. */ - branch?: string; + size?: string; /** - * The custom domains associated with this static site. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Family code of the resource SKU. */ - readonly customDomains?: string[]; + family?: string; /** - * A user's github repository token. This is used to setup the Github Actions workflow file and - * API secrets. + * Min, max, and default scale values of the SKU. */ - repositoryToken?: string; + capacity?: SkuCapacity; /** - * Build properties to configure on the repository. + * Locations of the SKU. */ - buildProperties?: StaticSiteBuildProperties; + locations?: string[]; /** - * Private endpoint connections - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Capabilities of the SKU, e.g., is traffic manager enabled? */ - readonly privateEndpointConnections?: ResponseMessageEnvelopeRemotePrivateEndpointConnection[]; + capabilities?: Capability[]; +} + +/** + * Premier add-on offer. + */ +export interface PremierAddOnOffer extends ProxyOnlyResource { /** - * State indicating whether staging environments are allowed or not allowed for a static web app. - * Possible values include: 'Enabled', 'Disabled' + * Premier add on SKU. */ - stagingEnvironmentPolicy?: StagingEnvironmentPolicy; + sku?: string; /** - * false if config file is locked for this static web app; otherwise, - * true. + * Premier add on offer Product. */ - allowConfigFileUpdates?: boolean; + product?: string; /** - * Template options for generating a new repository. + * Premier add on offer Vendor. */ - templateProperties?: StaticSiteTemplateOptions; + vendor?: string; /** - * The content distribution endpoint for the static site. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * true if promotion code is required; otherwise, false. */ - readonly contentDistributionEndpoint?: string; + promoCodeRequired?: boolean; /** - * Identity to use for Key Vault Reference authentication. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Premier add on offer Quota. */ - readonly keyVaultReferenceIdentity?: string; + quota?: number; /** - * User provided function apps registered with the static site - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * App Service plans this offer is restricted to. Possible values include: 'None', 'Free', + * 'Shared', 'Basic', 'Standard', 'Premium' */ - readonly userProvidedFunctionApps?: StaticSiteUserProvidedFunctionApp[]; + webHostingPlanRestrictions?: AppServicePlanRestrictions; /** - * The provider that submitted the last deployment to the primary environment of the static site. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Privacy policy URL. */ - readonly provider?: string; - sku?: SkuDescription; - identity?: ManagedServiceIdentity; + privacyPolicyUrl?: string; + /** + * Legal terms URL. + */ + legalTermsUrl?: string; + /** + * Marketplace publisher. + */ + marketplacePublisher?: string; + /** + * Marketplace offer. + */ + marketplaceOffer?: string; } /** - * Static Site Build ARM resource. + * Information regarding availability of a resource name. */ -export interface StaticSiteBuildARMResource extends ProxyOnlyResource { +export interface ResourceNameAvailability { /** - * An identifier for the static site build. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * true indicates name is valid and available. false indicates the name + * is invalid, unavailable, or both. */ - readonly buildId?: string; + nameAvailable?: boolean; /** - * The source branch. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Invalid indicates the name provided does not match Azure App Service naming + * requirements. AlreadyExists indicates that the name is already in use and is + * therefore unavailable. Possible values include: 'Invalid', 'AlreadyExists' */ - readonly sourceBranch?: string; + reason?: InAvailabilityReasonType; /** - * The title of a pull request that a static site build is related to. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * If reason == invalid, provide the user with the reason why the given name is invalid, and + * provide the resource naming requirements so that the user can select a valid name. If reason + * == AlreadyExists, explain that resource name is already in use, and direct them to select a + * different name. */ - readonly pullRequestTitle?: string; + message?: string; +} + +/** + * Resource name availability request content. + */ +export interface ResourceNameAvailabilityRequest { /** - * The hostname for a static site build. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Resource name to verify. */ - readonly hostname?: string; + name: string; /** - * When this build was created. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Resource type used for verification. Possible values include: 'Site', 'Slot', + * 'HostingEnvironment', 'PublishingUser', 'Microsoft.Web/sites', 'Microsoft.Web/sites/slots', + * 'Microsoft.Web/hostingEnvironments', 'Microsoft.Web/publishingUsers' */ - readonly createdTimeUtc?: Date; + type: CheckNameResourceTypes; /** - * When this build was updated. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Is fully qualified domain name. */ - readonly lastUpdatedOn?: Date; + isFqdn?: boolean; +} + +/** + * Collection of SKU information. + */ +export interface SkuInfos { /** - * The status of the static site build. Possible values include: 'WaitingForDeployment', - * 'Uploading', 'Deploying', 'Ready', 'Failed', 'Deleting', 'Detached' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Resource type that this SKU applies to. */ - readonly status?: BuildStatus; + resourceType?: string; /** - * User provided function apps registered with the static site build - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * List of SKUs the subscription is able to use. */ - readonly userProvidedFunctionApps?: StaticSiteUserProvidedFunctionApp[]; + skus?: GlobalCsmSkuDescription[]; } /** - * Static Site Custom Domain Overview ARM resource. + * The source control OAuth token. */ -export interface StaticSiteCustomDomainOverviewARMResource extends ProxyOnlyResource { - /** - * The domain name for the static site custom domain. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly domainName?: string; +export interface SourceControl extends ProxyOnlyResource { /** - * The date and time on which the custom domain was created for the static site. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * OAuth access token. */ - readonly createdOn?: Date; + token?: string; /** - * The status of the custom domain. Possible values include: 'RetrievingValidationToken', - * 'Validating', 'Adding', 'Ready', 'Failed', 'Deleting' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * OAuth access token secret. */ - readonly status?: CustomDomainStatus; + tokenSecret?: string; /** - * The TXT record validation token - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * OAuth refresh token. */ - readonly validationToken?: string; + refreshToken?: string; /** - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * OAuth token expiration. */ - readonly errorMessage?: string; + expirationTime?: Date; } /** - * Static Site Custom Domain Request Properties ARM resource. + * Resource validation request content. */ -export interface StaticSiteCustomDomainRequestPropertiesARMResource extends ProxyOnlyResource { +export interface ValidateRequest { /** - * Validation method for adding a custom domain. Default value: 'cname-delegation'. + * Resource name to verify. */ - validationMethod?: string; -} - -/** - * Static Site Function Overview ARM resource. - */ -export interface StaticSiteFunctionOverviewARMResource extends ProxyOnlyResource { + name: string; /** - * The name for the function - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Resource type used for verification. Possible values include: 'ServerFarm', 'Site', + * 'Microsoft.Web/hostingEnvironments' */ - readonly functionName?: string; + type: ValidateResourceTypes; /** - * The trigger type of the function. Possible values include: 'HttpTrigger', 'Unknown' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Expected location of the resource. */ - readonly triggerType?: TriggerTypes; -} - -/** - * ARM resource for a static site when patching - */ -export interface StaticSitePatchResource extends ProxyOnlyResource { + location: string; /** - * The default autogenerated hostname for the static site. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * ARM resource ID of an App Service plan that would host the app. */ - readonly defaultHostname?: string; + serverFarmId?: string; /** - * URL for the repository of the static site. + * Name of the target SKU for the App Service plan. */ - repositoryUrl?: string; + skuName?: string; /** - * The target branch in the repository. + * true if App Service plan is for Linux workers; otherwise, false. */ - branch?: string; + needLinuxWorkers?: boolean; /** - * The custom domains associated with this static site. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * true if App Service plan is for Spot instances; otherwise, false. */ - readonly customDomains?: string[]; + isSpot?: boolean; /** - * A user's github repository token. This is used to setup the Github Actions workflow file and - * API secrets. + * Target capacity of the App Service plan (number of VMs). */ - repositoryToken?: string; + capacity?: number; /** - * Build properties to configure on the repository. + * Name of App Service Environment where app or App Service plan should be created. */ - buildProperties?: StaticSiteBuildProperties; + hostingEnvironment?: string; /** - * Private endpoint connections - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * true if App Service plan is running as a windows container */ - readonly privateEndpointConnections?: ResponseMessageEnvelopeRemotePrivateEndpointConnection[]; + isXenon?: boolean; /** - * State indicating whether staging environments are allowed or not allowed for a static web app. - * Possible values include: 'Enabled', 'Disabled' + * Base URL of the container registry */ - stagingEnvironmentPolicy?: StagingEnvironmentPolicy; + containerRegistryBaseUrl?: string; /** - * false if config file is locked for this static web app; otherwise, - * true. + * Username for to access the container registry */ - allowConfigFileUpdates?: boolean; + containerRegistryUsername?: string; /** - * Template options for generating a new repository. + * Password for to access the container registry */ - templateProperties?: StaticSiteTemplateOptions; + containerRegistryPassword?: string; /** - * The content distribution endpoint for the static site. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Repository name (image name) */ - readonly contentDistributionEndpoint?: string; + containerImageRepository?: string; /** - * Identity to use for Key Vault Reference authentication. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Image tag */ - readonly keyVaultReferenceIdentity?: string; + containerImageTag?: string; /** - * User provided function apps registered with the static site - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Platform (windows or linux) */ - readonly userProvidedFunctionApps?: StaticSiteUserProvidedFunctionApp[]; + containerImagePlatform?: string; /** - * The provider that submitted the last deployment to the primary environment of the static site. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * App Service Environment Properties */ - readonly provider?: string; + appServiceEnvironment?: AppServiceEnvironment; } /** - * Static Site Reset Properties ARM resource. + * Error details for when validation fails. */ -export interface StaticSiteResetPropertiesARMResource extends ProxyOnlyResource { +export interface ValidateResponseError { /** - * The token which proves admin privileges to the repository. + * Validation error code. */ - repositoryToken?: string; + code?: string; /** - * Determines whether the repository should be updated with the new properties. + * Validation error message. */ - shouldUpdateRepository?: boolean; + message?: string; } /** - * Static Site User ARM resource. + * Describes the result of resource validation. */ -export interface StaticSiteUserARMResource extends ProxyOnlyResource { - /** - * The identity provider for the static site user. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly provider?: string; - /** - * The user id for the static site user. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly userId?: string; +export interface ValidateResponse { /** - * The display name for the static site user. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Result of validation. */ - readonly displayName?: string; + status?: string; /** - * The roles for the static site user, in free-form string format + * Error details for the case when validation fails. */ - roles?: string; + error?: ValidateResponseError; } /** - * Static sites user roles invitation resource. + * The required set of inputs to validate a VNET */ -export interface StaticSiteUserInvitationRequestResource extends ProxyOnlyResource { - /** - * The domain name for the static site custom domain. - */ - domain?: string; +export interface VnetParameters extends ProxyOnlyResource { /** - * The identity provider for the static site user. + * The Resource Group of the VNET to be validated */ - provider?: string; + vnetResourceGroup?: string; /** - * The user id for the static site user. + * The name of the VNET to be validated */ - userDetails?: string; + vnetName?: string; /** - * The roles for the static site user, in free-form string format + * The subnet name to be validated */ - roles?: string; + vnetSubnetName?: string; /** - * The number of hours the sas token stays valid + * The ARM Resource ID of the subnet to validate */ - numHoursToExpiration?: number; + subnetResourceId?: string; } /** - * Static sites user roles invitation link resource. + * A class that describes a test that failed during NSG and UDR validation. */ -export interface StaticSiteUserInvitationResponseResource extends ProxyOnlyResource { +export interface VnetValidationTestFailure extends ProxyOnlyResource { /** - * The expiration time of the invitation - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The name of the test that failed. */ - readonly expiresOn?: Date; + testName?: string; /** - * The url for the invitation link - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The details of what caused the failure, e.g. the blocking rule name, etc. */ - readonly invitationUrl?: string; + details?: string; } /** - * Static Site User Provided Function App ARM resource. + * A class that describes the reason for a validation failure. */ -export interface StaticSiteUserProvidedFunctionAppARMResource extends ProxyOnlyResource { +export interface VnetValidationFailureDetails extends ProxyOnlyResource { /** - * The resource id of the function app registered with the static site + * Text describing the validation outcome. */ - functionAppResourceId?: string; + message?: string; /** - * The region of the function app registered with the static site + * A flag describing whether or not validation failed. */ - functionAppRegion?: string; + failed?: boolean; /** - * The date and time on which the function app was registered with the static site. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * A list of tests that failed in the validation. */ - readonly createdOn?: Date; + failedTests?: VnetValidationTestFailure[]; + /** + * A list of warnings generated during validation. + */ + warnings?: VnetValidationTestFailure[]; } /** - * Static site zip deployment ARM resource. + * The plan object in Azure Resource Manager, represents a marketplace plan. */ -export interface StaticSiteZipDeploymentARMResource extends ProxyOnlyResource { +export interface ArmPlan { /** - * URL for the zipped app content + * The name. */ - appZipUrl?: string; + name?: string; /** - * URL for the zipped api content + * The publisher. */ - apiZipUrl?: string; + publisher?: string; /** - * A title to label the deployment + * The product. */ - deploymentTitle?: string; + product?: string; /** - * The provider submitting this deployment + * The promotion code. */ - provider?: string; + promotionCode?: string; /** - * The language of the api content, if it exists + * Version of product. */ - functionLanguage?: string; + version?: string; } /** - * Preview for the Static Site Workflow to be generated + * A remote private endpoint connection */ -export interface StaticSitesWorkflowPreview extends ProxyOnlyResource { +export interface RemotePrivateEndpointConnection 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; + readonly provisioningState?: 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.** + * PrivateEndpoint of a remote private endpoint connection */ - readonly contents?: string; + privateEndpoint?: ArmIdWrapper; + privateLinkServiceConnectionState?: PrivateLinkConnectionState; + /** + * Private IPAddresses mapped to the remote private endpoint + */ + ipAddresses?: string[]; } /** - * Request entity for previewing the Static Site workflow + * Message envelope that contains the common Azure resource manager properties and the resource + * provider specific content. */ -export interface StaticSitesWorkflowPreviewRequest extends ProxyOnlyResource { +export interface ResponseMessageEnvelopeRemotePrivateEndpointConnection { /** - * URL for the repository of the static site. + * Resource Id. Typically ID is populated only for responses to GET requests. Caller is + * responsible for passing in this + * value for GET requests only. + * For example: + * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupId}/providers/Microsoft.Web/sites/{sitename} */ - repositoryUrl?: string; + id?: string; /** - * The target branch in the repository. + * Name of resource. */ - branch?: string; + name?: string; /** - * Build properties to configure on the repository. + * Type of resource e.g "Microsoft.Web/sites". */ - buildProperties?: StaticSiteBuildProperties; -} - -/** - * String list resource. - */ -export interface StringList extends ProxyOnlyResource { + type?: string; /** - * List of string resources. + * Geographical region resource belongs to e.g. SouthCentralUS, SouthEastAsia. */ - properties?: string[]; -} - -/** - * The configuration settings of the Allowed Audiences validation flow. - */ -export interface AllowedAudiencesValidation { + location?: string; /** - * The configuration settings of the allowed list of audiences from which to validate the JWT - * token. + * Tags associated with resource. */ - allowedAudiences?: string[]; -} - -/** - * The configuration settings of the Azure Active Directory allowed principals. - */ -export interface AllowedPrincipals extends ProxyOnlyResource { + tags?: { [propertyName: string]: string }; /** - * The list of the allowed groups. + * Azure resource manager plan. */ - groups?: string[]; + plan?: ArmPlan; /** - * The list of the allowed identities. + * Resource specific properties. */ - identities?: string[]; -} - -/** - * Description of site key vault references. - */ -export interface ApiKVReference extends ProxyOnlyResource { - reference?: string; + properties?: RemotePrivateEndpointConnection; /** - * Possible values include: 'Initialized', 'Resolved', 'InvalidSyntax', 'MSINotEnabled', - * 'VaultNotFound', 'SecretNotFound', 'SecretVersionNotFound', 'AccessToKeyVaultDenied', - * 'OtherReasons', 'FetchTimedOut', 'UnauthorizedClient' + * SKU description of the resource. */ - status?: ResolveStatus; - vaultName?: string; - secretName?: string; - secretVersion?: string; - identityType?: ManagedServiceIdentity; - details?: string; + sku?: SkuDescription; /** - * Possible values include: 'KeyVault' + * Azure-AsyncOperation Status info. */ - source?: ConfigReferenceSource; - activeVersion?: string; -} - -/** - * The configuration settings of the app registration for providers that have app ids and app - * secrets - */ -export interface AppRegistration extends ProxyOnlyResource { + status?: string; /** - * The App ID of the app used for login. + * Azure-AsyncOperation Error info. */ - appId?: string; + error?: ErrorEntity; /** - * The app setting name that contains the app secret. + * MSI resource */ - appSecretSettingName?: string; + identity?: ManagedServiceIdentity; + /** + * Logical Availability Zones the service is hosted in + */ + zones?: string[]; } /** - * The configuration settings of the registration for the Apple provider + * Build properties for the static site. */ -export interface AppleRegistration { +export interface StaticSiteBuildProperties { /** - * The Client ID of the app used for login. + * The path to the app code within the repository. */ - clientId?: string; + appLocation?: string; /** - * The app setting name that contains the client secret. + * The path to the api code within the repository. */ - clientSecretSettingName?: string; -} - -/** - * The configuration settings of the login flow, including the scopes that should be requested. - */ -export interface LoginScopes { + apiLocation?: string; /** - * A list of the scopes that should be requested while authenticating. + * Deprecated: The path of the app artifacts after building (deprecated in favor of + * OutputLocation) */ - scopes?: string[]; -} - -/** - * The configuration settings of the Apple provider. - */ -export interface Apple extends ProxyOnlyResource { + appArtifactLocation?: string; /** - * false if the Apple provider should not be enabled despite the set registration; - * otherwise, true. + * The output path of the app after building. */ - enabled?: boolean; + outputLocation?: string; /** - * The configuration settings of the Apple registration. + * A custom command to run during deployment of the static content application. */ - registration?: AppleRegistration; + appBuildCommand?: string; /** - * The configuration settings of the login flow. + * A custom command to run during deployment of the Azure Functions API application. */ - login?: LoginScopes; -} - -/** - * Application logs to file system configuration. - */ -export interface FileSystemApplicationLogsConfig { + apiBuildCommand?: string; /** - * Log level. Possible values include: 'Off', 'Verbose', 'Information', 'Warning', 'Error'. - * Default value: 'Off'. + * Skip Github Action workflow generation. */ - level?: LogLevel; + skipGithubActionWorkflowGeneration?: boolean; + /** + * Github Action secret name override. + */ + githubActionSecretNameOverride?: string; } /** - * Application logs to Azure table storage configuration. + * Template Options for the static site. */ -export interface AzureTableStorageApplicationLogsConfig { +export interface StaticSiteTemplateOptions { /** - * Log level. Possible values include: 'Off', 'Verbose', 'Information', 'Warning', 'Error' + * URL of the template repository. The newly generated repository will be based on this one. */ - level?: LogLevel; + templateRepositoryUrl?: string; /** - * SAS URL to an Azure table with add/query/delete permissions. + * Owner of the newly generated repository. */ - sasUrl: string; -} - -/** - * Application logs azure blob storage configuration. - */ -export interface AzureBlobStorageApplicationLogsConfig { + owner?: string; /** - * Log level. Possible values include: 'Off', 'Verbose', 'Information', 'Warning', 'Error' + * Name of the newly generated repository. */ - level?: LogLevel; + repositoryName?: string; /** - * SAS url to a azure blob container with read/write/list/delete permissions. + * Description of the newly generated repository. */ - sasUrl?: string; + description?: string; /** - * Retention in days. - * Remove blobs older than X days. - * 0 or lower means no retention. + * Whether or not the newly generated repository is a private repository. Defaults to false (i.e. + * public). */ - retentionInDays?: number; + isPrivate?: boolean; } /** - * Application logs configuration. + * A static site user provided function. */ -export interface ApplicationLogsConfig { +export interface StaticSiteUserProvidedFunctionApp extends ProxyOnlyResource { /** - * Application logs to file system configuration. + * The resource id of the function app registered with the static site */ - fileSystem?: FileSystemApplicationLogsConfig; + functionAppResourceId?: string; /** - * Application logs to azure table storage configuration. + * The region of the function app registered with the static site */ - azureTableStorage?: AzureTableStorageApplicationLogsConfig; + functionAppRegion?: string; /** - * Application logs to blob storage configuration. + * The date and time on which the function app was registered with the static site. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - azureBlobStorage?: AzureBlobStorageApplicationLogsConfig; + readonly createdOn?: Date; } /** - * The configuration settings of the platform of App Service Authentication/Authorization. + * Static Site ARM resource. */ -export interface AuthPlatform { +export interface StaticSiteARMResource extends Resource { /** - * true if the Authentication / Authorization feature is enabled for the current - * app; otherwise, false. + * The default autogenerated hostname for the static site. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - enabled?: boolean; + readonly defaultHostname?: string; /** - * The RuntimeVersion of the Authentication / Authorization feature in use for the current app. - * The setting in this value can control the behavior of certain features in the Authentication / - * Authorization module. + * URL for the repository of the static site. */ - runtimeVersion?: string; + repositoryUrl?: string; /** - * The path of the config file containing auth settings if they come from a file. - * If the path is relative, base will the site's root directory. + * The target branch in the repository. */ - configFilePath?: string; -} - -/** - * The configuration settings of the Azure Active Directory app registration. - */ -export interface AzureActiveDirectoryRegistration extends ProxyOnlyResource { + branch?: string; /** - * The OpenID Connect Issuer URI that represents the entity which issues access tokens for this - * application. - * When using Azure Active Directory, this value is the URI of the directory tenant, e.g. - * https://login.microsoftonline.com/v2.0/{tenant-guid}/. - * This URI is a case-sensitive identifier for the token issuer. - * More information on OpenID Connect Discovery: - * http://openid.net/specs/openid-connect-discovery-1_0.html + * The custom domains associated with this static site. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - openIdIssuer?: string; + readonly customDomains?: string[]; /** - * The Client ID of this relying party application, known as the client_id. - * This setting is required for enabling OpenID Connection authentication with Azure Active - * Directory or - * other 3rd party OpenID Connect providers. - * More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html + * A user's github repository token. This is used to setup the Github Actions workflow file and + * API secrets. */ - clientId?: string; + repositoryToken?: string; /** - * The app setting name that contains the client secret of the relying party application. + * Build properties to configure on the repository. */ - clientSecretSettingName?: string; + buildProperties?: StaticSiteBuildProperties; /** - * An alternative to the client secret, that is the thumbprint of a certificate used for signing - * purposes. This property acts as - * a replacement for the Client Secret. It is also optional. + * Private endpoint connections + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - clientSecretCertificateThumbprint?: string; + readonly privateEndpointConnections?: ResponseMessageEnvelopeRemotePrivateEndpointConnection[]; /** - * An alternative to the client secret thumbprint, that is the subject alternative name of a - * certificate used for signing purposes. This property acts as - * a replacement for the Client Secret Certificate Thumbprint. It is also optional. + * State indicating whether staging environments are allowed or not allowed for a static web app. + * Possible values include: 'Enabled', 'Disabled' */ - clientSecretCertificateSubjectAlternativeName?: string; + stagingEnvironmentPolicy?: StagingEnvironmentPolicy; /** - * An alternative to the client secret thumbprint, that is the issuer of a certificate used for - * signing purposes. This property acts as - * a replacement for the Client Secret Certificate Thumbprint. It is also optional. + * false if config file is locked for this static web app; otherwise, + * true. */ - clientSecretCertificateIssuer?: string; -} - -/** - * The configuration settings of the Azure Active Directory login flow. - */ -export interface AzureActiveDirectoryLogin extends ProxyOnlyResource { + allowConfigFileUpdates?: boolean; /** - * Login parameters to send to the OpenID Connect authorization endpoint when - * a user logs in. Each parameter must be in the form "key=value". + * Template options for generating a new repository. */ - loginParameters?: string[]; + templateProperties?: StaticSiteTemplateOptions; /** - * true if the www-authenticate provider should be omitted from the request; - * otherwise, false. + * The content distribution endpoint for the static site. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - disableWWWAuthenticate?: boolean; -} - -/** - * The configuration settings of the checks that should be made while validating the JWT Claims. - */ -export interface JwtClaimChecks { + readonly contentDistributionEndpoint?: string; /** - * The list of the allowed groups. + * Identity to use for Key Vault Reference authentication. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - allowedGroups?: string[]; + readonly keyVaultReferenceIdentity?: string; /** - * The list of the allowed client applications. + * User provided function apps registered with the static site + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - allowedClientApplications?: string[]; -} - -/** - * The configuration settings of the Azure Active Directory default authorization policy. - */ -export interface DefaultAuthorizationPolicy { + readonly userProvidedFunctionApps?: StaticSiteUserProvidedFunctionApp[]; /** - * The configuration settings of the Azure Active Directory allowed principals. + * The provider that submitted the last deployment to the primary environment of the static site. */ - allowedPrincipals?: AllowedPrincipals; + provider?: string; /** - * The configuration settings of the Azure Active Directory allowed applications. + * State indicating the status of the enterprise grade CDN serving traffic to the static web app. + * Possible values include: 'Enabled', 'Enabling', 'Disabled', 'Disabling' */ - allowedApplications?: string[]; + enterpriseGradeCdnStatus?: EnterpriseGradeCdnStatus; + sku?: SkuDescription; + identity?: ManagedServiceIdentity; } /** - * The configuration settings of the Azure Active Directory token validation flow. + * Static Site Build ARM resource. */ -export interface AzureActiveDirectoryValidation extends ProxyOnlyResource { +export interface StaticSiteBuildARMResource extends ProxyOnlyResource { /** - * The configuration settings of the checks that should be made while validating the JWT Claims. + * An identifier for the static site build. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - jwtClaimChecks?: JwtClaimChecks; + readonly buildId?: string; /** - * The list of audiences that can make successful authentication/authorization requests. + * The source branch. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - allowedAudiences?: string[]; + readonly sourceBranch?: string; /** - * The configuration settings of the default authorization policy. + * The title of a pull request that a static site build is related to. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - defaultAuthorizationPolicy?: DefaultAuthorizationPolicy; -} - -/** - * The configuration settings of the Azure Active directory provider. - */ -export interface AzureActiveDirectory { + readonly pullRequestTitle?: string; /** - * false if the Azure Active Directory provider should not be enabled despite the - * set registration; otherwise, true. + * The hostname for a static site build. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - enabled?: boolean; + readonly hostname?: string; /** - * The configuration settings of the Azure Active Directory app registration. + * When this build was created. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - registration?: AzureActiveDirectoryRegistration; + readonly createdTimeUtc?: Date; /** - * The configuration settings of the Azure Active Directory login flow. + * When this build was updated. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - login?: AzureActiveDirectoryLogin; + readonly lastUpdatedOn?: Date; /** - * The configuration settings of the Azure Active Directory token validation flow. + * The status of the static site build. Possible values include: 'WaitingForDeployment', + * 'Uploading', 'Deploying', 'Ready', 'Failed', 'Deleting', 'Detached' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - validation?: AzureActiveDirectoryValidation; + readonly status?: BuildStatus; /** - * Gets a value indicating whether the Azure AD configuration was auto-provisioned using 1st - * party tooling. - * This is an internal flag primarily intended to support the Azure Management Portal. Users - * should not - * read or write to this property. + * User provided function apps registered with the static site build + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - isAutoProvisioned?: boolean; + readonly userProvidedFunctionApps?: StaticSiteUserProvidedFunctionApp[]; } /** - * Http logs to azure blob storage configuration. + * Static Site Custom Domain Overview ARM resource. */ -export interface AzureBlobStorageHttpLogsConfig { - /** - * SAS url to a azure blob container with read/write/list/delete permissions. - */ - sasUrl?: string; +export interface StaticSiteCustomDomainOverviewARMResource extends ProxyOnlyResource { /** - * Retention in days. - * Remove blobs older than X days. - * 0 or lower means no retention. + * The domain name for the static site custom domain. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - retentionInDays?: number; + readonly domainName?: string; /** - * True if configuration is enabled, false if it is disabled and null if configuration is not - * set. + * The date and time on which the custom domain was created for the static site. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - enabled?: boolean; -} - -/** - * The configuration settings of the registration for the Azure Static Web Apps provider - */ -export interface AzureStaticWebAppsRegistration { + readonly createdOn?: Date; /** - * The Client ID of the app used for login. + * The status of the custom domain. Possible values include: 'RetrievingValidationToken', + * 'Validating', 'Adding', 'Ready', 'Failed', 'Deleting' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - clientId?: string; -} - -/** - * The configuration settings of the Azure Static Web Apps provider. - */ -export interface AzureStaticWebApps extends ProxyOnlyResource { + readonly status?: CustomDomainStatus; /** - * false if the Azure Static Web Apps provider should not be enabled despite the set - * registration; otherwise, true. + * The TXT record validation token + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - enabled?: boolean; + readonly validationToken?: string; /** - * The configuration settings of the Azure Static Web Apps registration. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - registration?: AzureStaticWebAppsRegistration; + readonly errorMessage?: string; } /** - * AzureStorageInfo dictionary resource. + * Static Site Custom Domain Request Properties ARM resource. */ -export interface AzureStoragePropertyDictionaryResource extends ProxyOnlyResource { +export interface StaticSiteCustomDomainRequestPropertiesARMResource extends ProxyOnlyResource { /** - * Azure storage accounts. + * Validation method for adding a custom domain. Default value: 'cname-delegation'. */ - properties?: { [propertyName: string]: AzureStorageInfoValue }; + validationMethod?: string; } /** - * Database backup settings. + * Static Site Function Overview ARM resource. */ -export interface DatabaseBackupSetting { - /** - * Database type (e.g. SqlAzure / MySql). Possible values include: 'SqlAzure', 'MySql', - * 'LocalMySql', 'PostgreSql' - */ - databaseType: DatabaseType; - name?: string; +export interface StaticSiteFunctionOverviewARMResource extends ProxyOnlyResource { /** - * Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. - * This is used during restore with overwrite connection strings options. + * The name for the function + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - connectionStringName?: string; + readonly functionName?: string; /** - * Contains a connection string to a database which is being backed up or restored. If the - * restore should happen to a new database, the database name inside is the new one. + * The trigger type of the function. Possible values include: 'HttpTrigger', 'Unknown' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - connectionString?: string; + readonly triggerType?: TriggerTypes; } /** - * Backup description. + * ARM resource for a static site when patching */ -export interface BackupItem extends ProxyOnlyResource { +export interface StaticSitePatchResource extends ProxyOnlyResource { /** - * Id of the backup. + * The default autogenerated hostname for the static site. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly backupId?: number; + readonly defaultHostname?: string; /** - * SAS URL for the storage account container which contains this backup. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * URL for the repository of the static site. */ - readonly storageAccountUrl?: string; + repositoryUrl?: string; /** - * Name of the blob which contains data for this backup. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The target branch in the repository. */ - readonly blobName?: string; + branch?: string; /** - * Name of this backup. + * The custom domains associated with this static site. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly backupItemName?: string; + readonly customDomains?: string[]; /** - * Backup status. Possible values include: 'InProgress', 'Failed', 'Succeeded', 'TimedOut', - * 'Created', 'Skipped', 'PartiallySucceeded', 'DeleteInProgress', 'DeleteFailed', 'Deleted' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * A user's github repository token. This is used to setup the Github Actions workflow file and + * API secrets. */ - readonly status?: BackupItemStatus; + repositoryToken?: string; /** - * Size of the backup in bytes. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Build properties to configure on the repository. */ - readonly sizeInBytes?: number; + buildProperties?: StaticSiteBuildProperties; /** - * Timestamp of the backup creation. + * Private endpoint connections * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly created?: Date; + readonly privateEndpointConnections?: ResponseMessageEnvelopeRemotePrivateEndpointConnection[]; /** - * Details regarding this backup. Might contain an error message. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * State indicating whether staging environments are allowed or not allowed for a static web app. + * Possible values include: 'Enabled', 'Disabled' */ - readonly log?: string; + stagingEnvironmentPolicy?: StagingEnvironmentPolicy; /** - * List of databases included in the backup. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * false if config file is locked for this static web app; otherwise, + * true. */ - readonly databases?: DatabaseBackupSetting[]; + allowConfigFileUpdates?: boolean; /** - * True if this backup has been created due to a schedule being triggered. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Template options for generating a new repository. */ - readonly scheduled?: boolean; + templateProperties?: StaticSiteTemplateOptions; /** - * Timestamp of a last restore operation which used this backup. + * The content distribution endpoint for the static site. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly lastRestoreTimeStamp?: Date; + readonly contentDistributionEndpoint?: string; /** - * Timestamp when this backup finished. + * Identity to use for Key Vault Reference authentication. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly finishedTimeStamp?: Date; + readonly keyVaultReferenceIdentity?: string; /** - * Unique correlation identifier. Please use this along with the timestamp while communicating - * with Azure support. + * User provided function apps registered with the static site * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly correlationId?: string; + readonly userProvidedFunctionApps?: StaticSiteUserProvidedFunctionApp[]; /** - * Size of the original web app which has been backed up. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The provider that submitted the last deployment to the primary environment of the static site. */ - readonly websiteSizeInBytes?: number; + provider?: string; + /** + * State indicating the status of the enterprise grade CDN serving traffic to the static web app. + * Possible values include: 'Enabled', 'Enabling', 'Disabled', 'Disabling' + */ + enterpriseGradeCdnStatus?: EnterpriseGradeCdnStatus; } /** - * Description of a backup schedule. Describes how often should be the backup performed and what - * should be the retention policy. + * Static Site Reset Properties ARM resource. */ -export interface BackupSchedule { +export interface StaticSiteResetPropertiesARMResource extends ProxyOnlyResource { /** - * How often the backup should be executed (e.g. for weekly backup, this should be set to 7 and - * FrequencyUnit should be set to Day). Default value: 7. + * The token which proves admin privileges to the repository. */ - frequencyInterval: number; + repositoryToken?: string; /** - * The unit of time for how often the backup should be executed (e.g. for weekly backup, this - * should be set to Day and FrequencyInterval should be set to 7). Possible values include: - * 'Day', 'Hour'. Default value: 'Day'. + * Determines whether the repository should be updated with the new properties. */ - frequencyUnit: FrequencyUnit; + shouldUpdateRepository?: boolean; +} + +/** + * Static Site User ARM resource. + */ +export interface StaticSiteUserARMResource extends ProxyOnlyResource { /** - * True if the retention policy should always keep at least one backup in the storage account, - * regardless how old it is; false otherwise. Default value: true. + * The identity provider for the static site user. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - keepAtLeastOneBackup: boolean; + readonly provider?: string; /** - * After how many days backups should be deleted. Default value: 30. + * The user id for the static site user. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - retentionPeriodInDays: number; + readonly userId?: string; /** - * When the schedule should start working. + * The display name for the static site user. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - startTime?: Date; + readonly displayName?: string; /** - * Last time when this schedule was triggered. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The roles for the static site user, in free-form string format */ - readonly lastExecutionTime?: Date; + roles?: string; } /** - * Description of a backup which will be performed. + * Static sites user roles invitation resource. */ -export interface BackupRequest extends ProxyOnlyResource { +export interface StaticSiteUserInvitationRequestResource extends ProxyOnlyResource { /** - * Name of the backup. + * The domain name for the static site custom domain. */ - backupName?: string; + domain?: string; /** - * True if the backup schedule is enabled (must be included in that case), false if the backup - * schedule should be disabled. + * The identity provider for the static site user. */ - enabled?: boolean; + provider?: string; /** - * SAS URL to the container. + * The user id for the static site user. */ - storageAccountUrl: string; + userDetails?: string; /** - * Schedule for the backup if it is executed periodically. + * The roles for the static site user, in free-form string format */ - backupSchedule?: BackupSchedule; + roles?: string; /** - * Databases included in the backup. + * The number of hours the sas token stays valid */ - databases?: DatabaseBackupSetting[]; + numHoursToExpiration?: number; } /** - * The configuration settings of the storage of the tokens if blob storage is used. + * Static sites user roles invitation link resource. */ -export interface BlobStorageTokenStore extends ProxyOnlyResource { +export interface StaticSiteUserInvitationResponseResource extends ProxyOnlyResource { /** - * The name of the app setting containing the SAS URL of the blob storage containing the tokens. + * The expiration time of the invitation + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sasUrlSettingName?: string; + readonly expiresOn?: Date; + /** + * The url for the invitation link + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly invitationUrl?: string; } /** - * The configuration settings of the app registration for providers that have client ids and client - * secrets + * Static Site User Provided Function App ARM resource. */ -export interface ClientRegistration { +export interface StaticSiteUserProvidedFunctionAppARMResource extends ProxyOnlyResource { /** - * The Client ID of the app used for login. + * The resource id of the function app registered with the static site */ - clientId?: string; + functionAppResourceId?: string; /** - * The app setting name that contains the client secret. + * The region of the function app registered with the static site */ - clientSecretSettingName?: string; + functionAppRegion?: string; + /** + * The date and time on which the function app was registered with the static site. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly createdOn?: Date; } /** - * Database connection string value to type pair. + * Static site zip deployment ARM resource. */ -export interface ConnStringValueTypePair { +export interface StaticSiteZipDeploymentARMResource extends ProxyOnlyResource { /** - * Value of pair. + * URL for the zipped app content */ - value: string; + appZipUrl?: string; /** - * Type of database. Possible values include: 'MySql', 'SQLServer', 'SQLAzure', 'Custom', - * 'NotificationHub', 'ServiceBus', 'EventHub', 'ApiHub', 'DocDb', 'RedisCache', 'PostgreSQL' + * URL for the zipped api content */ - type: ConnectionStringType; -} - -/** - * String dictionary resource. - */ -export interface ConnectionStringDictionary extends ProxyOnlyResource { + apiZipUrl?: string; /** - * Connection strings. + * A title to label the deployment */ - properties?: { [propertyName: string]: ConnStringValueTypePair }; -} - -/** - * An interface representing ContainerCpuUsage. - */ -export interface ContainerCpuUsage { - totalUsage?: number; - perCpuUsage?: number[]; - kernelModeUsage?: number; - userModeUsage?: number; -} - -/** - * An interface representing ContainerThrottlingData. - */ -export interface ContainerThrottlingData { - periods?: number; - throttledPeriods?: number; - throttledTime?: number; + deploymentTitle?: string; + /** + * The provider submitting this deployment + */ + provider?: string; + /** + * The language of the api content, if it exists + */ + functionLanguage?: string; } /** - * An interface representing ContainerCpuStatistics. + * Preview for the Static Site Workflow to be generated */ -export interface ContainerCpuStatistics { - cpuUsage?: ContainerCpuUsage; - systemCpuUsage?: number; - onlineCpuCount?: number; - throttlingData?: ContainerThrottlingData; +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; } /** - * An interface representing ContainerMemoryStatistics. + * Request entity for previewing the Static Site workflow */ -export interface ContainerMemoryStatistics { - usage?: number; - maxUsage?: number; - limit?: number; +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; } /** - * An interface representing ContainerNetworkInterfaceStatistics. + * String list resource. */ -export interface ContainerNetworkInterfaceStatistics { - rxBytes?: number; - rxPackets?: number; - rxErrors?: number; - rxDropped?: number; - txBytes?: number; - txPackets?: number; - txErrors?: number; - txDropped?: number; +export interface StringList extends ProxyOnlyResource { + /** + * List of string resources. + */ + properties?: string[]; } /** - * An interface representing ContainerInfo. + * The configuration settings of the Allowed Audiences validation flow. */ -export interface ContainerInfo { - currentTimeStamp?: Date; - previousTimeStamp?: Date; - currentCpuStats?: ContainerCpuStatistics; - previousCpuStats?: ContainerCpuStatistics; - memoryStats?: ContainerMemoryStatistics; - name?: string; - id?: string; - eth0?: ContainerNetworkInterfaceStatistics; +export interface AllowedAudiencesValidation { + /** + * The configuration settings of the allowed list of audiences from which to validate the JWT + * token. + */ + allowedAudiences?: string[]; } /** - * Continuous Web Job Information. + * The configuration settings of the Azure Active Directory allowed principals. */ -export interface ContinuousWebJob extends ProxyOnlyResource { - /** - * Job status. Possible values include: 'Initializing', 'Starting', 'Running', 'PendingRestart', - * 'Stopped' - */ - status?: ContinuousWebJobStatus; +export interface AllowedPrincipals { /** - * Detailed status. + * The list of the allowed groups. */ - detailedStatus?: string; + groups?: string[]; /** - * Log URL. + * The list of the allowed identities. */ - logUrl?: string; + identities?: string[]; +} + +/** + * Description of site key vault references. + */ +export interface ApiKVReference extends ProxyOnlyResource { + reference?: string; /** - * Run command. + * Possible values include: 'Initialized', 'Resolved', 'InvalidSyntax', 'MSINotEnabled', + * 'VaultNotFound', 'SecretNotFound', 'SecretVersionNotFound', 'AccessToKeyVaultDenied', + * 'OtherReasons', 'FetchTimedOut', 'UnauthorizedClient' */ - runCommand?: string; + status?: ResolveStatus; + vaultName?: string; + secretName?: string; + secretVersion?: string; + identityType?: ManagedServiceIdentity; + details?: string; /** - * Job URL. + * Possible values include: 'KeyVault' */ - url?: string; + source?: ConfigReferenceSource; + activeVersion?: string; +} + +/** + * The configuration settings of the app registration for providers that have app ids and app + * secrets + */ +export interface AppRegistration { /** - * Extra Info URL. + * The App ID of the app used for login. */ - extraInfoUrl?: string; + appId?: string; /** - * Job type. Possible values include: 'Continuous', 'Triggered' + * The app setting name that contains the app secret. */ - webJobType?: WebJobType; + appSecretSettingName?: string; +} + +/** + * The configuration settings of the registration for the Apple provider + */ +export interface AppleRegistration { /** - * Error information. + * The Client ID of the app used for login. */ - error?: string; + clientId?: string; /** - * Using SDK? + * The app setting name that contains the client secret. */ - usingSdk?: boolean; + clientSecretSettingName?: string; +} + +/** + * The configuration settings of the login flow, including the scopes that should be requested. + */ +export interface LoginScopes { /** - * Job settings. + * A list of the scopes that should be requested while authenticating. */ - settings?: { [propertyName: string]: any }; + scopes?: string[]; } /** - * The configuration settings of the session cookie's expiration. + * The configuration settings of the Apple provider. */ -export interface CookieExpiration { +export interface Apple { /** - * The convention used when determining the session cookie's expiration. Possible values include: - * 'FixedTime', 'IdentityProviderDerived' + * false if the Apple provider should not be enabled despite the set registration; + * otherwise, true. */ - convention?: CookieExpirationConvention; + enabled?: boolean; /** - * The time after the request is made when the session cookie should expire. + * The configuration settings of the Apple registration. */ - timeToExpiration?: string; + registration?: AppleRegistration; + /** + * The configuration settings of the login flow. + */ + login?: LoginScopes; } /** - * Publishing Credentials Policies parameters. + * Application logs to file system configuration. */ -export interface CsmPublishingCredentialsPoliciesEntity extends ProxyOnlyResource { +export interface FileSystemApplicationLogsConfig { /** - * true to allow access to a publishing method; otherwise, false. + * Log level. Possible values include: 'Off', 'Verbose', 'Information', 'Warning', 'Error'. + * Default value: 'Off'. */ - allow: boolean; + level?: LogLevel; } /** - * Publishing options for requested profile. + * Application logs to Azure table storage configuration. */ -export interface CsmPublishingProfileOptions { +export interface AzureTableStorageApplicationLogsConfig { /** - * Name of the format. Valid values are: - * FileZilla3 - * WebDeploy -- default - * Ftp. Possible values include: 'FileZilla3', 'WebDeploy', 'Ftp' + * Log level. Possible values include: 'Off', 'Verbose', 'Information', 'Warning', 'Error' */ - format?: PublishingProfileFormat; + level?: LogLevel; /** - * Include the DisasterRecover endpoint if true + * SAS URL to an Azure table with add/query/delete permissions. */ - includeDisasterRecoveryEndpoints?: boolean; + sasUrl: string; } /** - * Deployment slot parameters. + * Application logs azure blob storage configuration. */ -export interface CsmSlotEntity { +export interface AzureBlobStorageApplicationLogsConfig { /** - * Destination deployment slot during swap operation. + * Log level. Possible values include: 'Off', 'Verbose', 'Information', 'Warning', 'Error' */ - targetSlot: string; + level?: LogLevel; /** - * true to preserve Virtual Network to the slot during swap; otherwise, - * false. + * SAS url to a azure blob container with read/write/list/delete permissions. */ - preserveVnet: boolean; + sasUrl?: string; + /** + * Retention in days. + * Remove blobs older than X days. + * 0 or lower means no retention. + */ + retentionInDays?: number; } /** - * Custom domain analysis. + * Application logs configuration. */ -export interface CustomHostnameAnalysisResult extends ProxyOnlyResource { +export interface ApplicationLogsConfig { /** - * true if hostname is already verified; otherwise, false. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly isHostnameAlreadyVerified?: boolean; - /** - * DNS verification test result. Possible values include: 'Passed', 'Failed', 'Skipped' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly customDomainVerificationTest?: DnsVerificationTestResult; - /** - * Raw failure information if DNS verification fails. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly customDomainVerificationFailureInfo?: ErrorEntity; - /** - * true if there is a conflict on a scale unit; otherwise, false. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly hasConflictOnScaleUnit?: boolean; - /** - * true if there is a conflict across subscriptions; otherwise, false. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly hasConflictAcrossSubscription?: boolean; - /** - * Name of the conflicting app on scale unit if it's within the same subscription. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly conflictingAppResourceId?: string; - /** - * CName records controller can see for this hostname. - */ - cNameRecords?: string[]; - /** - * TXT records controller can see for this hostname. - */ - txtRecords?: string[]; - /** - * A records controller can see for this hostname. + * Application logs to file system configuration. */ - aRecords?: string[]; + fileSystem?: FileSystemApplicationLogsConfig; /** - * Alternate CName records controller can see for this hostname. + * Application logs to azure table storage configuration. */ - alternateCNameRecords?: string[]; + azureTableStorage?: AzureTableStorageApplicationLogsConfig; /** - * Alternate TXT records controller can see for this hostname. + * Application logs to blob storage configuration. */ - alternateTxtRecords?: string[]; + azureBlobStorage?: AzureBlobStorageApplicationLogsConfig; } /** - * The authentication client credentials of the custom Open ID Connect provider. + * The configuration settings of the platform of App Service Authentication/Authorization. */ -export interface OpenIdConnectClientCredential { +export interface AuthPlatform { /** - * The method that should be used to authenticate the user. Possible values include: - * 'ClientSecretPost' + * true if the Authentication / Authorization feature is enabled for the current + * app; otherwise, false. */ - method?: ClientCredentialMethod; + enabled?: boolean; /** - * The app setting that contains the client secret for the custom Open ID Connect provider. + * The RuntimeVersion of the Authentication / Authorization feature in use for the current app. + * The setting in this value can control the behavior of certain features in the Authentication / + * Authorization module. */ - clientSecretSettingName?: string; + runtimeVersion?: string; + /** + * The path of the config file containing auth settings if they come from a file. + * If the path is relative, base will the site's root directory. + */ + configFilePath?: string; } /** - * The configuration settings of the endpoints used for the custom Open ID Connect provider. + * The configuration settings of the Azure Active Directory app registration. */ -export interface OpenIdConnectConfig { +export interface AzureActiveDirectoryRegistration { /** - * The endpoint to be used to make an authorization request. + * The OpenID Connect Issuer URI that represents the entity which issues access tokens for this + * application. + * When using Azure Active Directory, this value is the URI of the directory tenant, e.g. + * https://login.microsoftonline.com/v2.0/{tenant-guid}/. + * This URI is a case-sensitive identifier for the token issuer. + * More information on OpenID Connect Discovery: + * http://openid.net/specs/openid-connect-discovery-1_0.html */ - authorizationEndpoint?: string; + openIdIssuer?: string; /** - * The endpoint to be used to request a token. + * The Client ID of this relying party application, known as the client_id. + * This setting is required for enabling OpenID Connection authentication with Azure Active + * Directory or + * other 3rd party OpenID Connect providers. + * More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html */ - tokenEndpoint?: string; + clientId?: string; /** - * The endpoint that issues the token. + * The app setting name that contains the client secret of the relying party application. */ - issuer?: string; + clientSecretSettingName?: string; /** - * The endpoint that provides the keys necessary to validate the token. + * An alternative to the client secret, that is the thumbprint of a certificate used for signing + * purposes. This property acts as + * a replacement for the Client Secret. It is also optional. */ - certificationUri?: string; + clientSecretCertificateThumbprint?: string; /** - * The endpoint that contains all the configuration endpoints for the provider. + * An alternative to the client secret thumbprint, that is the subject alternative name of a + * certificate used for signing purposes. This property acts as + * a replacement for the Client Secret Certificate Thumbprint. It is also optional. */ - wellKnownOpenIdConfiguration?: string; + clientSecretCertificateSubjectAlternativeName?: string; + /** + * An alternative to the client secret thumbprint, that is the issuer of a certificate used for + * signing purposes. This property acts as + * a replacement for the Client Secret Certificate Thumbprint. It is also optional. + */ + clientSecretCertificateIssuer?: string; } /** - * The configuration settings of the app registration for the custom Open ID Connect provider. + * The configuration settings of the Azure Active Directory login flow. */ -export interface OpenIdConnectRegistration { - /** - * The client id of the custom Open ID Connect provider. - */ - clientId?: string; +export interface AzureActiveDirectoryLogin { /** - * The authentication credentials of the custom Open ID Connect provider. + * Login parameters to send to the OpenID Connect authorization endpoint when + * a user logs in. Each parameter must be in the form "key=value". */ - clientCredential?: OpenIdConnectClientCredential; + loginParameters?: string[]; /** - * The configuration settings of the endpoints used for the custom Open ID Connect provider. + * true if the www-authenticate provider should be omitted from the request; + * otherwise, false. */ - openIdConnectConfiguration?: OpenIdConnectConfig; + disableWWWAuthenticate?: boolean; } /** - * The configuration settings of the login flow of the custom Open ID Connect provider. + * The configuration settings of the checks that should be made while validating the JWT Claims. */ -export interface OpenIdConnectLogin { +export interface JwtClaimChecks { /** - * The name of the claim that contains the users name. + * The list of the allowed groups. */ - nameClaimType?: string; + allowedGroups?: string[]; /** - * A list of the scopes that should be requested while authenticating. + * The list of the allowed client applications. */ - scopes?: string[]; + allowedClientApplications?: string[]; } /** - * The configuration settings of the custom Open ID Connect provider. + * The configuration settings of the Azure Active Directory default authorization policy. */ -export interface CustomOpenIdConnectProvider extends ProxyOnlyResource { - /** - * false if the custom Open ID provider provider should not be enabled; otherwise, - * true. - */ - enabled?: boolean; +export interface DefaultAuthorizationPolicy { /** - * The configuration settings of the app registration for the custom Open ID Connect provider. + * The configuration settings of the Azure Active Directory allowed principals. */ - registration?: OpenIdConnectRegistration; + allowedPrincipals?: AllowedPrincipals; /** - * The configuration settings of the login flow of the custom Open ID Connect provider. + * The configuration settings of the Azure Active Directory allowed applications. */ - login?: OpenIdConnectLogin; + allowedApplications?: string[]; } /** - * Details about restoring a deleted app. + * The configuration settings of the Azure Active Directory token validation flow. */ -export interface DeletedAppRestoreRequest extends ProxyOnlyResource { - /** - * ARM resource ID of the deleted app. Example: - * /subscriptions/{subId}/providers/Microsoft.Web/deletedSites/{deletedSiteId} - */ - deletedSiteId?: string; +export interface AzureActiveDirectoryValidation { /** - * If true, deleted site configuration, in addition to content, will be restored. + * The configuration settings of the checks that should be made while validating the JWT Claims. */ - recoverConfiguration?: boolean; + jwtClaimChecks?: JwtClaimChecks; /** - * Point in time to restore the deleted app from, formatted as a DateTime string. - * If unspecified, default value is the time that the app was deleted. + * The list of audiences that can make successful authentication/authorization requests. */ - snapshotTime?: string; + allowedAudiences?: string[]; /** - * If true, the snapshot is retrieved from DRSecondary endpoint. + * The configuration settings of the default authorization policy. */ - useDRSecondary?: boolean; + defaultAuthorizationPolicy?: DefaultAuthorizationPolicy; } /** - * User credentials used for publishing activity. + * The configuration settings of the Azure Active directory provider. */ -export interface Deployment extends ProxyOnlyResource { - /** - * Deployment status. - */ - status?: number; +export interface AzureActiveDirectory { /** - * Details about deployment status. + * false if the Azure Active Directory provider should not be enabled despite the + * set registration; otherwise, true. */ - message?: string; + enabled?: boolean; /** - * Who authored the deployment. + * The configuration settings of the Azure Active Directory app registration. */ - author?: string; + registration?: AzureActiveDirectoryRegistration; /** - * Who performed the deployment. + * The configuration settings of the Azure Active Directory login flow. */ - deployer?: string; + login?: AzureActiveDirectoryLogin; /** - * Author email. + * The configuration settings of the Azure Active Directory token validation flow. */ - authorEmail?: string; + validation?: AzureActiveDirectoryValidation; /** - * Start time. + * Gets a value indicating whether the Azure AD configuration was auto-provisioned using 1st + * party tooling. + * This is an internal flag primarily intended to support the Azure Management Portal. Users + * should not + * read or write to this property. */ - startTime?: Date; + isAutoProvisioned?: boolean; +} + +/** + * Http logs to azure blob storage configuration. + */ +export interface AzureBlobStorageHttpLogsConfig { /** - * End time. + * SAS url to a azure blob container with read/write/list/delete permissions. */ - endTime?: Date; + sasUrl?: string; /** - * True if deployment is currently active, false if completed and null if not started. + * Retention in days. + * Remove blobs older than X days. + * 0 or lower means no retention. */ - active?: boolean; + retentionInDays?: number; /** - * Details on deployment. + * True if configuration is enabled, false if it is disabled and null if configuration is not + * set. */ - details?: string; + enabled?: boolean; } /** - * Enabled configuration. + * The configuration settings of the registration for the Azure Static Web Apps provider */ -export interface EnabledConfig { +export interface AzureStaticWebAppsRegistration { /** - * True if configuration is enabled, false if it is disabled and null if configuration is not - * set. + * The Client ID of the app used for login. */ - enabled?: boolean; + clientId?: string; } /** - * The configuration settings of the Facebook provider. + * The configuration settings of the Azure Static Web Apps provider. */ -export interface Facebook { +export interface AzureStaticWebApps { /** - * false if the Facebook provider should not be enabled despite the set + * false if the Azure Static Web Apps provider should not be enabled despite the set * registration; otherwise, true. */ enabled?: boolean; /** - * The configuration settings of the app registration for the Facebook provider. - */ - registration?: AppRegistration; - /** - * The version of the Facebook api to be used while logging in. + * The configuration settings of the Azure Static Web Apps registration. */ - graphApiVersion?: string; - /** - * The configuration settings of the login flow. - */ - login?: LoginScopes; -} - -/** - * Http logs to file system configuration. - */ -export interface FileSystemHttpLogsConfig { - /** - * Maximum size in megabytes that http log files can use. - * When reached old log files will be removed to make space for new ones. - * Value can range between 25 and 100. - */ - retentionInMb?: number; - /** - * Retention in days. - * Remove files older than X days. - * 0 or lower means no retention. - */ - retentionInDays?: number; - /** - * True if configuration is enabled, false if it is disabled and null if configuration is not - * set. - */ - enabled?: boolean; + registration?: AzureStaticWebAppsRegistration; } /** - * The configuration settings of the storage of the tokens if a file system is used. + * AzureStorageInfo dictionary resource. */ -export interface FileSystemTokenStore { +export interface AzureStoragePropertyDictionaryResource extends ProxyOnlyResource { /** - * The directory in which the tokens will be stored. + * Azure storage accounts. */ - directory?: string; + properties?: { [propertyName: string]: AzureStorageInfoValue }; } /** - * The configuration settings of a forward proxy used to make the requests. + * Database backup settings. */ -export interface ForwardProxy { +export interface DatabaseBackupSetting { /** - * The convention used to determine the url of the request made. Possible values include: - * 'NoProxy', 'Standard', 'Custom' + * Database type (e.g. SqlAzure / MySql). Possible values include: 'SqlAzure', 'MySql', + * 'LocalMySql', 'PostgreSql' */ - convention?: ForwardProxyConvention; + databaseType: DatabaseType; + name?: string; /** - * The name of the header containing the host of the request. + * Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. + * This is used during restore with overwrite connection strings options. */ - customHostHeaderName?: string; + connectionStringName?: string; /** - * The name of the header containing the scheme of the request. + * Contains a connection string to a database which is being backed up or restored. If the + * restore should happen to a new database, the database name inside is the new one. */ - customProtoHeaderName?: string; + connectionString?: string; } /** - * Function information. + * Backup description. */ -export interface FunctionEnvelope extends ProxyOnlyResource { +export interface BackupItem extends ProxyOnlyResource { /** - * Function App ID. + * Id of the backup. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - functionAppId?: string; + readonly backupId?: number; /** - * Script root path URI. + * SAS URL for the storage account container which contains this backup. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - scriptRootPathHref?: string; + readonly storageAccountUrl?: string; /** - * Script URI. + * Name of the blob which contains data for this backup. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - scriptHref?: string; + readonly blobName?: string; /** - * Config URI. + * Name of this backup. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - configHref?: string; + readonly backupItemName?: string; /** - * Test data URI. + * Backup status. Possible values include: 'InProgress', 'Failed', 'Succeeded', 'TimedOut', + * 'Created', 'Skipped', 'PartiallySucceeded', 'DeleteInProgress', 'DeleteFailed', 'Deleted' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - testDataHref?: string; + readonly status?: BackupItemStatus; /** - * Secrets file URI. + * Size of the backup in bytes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - secretsFileHref?: string; + readonly sizeInBytes?: number; /** - * Function URI. + * Timestamp of the backup creation. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - href?: string; + readonly created?: Date; /** - * Config information. + * Details regarding this backup. Might contain an error message. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - config?: any; + readonly log?: string; /** - * File list. + * List of databases included in the backup. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - files?: { [propertyName: string]: string }; + readonly databases?: DatabaseBackupSetting[]; /** - * Test data used when testing via the Azure Portal. + * True if this backup has been created due to a schedule being triggered. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - testData?: string; + readonly scheduled?: boolean; /** - * The invocation URL + * Timestamp of a last restore operation which used this backup. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - invokeUrlTemplate?: string; + readonly lastRestoreTimeStamp?: Date; /** - * The function language + * Timestamp when this backup finished. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - language?: string; + readonly finishedTimeStamp?: Date; /** - * Gets or sets a value indicating whether the function is disabled + * Unique correlation identifier. Please use this along with the timestamp while communicating + * with Azure support. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - isDisabled?: boolean; + readonly correlationId?: string; + /** + * Size of the original web app which has been backed up. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly websiteSizeInBytes?: number; } /** - * Function secrets. + * Description of a backup schedule. Describes how often should be the backup performed and what + * should be the retention policy. */ -export interface FunctionSecrets { +export interface BackupSchedule { /** - * Secret key. + * How often the backup should be executed (e.g. for weekly backup, this should be set to 7 and + * FrequencyUnit should be set to Day). Default value: 7. */ - key?: string; + frequencyInterval: number; /** - * Trigger URL. + * The unit of time for how often the backup should be executed (e.g. for weekly backup, this + * should be set to Day and FrequencyInterval should be set to 7). Possible values include: + * 'Day', 'Hour'. Default value: 'Day'. */ - triggerUrl?: string; -} - -/** - * The configuration settings of the GitHub provider. - */ -export interface GitHub extends ProxyOnlyResource { + frequencyUnit: FrequencyUnit; /** - * false if the GitHub provider should not be enabled despite the set registration; - * otherwise, true. + * True if the retention policy should always keep at least one backup in the storage account, + * regardless how old it is; false otherwise. Default value: true. */ - enabled?: boolean; + keepAtLeastOneBackup: boolean; /** - * The configuration settings of the app registration for the GitHub provider. + * After how many days backups should be deleted. Default value: 30. */ - registration?: ClientRegistration; + retentionPeriodInDays: number; /** - * The configuration settings of the login flow. + * When the schedule should start working. */ - login?: LoginScopes; + startTime?: Date; + /** + * Last time when this schedule was triggered. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly lastExecutionTime?: Date; } /** - * The GitHub action code configuration. + * Description of a backup which will be performed. */ -export interface GitHubActionCodeConfiguration { +export interface BackupRequest extends ProxyOnlyResource { /** - * Runtime stack is used to determine the workflow file content for code base apps. + * Name of the backup. */ - runtimeStack?: string; + backupName?: string; /** - * Runtime version is used to determine what build version to set in the workflow file. + * True if the backup schedule is enabled (must be included in that case), false if the backup + * schedule should be disabled. */ - runtimeVersion?: string; -} - -/** - * The GitHub action container configuration. - */ -export interface GitHubActionContainerConfiguration { + enabled?: boolean; /** - * The server URL for the container registry where the build will be hosted. + * SAS URL to the container. */ - serverUrl?: string; + storageAccountUrl: string; /** - * The image name for the build. + * Schedule for the backup if it is executed periodically. */ - imageName?: string; + backupSchedule?: BackupSchedule; /** - * The username used to upload the image to the container registry. + * Databases included in the backup. */ - username?: string; + databases?: DatabaseBackupSetting[]; +} + +/** + * The configuration settings of the storage of the tokens if blob storage is used. + */ +export interface BlobStorageTokenStore { /** - * The password used to upload the image to the container registry. + * The name of the app setting containing the SAS URL of the blob storage containing the tokens. */ - password?: string; + sasUrlSettingName?: string; } /** - * The GitHub action configuration. + * The configuration settings of the app registration for providers that have client ids and client + * secrets */ -export interface GitHubActionConfiguration { +export interface ClientRegistration { /** - * GitHub Action code configuration. + * The Client ID of the app used for login. */ - codeConfiguration?: GitHubActionCodeConfiguration; + clientId?: string; /** - * GitHub Action container configuration. + * The app setting name that contains the client secret. */ - containerConfiguration?: GitHubActionContainerConfiguration; + clientSecretSettingName?: string; +} + +/** + * Database connection string value to type pair. + */ +export interface ConnStringValueTypePair { /** - * This will help determine the workflow configuration to select. + * Value of pair. */ - isLinux?: boolean; + value: string; /** - * Workflow option to determine whether the workflow file should be generated and written to the - * repository. + * Type of database. Possible values include: 'MySql', 'SQLServer', 'SQLAzure', 'Custom', + * 'NotificationHub', 'ServiceBus', 'EventHub', 'ApiHub', 'DocDb', 'RedisCache', 'PostgreSQL' */ - generateWorkflowFile?: boolean; + type: ConnectionStringType; } /** - * The configuration settings that determines the validation flow of users using App Service - * Authentication/Authorization. + * String dictionary resource. */ -export interface GlobalValidation { - /** - * true if the authentication flow is required any request is made; otherwise, - * false. - */ - requireAuthentication?: boolean; +export interface ConnectionStringDictionary extends ProxyOnlyResource { /** - * The action to take when an unauthenticated client attempts to access the app. Possible values - * include: 'RedirectToLoginPage', 'AllowAnonymous', 'Return401', 'Return403' + * Connection strings. */ - unauthenticatedClientAction?: UnauthenticatedClientActionV2; - /** - * The default authentication provider to use when multiple providers are configured. - * This setting is only needed if multiple providers are configured and the unauthenticated - * client - * action is set to "RedirectToLoginPage". - */ - redirectToProvider?: string; - /** - * The paths for which unauthenticated flow would not be redirected to the login page. - */ - excludedPaths?: string[]; + properties?: { [propertyName: string]: ConnStringValueTypePair }; } /** - * The configuration settings of the Google provider. + * An interface representing ContainerCpuUsage. */ -export interface Google extends ProxyOnlyResource { - /** - * false if the Google provider should not be enabled despite the set registration; - * otherwise, true. - */ - enabled?: boolean; - /** - * The configuration settings of the app registration for the Google provider. - */ - registration?: ClientRegistration; - /** - * The configuration settings of the login flow. - */ - login?: LoginScopes; - /** - * The configuration settings of the Azure Active Directory token validation flow. - */ - validation?: AllowedAudiencesValidation; +export interface ContainerCpuUsage { + totalUsage?: number; + perCpuUsage?: number[]; + kernelModeUsage?: number; + userModeUsage?: number; } /** - * Functions host level keys. + * An interface representing ContainerThrottlingData. */ -export interface HostKeys { - /** - * Secret key. - */ - masterKey?: string; - /** - * Host level function keys. - */ - functionKeys?: { [propertyName: string]: string }; - /** - * System keys. - */ - systemKeys?: { [propertyName: string]: string }; +export interface ContainerThrottlingData { + periods?: number; + throttledPeriods?: number; + throttledTime?: number; } /** - * A hostname binding object. + * An interface representing ContainerCpuStatistics. */ -export interface HostNameBinding extends ProxyOnlyResource { +export interface ContainerCpuStatistics { + cpuUsage?: ContainerCpuUsage; + systemCpuUsage?: number; + onlineCpuCount?: number; + throttlingData?: ContainerThrottlingData; +} + +/** + * An interface representing ContainerMemoryStatistics. + */ +export interface ContainerMemoryStatistics { + usage?: number; + maxUsage?: number; + limit?: number; +} + +/** + * An interface representing ContainerNetworkInterfaceStatistics. + */ +export interface ContainerNetworkInterfaceStatistics { + rxBytes?: number; + rxPackets?: number; + rxErrors?: number; + rxDropped?: number; + txBytes?: number; + txPackets?: number; + txErrors?: number; + txDropped?: number; +} + +/** + * An interface representing ContainerInfo. + */ +export interface ContainerInfo { + currentTimeStamp?: Date; + previousTimeStamp?: Date; + currentCpuStats?: ContainerCpuStatistics; + previousCpuStats?: ContainerCpuStatistics; + memoryStats?: ContainerMemoryStatistics; + name?: string; + id?: string; + eth0?: ContainerNetworkInterfaceStatistics; +} + +/** + * Continuous Web Job Information. + */ +export interface ContinuousWebJob extends ProxyOnlyResource { /** - * App Service app name. + * Job status. Possible values include: 'Initializing', 'Starting', 'Running', 'PendingRestart', + * 'Stopped' */ - siteName?: string; + status?: ContinuousWebJobStatus; /** - * Fully qualified ARM domain resource URI. + * Detailed status. */ - domainId?: string; + detailedStatus?: string; /** - * Azure resource name. + * Log URL. */ - azureResourceName?: string; + logUrl?: string; /** - * Azure resource type. Possible values include: 'Website', 'TrafficManager' + * Run command. */ - azureResourceType?: AzureResourceType; + runCommand?: string; /** - * Custom DNS record type. Possible values include: 'CName', 'A' + * Job URL. */ - customHostNameDnsRecordType?: CustomHostNameDnsRecordType; + url?: string; /** - * Hostname type. Possible values include: 'Verified', 'Managed' + * Extra Info URL. */ - hostNameType?: HostNameType; + extraInfoUrl?: string; /** - * SSL type. Possible values include: 'Disabled', 'SniEnabled', 'IpBasedEnabled' + * Job type. Possible values include: 'Continuous', 'Triggered' */ - sslState?: SslState; + webJobType?: WebJobType; /** - * SSL certificate thumbprint + * Error information. */ - thumbprint?: string; + error?: string; /** - * Virtual IP address assigned to the hostname if IP based SSL is enabled. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Using SDK? */ - readonly virtualIP?: string; + usingSdk?: boolean; + /** + * Job settings. + */ + settings?: { [propertyName: string]: any }; } /** - * Http logs configuration. + * The configuration settings of the session cookie's expiration. */ -export interface HttpLogsConfig { +export interface CookieExpiration { /** - * Http logs to file system configuration. + * The convention used when determining the session cookie's expiration. Possible values include: + * 'FixedTime', 'IdentityProviderDerived' */ - fileSystem?: FileSystemHttpLogsConfig; + convention?: CookieExpirationConvention; /** - * Http logs to azure blob storage configuration. + * The time after the request is made when the session cookie should expire. */ - azureBlobStorage?: AzureBlobStorageHttpLogsConfig; + timeToExpiration?: string; } /** - * The configuration settings of the paths HTTP requests. + * Publishing Credentials Policies parameters. */ -export interface HttpSettingsRoutes { +export interface CsmPublishingCredentialsPoliciesEntity extends ProxyOnlyResource { /** - * The prefix that should precede all the authentication/authorization paths. + * true to allow access to a publishing method; otherwise, false. */ - apiPrefix?: string; + allow: boolean; } /** - * The configuration settings of the HTTP requests for authentication and authorization requests - * made against App Service Authentication/Authorization. + * Publishing options for requested profile. */ -export interface HttpSettings { - /** - * false if the authentication/authorization responses not having the HTTPS scheme - * are permissible; otherwise, true. - */ - requireHttps?: boolean; +export interface CsmPublishingProfileOptions { /** - * The configuration settings of the paths HTTP requests. + * Name of the format. Valid values are: + * FileZilla3 + * WebDeploy -- default + * Ftp. Possible values include: 'FileZilla3', 'WebDeploy', 'Ftp' */ - routes?: HttpSettingsRoutes; + format?: PublishingProfileFormat; /** - * The configuration settings of a forward proxy used to make the requests. + * Include the DisasterRecover endpoint if true */ - forwardProxy?: ForwardProxy; + includeDisasterRecoveryEndpoints?: boolean; } /** - * The configuration settings of the app registration for the Twitter provider. + * Deployment slot parameters. */ -export interface TwitterRegistration { +export interface CsmSlotEntity { /** - * The OAuth 1.0a consumer key of the Twitter application used for sign-in. - * This setting is required for enabling Twitter Sign-In. - * Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in + * Destination deployment slot during swap operation. */ - consumerKey?: string; + targetSlot: string; /** - * The app setting name that contains the OAuth 1.0a consumer secret of the Twitter - * application used for sign-in. + * true to preserve Virtual Network to the slot during swap; otherwise, + * false. */ - consumerSecretSettingName?: string; + preserveVnet: boolean; } /** - * The configuration settings of the Twitter provider. + * Custom domain analysis. */ -export interface Twitter extends ProxyOnlyResource { +export interface CustomHostnameAnalysisResult extends ProxyOnlyResource { /** - * false if the Twitter provider should not be enabled despite the set registration; - * otherwise, true. + * true if hostname is already verified; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - enabled?: boolean; + readonly isHostnameAlreadyVerified?: boolean; /** - * The configuration settings of the app registration for the Twitter provider. + * DNS verification test result. Possible values include: 'Passed', 'Failed', 'Skipped' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - registration?: TwitterRegistration; -} - -/** - * The configuration settings of the legacy Microsoft Account provider. - */ -export interface LegacyMicrosoftAccount extends ProxyOnlyResource { + readonly customDomainVerificationTest?: DnsVerificationTestResult; /** - * false if the legacy Microsoft Account provider should not be enabled despite the - * set registration; otherwise, true. + * Raw failure information if DNS verification fails. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - enabled?: boolean; + readonly customDomainVerificationFailureInfo?: ErrorEntity; /** - * The configuration settings of the app registration for the legacy Microsoft Account provider. + * true if there is a conflict on a scale unit; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - registration?: ClientRegistration; + readonly hasConflictOnScaleUnit?: boolean; /** - * The configuration settings of the login flow. + * true if there is a conflict across subscriptions; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - login?: LoginScopes; + readonly hasConflictAcrossSubscription?: boolean; /** - * The configuration settings of the legacy Microsoft Account provider token validation flow. + * Name of the conflicting app on scale unit if it's within the same subscription. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - validation?: AllowedAudiencesValidation; -} - -/** - * The configuration settings of each of the identity providers used to configure App Service - * Authentication/Authorization. - */ -export interface IdentityProviders { + readonly conflictingAppResourceId?: string; /** - * The configuration settings of the Azure Active directory provider. + * CName records controller can see for this hostname. */ - azureActiveDirectory?: AzureActiveDirectory; + cNameRecords?: string[]; /** - * The configuration settings of the Facebook provider. - */ - facebook?: Facebook; - /** - * The configuration settings of the GitHub provider. - */ - gitHub?: GitHub; - /** - * The configuration settings of the Google provider. - */ - google?: Google; - /** - * The configuration settings of the Twitter provider. - */ - twitter?: Twitter; - /** - * The map of the name of the alias of each custom Open ID Connect provider to the - * configuration settings of the custom Open ID Connect provider. + * TXT records controller can see for this hostname. */ - customOpenIdConnectProviders?: { [propertyName: string]: CustomOpenIdConnectProvider }; + txtRecords?: string[]; /** - * The configuration settings of the legacy Microsoft Account provider. + * A records controller can see for this hostname. */ - legacyMicrosoftAccount?: LegacyMicrosoftAccount; + aRecords?: string[]; /** - * The configuration settings of the Apple provider. + * Alternate CName records controller can see for this hostname. */ - apple?: Apple; + alternateCNameRecords?: string[]; /** - * The configuration settings of the Azure Static Web Apps provider. + * Alternate TXT records controller can see for this hostname. */ - azureStaticWebApps?: AzureStaticWebApps; + alternateTxtRecords?: string[]; } /** - * Function key info. + * The authentication client credentials of the custom Open ID Connect provider. */ -export interface KeyInfo { +export interface OpenIdConnectClientCredential { /** - * Key name + * The method that should be used to authenticate the user. Possible values include: + * 'ClientSecretPost' */ - name?: string; + method?: ClientCredentialMethod; /** - * Key value + * The app setting that contains the client secret for the custom Open ID Connect provider. */ - value?: string; + clientSecretSettingName?: string; } /** - * The routes that specify the endpoints used for login and logout requests. + * The configuration settings of the endpoints used for the custom Open ID Connect provider. */ -export interface LoginRoutes { +export interface OpenIdConnectConfig { /** - * The endpoint at which a logout request should be made. + * The endpoint to be used to make an authorization request. */ - logoutEndpoint?: string; + authorizationEndpoint?: string; + /** + * The endpoint to be used to request a token. + */ + tokenEndpoint?: string; + /** + * The endpoint that issues the token. + */ + issuer?: string; + /** + * The endpoint that provides the keys necessary to validate the token. + */ + certificationUri?: string; + /** + * The endpoint that contains all the configuration endpoints for the provider. + */ + wellKnownOpenIdConfiguration?: string; } /** - * The configuration settings of the token store. + * The configuration settings of the app registration for the custom Open ID Connect provider. */ -export interface TokenStore { - /** - * true to durably store platform-specific security tokens that are obtained during - * login flows; otherwise, false. - * The default is false. - */ - enabled?: boolean; +export interface OpenIdConnectRegistration { /** - * The number of hours after session token expiration that a session token can be used to - * call the token refresh API. The default is 72 hours. + * The client id of the custom Open ID Connect provider. */ - tokenRefreshExtensionHours?: number; + clientId?: string; /** - * The configuration settings of the storage of the tokens if a file system is used. + * The authentication credentials of the custom Open ID Connect provider. */ - fileSystem?: FileSystemTokenStore; + clientCredential?: OpenIdConnectClientCredential; /** - * The configuration settings of the storage of the tokens if blob storage is used. + * The configuration settings of the endpoints used for the custom Open ID Connect provider. */ - azureBlobStorage?: BlobStorageTokenStore; + openIdConnectConfiguration?: OpenIdConnectConfig; } /** - * The configuration settings of the nonce used in the login flow. + * The configuration settings of the login flow of the custom Open ID Connect provider. */ -export interface Nonce { +export interface OpenIdConnectLogin { /** - * false if the nonce should not be validated while completing the login flow; - * otherwise, true. + * The name of the claim that contains the users name. */ - validateNonce?: boolean; + nameClaimType?: string; /** - * The time after the request is made when the nonce should expire. + * A list of the scopes that should be requested while authenticating. */ - nonceExpirationInterval?: string; + scopes?: string[]; } /** - * The configuration settings of the login flow of users using App Service - * Authentication/Authorization. + * The configuration settings of the custom Open ID Connect provider. */ -export interface Login { +export interface CustomOpenIdConnectProvider { /** - * The routes that specify the endpoints used for login and logout requests. + * false if the custom Open ID provider provider should not be enabled; otherwise, + * true. */ - routes?: LoginRoutes; + enabled?: boolean; /** - * The configuration settings of the token store. + * The configuration settings of the app registration for the custom Open ID Connect provider. */ - tokenStore?: TokenStore; + registration?: OpenIdConnectRegistration; /** - * true if the fragments from the request are preserved after the login request is - * made; otherwise, false. + * The configuration settings of the login flow of the custom Open ID Connect provider. */ - preserveUrlFragmentsForLogins?: boolean; + login?: OpenIdConnectLogin; +} + +/** + * Details about restoring a deleted app. + */ +export interface DeletedAppRestoreRequest extends ProxyOnlyResource { /** - * External URLs that can be redirected to as part of logging in or logging out of the app. Note - * that the query string part of the URL is ignored. - * This is an advanced setting typically only needed by Windows Store application backends. - * Note that URLs within the current domain are always implicitly allowed. + * ARM resource ID of the deleted app. Example: + * /subscriptions/{subId}/providers/Microsoft.Web/deletedSites/{deletedSiteId} */ - allowedExternalRedirectUrls?: string[]; + deletedSiteId?: string; /** - * The configuration settings of the session cookie's expiration. + * If true, deleted site configuration, in addition to content, will be restored. */ - cookieExpiration?: CookieExpiration; + recoverConfiguration?: boolean; /** - * The configuration settings of the nonce used in the login flow. + * Point in time to restore the deleted app from, formatted as a DateTime string. + * If unspecified, default value is the time that the app was deleted. */ - nonce?: Nonce; + snapshotTime?: string; + /** + * If true, the snapshot is retrieved from DRSecondary endpoint. + */ + useDRSecondary?: boolean; } /** - * MSDeploy ARM PUT information + * User credentials used for publishing activity. */ -export interface MSDeploy extends ProxyOnlyResource { - /** - * Package URI - */ - packageUri?: string; +export interface Deployment extends ProxyOnlyResource { /** - * SQL Connection String + * Deployment status. */ - connectionString?: string; + status?: number; /** - * Database Type + * Details about deployment status. */ - dbType?: string; + message?: string; /** - * URI of MSDeploy Parameters file. Must not be set if SetParameters is used. + * Who authored the deployment. */ - setParametersXmlFileUri?: string; + author?: string; /** - * MSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used. + * Who performed the deployment. */ - setParameters?: { [propertyName: string]: string }; + deployer?: string; /** - * Controls whether the MSDeploy operation skips the App_Data directory. - * If set to true, the existing App_Data directory on the destination - * will not be deleted, and any App_Data directory in the source will be ignored. - * Setting is false by default. + * Author email. */ - skipAppData?: boolean; + authorEmail?: string; /** - * Sets the AppOffline rule while the MSDeploy operation executes. - * Setting is false by default. + * Start time. */ - appOffline?: boolean; -} - -/** - * MSDeploy log entry - */ -export interface MSDeployLogEntry { + startTime?: Date; /** - * Timestamp of log entry - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * End time. */ - readonly time?: Date; + endTime?: Date; /** - * Log entry type. Possible values include: 'Message', 'Warning', 'Error' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * True if deployment is currently active, false if completed and null if not started. */ - readonly type?: MSDeployLogEntryType; + active?: boolean; /** - * Log entry message - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Details on deployment. */ - readonly message?: string; + details?: string; } /** - * MSDeploy log + * Enabled configuration. */ -export interface MSDeployLog extends ProxyOnlyResource { +export interface EnabledConfig { /** - * List of log entry messages - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * True if configuration is enabled, false if it is disabled and null if configuration is not + * set. */ - readonly entries?: MSDeployLogEntry[]; + enabled?: boolean; } /** - * MSDeploy ARM response + * The configuration settings of the Facebook provider. */ -export interface MSDeployStatus extends ProxyOnlyResource { - /** - * Username of deployer - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly deployer?: string; +export interface Facebook { /** - * Provisioning state. Possible values include: 'accepted', 'running', 'succeeded', 'failed', - * 'canceled' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * false if the Facebook provider should not be enabled despite the set + * registration; otherwise, true. */ - readonly provisioningState?: MSDeployProvisioningState; + enabled?: boolean; /** - * Start time of deploy operation - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The configuration settings of the app registration for the Facebook provider. */ - readonly startTime?: Date; + registration?: AppRegistration; /** - * End time of deploy operation - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The version of the Facebook api to be used while logging in. */ - readonly endTime?: Date; + graphApiVersion?: string; /** - * Whether the deployment operation has completed - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The configuration settings of the login flow. */ - readonly complete?: boolean; + login?: LoginScopes; } /** - * MySQL migration request. + * Http logs to file system configuration. */ -export interface MigrateMySqlRequest extends ProxyOnlyResource { +export interface FileSystemHttpLogsConfig { /** - * Connection string to the remote MySQL database. - */ - connectionString: string; - /** - * The type of migration operation to be done. Possible values include: 'LocalToRemote', - * 'RemoteToLocal' - */ - migrationType: MySqlMigrationType; -} - -/** - * MySQL migration status. - */ -export interface MigrateMySqlStatus extends ProxyOnlyResource { - /** - * Status of the migration task. Possible values include: 'InProgress', 'Failed', 'Succeeded', - * 'TimedOut', 'Created' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Maximum size in megabytes that http log files can use. + * When reached old log files will be removed to make space for new ones. + * Value can range between 25 and 100. */ - readonly migrationOperationStatus?: OperationStatus; + retentionInMb?: number; /** - * Operation ID for the migration task. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Retention in days. + * Remove files older than X days. + * 0 or lower means no retention. */ - readonly operationId?: string; + retentionInDays?: number; /** - * True if the web app has in app MySql enabled - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * True if configuration is enabled, false if it is disabled and null if configuration is not + * set. */ - readonly localMySqlEnabled?: boolean; + enabled?: boolean; } /** - * Hybrid Connection for an App Service app. + * The configuration settings of the storage of the tokens if a file system is used. */ -export interface RelayServiceConnectionEntity extends ProxyOnlyResource { - entityName?: string; - entityConnectionString?: string; - resourceType?: string; - resourceConnectionString?: string; - hostname?: string; - port?: number; - biztalkUri?: string; +export interface FileSystemTokenStore { + /** + * The directory in which the tokens will be stored. + */ + directory?: string; } /** - * Full view of network features for an app (presently VNET integration and Hybrid Connections). + * The configuration settings of a forward proxy used to make the requests. */ -export interface NetworkFeatures extends ProxyOnlyResource { - /** - * The Virtual Network name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly virtualNetworkName?: string; +export interface ForwardProxy { /** - * The Virtual Network summary view. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The convention used to determine the url of the request made. Possible values include: + * 'NoProxy', 'Standard', 'Custom' */ - readonly virtualNetworkConnection?: VnetInfo; + convention?: ForwardProxyConvention; /** - * The Hybrid Connections summary view. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The name of the header containing the host of the request. */ - readonly hybridConnections?: RelayServiceConnectionEntity[]; + customHostHeaderName?: string; /** - * The Hybrid Connection V2 (Service Bus) view. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The name of the header containing the scheme of the request. */ - readonly hybridConnectionsV2?: HybridConnection[]; + customProtoHeaderName?: string; } /** - * Network trace + * Function information. */ -export interface NetworkTrace { - /** - * Local file path for the captured network trace file. - */ - path?: string; +export interface FunctionEnvelope extends ProxyOnlyResource { /** - * Current status of the network trace operation, same as Operation.Status - * (InProgress/Succeeded/Failed). + * Function App ID. */ - status?: string; + functionAppId?: string; /** - * Detailed message of a network trace operation, e.g. error message in case of failure. + * Script root path URI. */ - message?: string; -} - -/** - * Performance monitor sample in a set. - */ -export interface PerfMonSample { + scriptRootPathHref?: string; /** - * Point in time for which counter was measured. + * Script URI. */ - time?: Date; + scriptHref?: string; /** - * Name of the server on which the measurement is made. + * Config URI. */ - instanceName?: string; + configHref?: string; /** - * Value of counter at a certain time. + * Test data URI. */ - value?: number; -} - -/** - * Metric information. - */ -export interface PerfMonSet { + testDataHref?: string; /** - * Unique key name of the counter. + * Secrets file URI. */ - name?: string; + secretsFileHref?: string; /** - * Start time of the period. + * Function URI. */ - startTime?: Date; + href?: string; /** - * End time of the period. + * Config information. */ - endTime?: Date; + config?: any; /** - * Presented time grain. + * File list. */ - timeGrain?: string; + files?: { [propertyName: string]: string }; /** - * Collection of workers that are active during this time. + * Test data used when testing via the Azure Portal. */ - values?: PerfMonSample[]; -} - -/** - * Performance monitor API response. - */ -export interface PerfMonResponse { + testData?: string; /** - * The response code. + * The invocation URL */ - code?: string; + invokeUrlTemplate?: string; /** - * The message. + * The function language */ - message?: string; + language?: string; /** - * The performance monitor counters. + * Gets or sets a value indicating whether the function is disabled */ - data?: PerfMonSet; + isDisabled?: boolean; } /** - * Premier add-on. + * Function secrets. */ -export interface PremierAddOn extends Resource { - /** - * Premier add on SKU. - */ - sku?: string; - /** - * Premier add on Product. - */ - product?: string; - /** - * Premier add on Vendor. - */ - vendor?: string; +export interface FunctionSecrets { /** - * Premier add on Marketplace publisher. + * Secret key. */ - marketplacePublisher?: string; + key?: string; /** - * Premier add on Marketplace offer. + * Trigger URL. */ - marketplaceOffer?: string; + triggerUrl?: string; } /** - * ARM resource for a PremierAddOn. + * The configuration settings of the GitHub provider. */ -export interface PremierAddOnPatchResource extends ProxyOnlyResource { - /** - * Premier add on SKU. - */ - sku?: string; - /** - * Premier add on Product. - */ - product?: string; +export interface GitHub { /** - * Premier add on Vendor. + * false if the GitHub provider should not be enabled despite the set registration; + * otherwise, true. */ - vendor?: string; + enabled?: boolean; /** - * Premier add on Marketplace publisher. + * The configuration settings of the app registration for the GitHub provider. */ - marketplacePublisher?: string; + registration?: ClientRegistration; /** - * Premier add on Marketplace offer. + * The configuration settings of the login flow. */ - marketplaceOffer?: string; + login?: LoginScopes; } /** - * Description of a Virtual Network subnet that is useable for private site access. + * The GitHub action code configuration. */ -export interface PrivateAccessSubnet { +export interface GitHubActionCodeConfiguration { /** - * The name of the subnet. + * Runtime stack is used to determine the workflow file content for code base apps. */ - name?: string; + runtimeStack?: string; /** - * The key (ID) of the subnet. + * Runtime version is used to determine what build version to set in the workflow file. */ - key?: number; + runtimeVersion?: string; } /** - * Description of a Virtual Network that is useable for private site access. + * The GitHub action container configuration. */ -export interface PrivateAccessVirtualNetwork { +export interface GitHubActionContainerConfiguration { /** - * The name of the Virtual Network. + * The server URL for the container registry where the build will be hosted. */ - name?: string; + serverUrl?: string; /** - * The key (ID) of the Virtual Network. + * The image name for the build. */ - key?: number; + imageName?: string; /** - * The ARM uri of the Virtual Network + * The username used to upload the image to the container registry. */ - resourceId?: string; + username?: string; /** - * A List of subnets that access is allowed to on this Virtual Network. An empty array (but not - * null) is interpreted to mean that all subnets are allowed within this Virtual Network. + * The password used to upload the image to the container registry. */ - subnets?: PrivateAccessSubnet[]; + password?: string; } /** - * Description of the parameters of Private Access for a Web Site. + * The GitHub action configuration. */ -export interface PrivateAccess extends ProxyOnlyResource { +export interface GitHubActionConfiguration { /** - * Whether private access is enabled or not. + * GitHub Action code configuration. */ - enabled?: boolean; + codeConfiguration?: GitHubActionCodeConfiguration; /** - * The Virtual Networks (and subnets) allowed to access the site privately. + * GitHub Action container configuration. */ - virtualNetworks?: PrivateAccessVirtualNetwork[]; -} - -/** - * Process Thread Information. - */ -export interface ProcessThreadInfo extends ProxyOnlyResource { + containerConfiguration?: GitHubActionContainerConfiguration; /** - * Site extension ID. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * This will help determine the workflow configuration to select. */ - readonly identifier?: number; + isLinux?: boolean; /** - * HRef URI. + * Workflow option to determine whether the workflow file should be generated and written to the + * repository. */ - href?: string; + generateWorkflowFile?: boolean; +} + +/** + * The configuration settings that determines the validation flow of users using App Service + * Authentication/Authorization. + */ +export interface GlobalValidation { /** - * Process URI. + * true if the authentication flow is required any request is made; otherwise, + * false. */ - process?: string; + requireAuthentication?: boolean; /** - * Start address. + * The action to take when an unauthenticated client attempts to access the app. Possible values + * include: 'RedirectToLoginPage', 'AllowAnonymous', 'Return401', 'Return403' */ - startAddress?: string; + unauthenticatedClientAction?: UnauthenticatedClientActionV2; /** - * Current thread priority. + * The default authentication provider to use when multiple providers are configured. + * This setting is only needed if multiple providers are configured and the unauthenticated + * client + * action is set to "RedirectToLoginPage". */ - currentPriority?: number; + redirectToProvider?: string; /** - * Thread priority level. + * The paths for which unauthenticated flow would not be redirected to the login page. */ - priorityLevel?: string; + excludedPaths?: string[]; +} + +/** + * The configuration settings of the Google provider. + */ +export interface Google { /** - * Base priority. + * false if the Google provider should not be enabled despite the set registration; + * otherwise, true. */ - basePriority?: number; + enabled?: boolean; /** - * Start time. + * The configuration settings of the app registration for the Google provider. */ - startTime?: Date; + registration?: ClientRegistration; /** - * Total processor time. + * The configuration settings of the login flow. */ - totalProcessorTime?: string; + login?: LoginScopes; /** - * User processor time. + * The configuration settings of the Azure Active Directory token validation flow. */ - userProcessorTime?: string; + validation?: AllowedAudiencesValidation; +} + +/** + * Functions host level keys. + */ +export interface HostKeys { /** - * Thread state. + * Secret key. */ - state?: string; + masterKey?: string; /** - * Wait reason. + * Host level function keys. */ - waitReason?: string; + functionKeys?: { [propertyName: string]: string }; + /** + * System keys. + */ + systemKeys?: { [propertyName: string]: string }; } /** - * Process Module Information. + * Http logs configuration. */ -export interface ProcessModuleInfo extends ProxyOnlyResource { - /** - * Base address. Used as module identifier in ARM resource URI. - */ - baseAddress?: string; +export interface HttpLogsConfig { /** - * File name. + * Http logs to file system configuration. */ - fileName?: string; + fileSystem?: FileSystemHttpLogsConfig; /** - * HRef URI. + * Http logs to azure blob storage configuration. */ - href?: string; + azureBlobStorage?: AzureBlobStorageHttpLogsConfig; +} + +/** + * The configuration settings of the paths HTTP requests. + */ +export interface HttpSettingsRoutes { /** - * File path. + * The prefix that should precede all the authentication/authorization paths. */ - filePath?: string; + apiPrefix?: string; +} + +/** + * The configuration settings of the HTTP requests for authentication and authorization requests + * made against App Service Authentication/Authorization. + */ +export interface HttpSettings { /** - * Module memory size. + * false if the authentication/authorization responses not having the HTTPS scheme + * are permissible; otherwise, true. */ - moduleMemorySize?: number; + requireHttps?: boolean; /** - * File version. + * The configuration settings of the paths HTTP requests. */ - fileVersion?: string; + routes?: HttpSettingsRoutes; /** - * File description. + * The configuration settings of a forward proxy used to make the requests. */ - fileDescription?: string; + forwardProxy?: ForwardProxy; +} + +/** + * The configuration settings of the legacy Microsoft Account provider. + */ +export interface LegacyMicrosoftAccount { /** - * Product name. + * false if the legacy Microsoft Account provider should not be enabled despite the + * set registration; otherwise, true. */ - product?: string; + enabled?: boolean; /** - * Product version. + * The configuration settings of the app registration for the legacy Microsoft Account provider. */ - productVersion?: string; + registration?: ClientRegistration; /** - * Is debug? + * The configuration settings of the login flow. */ - isDebug?: boolean; + login?: LoginScopes; /** - * Module language (locale). + * The configuration settings of the legacy Microsoft Account provider token validation flow. */ - language?: string; + validation?: AllowedAudiencesValidation; } /** - * Process Information. + * The configuration settings of the app registration for the Twitter provider. */ -export interface ProcessInfo extends ProxyOnlyResource { +export interface TwitterRegistration { /** - * ARM Identifier for deployment. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The OAuth 1.0a consumer key of the Twitter application used for sign-in. + * This setting is required for enabling Twitter Sign-In. + * Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in */ - readonly identifier?: number; + consumerKey?: string; /** - * Deployment name. + * The app setting name that contains the OAuth 1.0a consumer secret of the Twitter + * application used for sign-in. */ - deploymentName?: string; + consumerSecretSettingName?: string; +} + +/** + * The configuration settings of the Twitter provider. + */ +export interface Twitter { /** - * HRef URI. + * false if the Twitter provider should not be enabled despite the set registration; + * otherwise, true. */ - href?: string; + enabled?: boolean; /** - * Minidump URI. + * The configuration settings of the app registration for the Twitter provider. */ - minidump?: string; + registration?: TwitterRegistration; +} + +/** + * The configuration settings of each of the identity providers used to configure App Service + * Authentication/Authorization. + */ +export interface IdentityProviders { /** - * Is profile running? + * The configuration settings of the Azure Active directory provider. */ - isProfileRunning?: boolean; + azureActiveDirectory?: AzureActiveDirectory; /** - * Is the IIS Profile running? + * The configuration settings of the Facebook provider. */ - isIisProfileRunning?: boolean; + facebook?: Facebook; /** - * IIS Profile timeout (seconds). + * The configuration settings of the GitHub provider. */ - iisProfileTimeoutInSeconds?: number; + gitHub?: GitHub; /** - * Parent process. + * The configuration settings of the Google provider. */ - parent?: string; + google?: Google; /** - * Child process list. + * The configuration settings of the legacy Microsoft Account provider. */ - children?: string[]; + legacyMicrosoftAccount?: LegacyMicrosoftAccount; /** - * Thread list. + * The configuration settings of the Twitter provider. */ - threads?: ProcessThreadInfo[]; + twitter?: Twitter; /** - * List of open files. + * The configuration settings of the Apple provider. */ - openFileHandles?: string[]; + apple?: Apple; /** - * List of modules. + * The configuration settings of the Azure Static Web Apps provider. */ - modules?: ProcessModuleInfo[]; + azureStaticWebApps?: AzureStaticWebApps; /** - * File name of this process. + * The map of the name of the alias of each custom Open ID Connect provider to the + * configuration settings of the custom Open ID Connect provider. */ - fileName?: string; + customOpenIdConnectProviders?: { [propertyName: string]: CustomOpenIdConnectProvider }; +} + +/** + * Function key info. + */ +export interface KeyInfo { /** - * Command line. + * Key name */ - commandLine?: string; + name?: string; /** - * User name. + * Key value */ - userName?: string; + value?: string; +} + +/** + * The routes that specify the endpoints used for login and logout requests. + */ +export interface LoginRoutes { /** - * Handle count. + * The endpoint at which a logout request should be made. */ - handleCount?: number; + logoutEndpoint?: string; +} + +/** + * The configuration settings of the token store. + */ +export interface TokenStore { /** - * Module count. + * true to durably store platform-specific security tokens that are obtained during + * login flows; otherwise, false. + * The default is false. */ - moduleCount?: number; + enabled?: boolean; /** - * Thread count. + * The number of hours after session token expiration that a session token can be used to + * call the token refresh API. The default is 72 hours. */ - threadCount?: number; + tokenRefreshExtensionHours?: number; /** - * Start time. - */ - startTime?: Date; - /** - * Total CPU time. + * The configuration settings of the storage of the tokens if a file system is used. */ - totalCpuTime?: string; + fileSystem?: FileSystemTokenStore; /** - * User CPU time. + * The configuration settings of the storage of the tokens if blob storage is used. */ - userCpuTime?: string; + azureBlobStorage?: BlobStorageTokenStore; +} + +/** + * The configuration settings of the nonce used in the login flow. + */ +export interface Nonce { /** - * Privileged CPU time. + * false if the nonce should not be validated while completing the login flow; + * otherwise, true. */ - privilegedCpuTime?: string; + validateNonce?: boolean; /** - * Working set. + * The time after the request is made when the nonce should expire. */ - workingSet?: number; + nonceExpirationInterval?: string; +} + +/** + * The configuration settings of the login flow of users using App Service + * Authentication/Authorization. + */ +export interface Login { /** - * Peak working set. + * The routes that specify the endpoints used for login and logout requests. */ - peakWorkingSet?: number; + routes?: LoginRoutes; /** - * Private memory size. + * The configuration settings of the token store. */ - privateMemory?: number; + tokenStore?: TokenStore; /** - * Virtual memory size. + * true if the fragments from the request are preserved after the login request is + * made; otherwise, false. */ - virtualMemory?: number; + preserveUrlFragmentsForLogins?: boolean; /** - * Peak virtual memory usage. + * External URLs that can be redirected to as part of logging in or logging out of the app. Note + * that the query string part of the URL is ignored. + * This is an advanced setting typically only needed by Windows Store application backends. + * Note that URLs within the current domain are always implicitly allowed. */ - peakVirtualMemory?: number; + allowedExternalRedirectUrls?: string[]; /** - * Paged system memory. + * The configuration settings of the session cookie's expiration. */ - pagedSystemMemory?: number; + cookieExpiration?: CookieExpiration; /** - * Non-paged system memory. + * The configuration settings of the nonce used in the login flow. */ - nonPagedSystemMemory?: number; + nonce?: Nonce; +} + +/** + * MSDeploy ARM PUT information + */ +export interface MSDeploy extends ProxyOnlyResource { /** - * Paged memory. + * Package URI */ - pagedMemory?: number; + packageUri?: string; /** - * Peak paged memory. + * SQL Connection String */ - peakPagedMemory?: number; + connectionString?: string; /** - * Time stamp. + * Database Type */ - timeStamp?: Date; + dbType?: string; /** - * List of environment variables. + * URI of MSDeploy Parameters file. Must not be set if SetParameters is used. */ - environmentVariables?: { [propertyName: string]: string }; + setParametersXmlFileUri?: string; /** - * Is this the SCM site? + * MSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used. */ - isScmSite?: boolean; + setParameters?: { [propertyName: string]: string }; /** - * Is this a Web Job? + * Controls whether the MSDeploy operation skips the App_Data directory. + * If set to true, the existing App_Data directory on the destination + * will not be deleted, and any App_Data directory in the source will be ignored. + * Setting is false by default. */ - isWebjob?: boolean; + skipAppData?: boolean; /** - * Description of process. + * Sets the AppOffline rule while the MSDeploy operation executes. + * Setting is false by default. */ - description?: string; + appOffline?: boolean; } /** - * Public certificate object + * MSDeploy log entry */ -export interface PublicCertificate extends ProxyOnlyResource { +export interface MSDeployLogEntry { /** - * Public Certificate byte array + * Timestamp of log entry + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - blob?: Uint8Array; + readonly time?: Date; /** - * Public Certificate Location. Possible values include: 'CurrentUserMy', 'LocalMachineMy', - * 'Unknown' + * Log entry type. Possible values include: 'Message', 'Warning', 'Error' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - publicCertificateLocation?: PublicCertificateLocation; + readonly type?: MSDeployLogEntryType; /** - * Certificate Thumbprint + * Log entry message * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly thumbprint?: string; + readonly message?: string; } /** - * Description of a restore request. + * MSDeploy log */ -export interface RestoreRequest extends ProxyOnlyResource { +export interface MSDeployLog extends ProxyOnlyResource { /** - * SAS URL to the container. + * List of log entry messages + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - storageAccountUrl: string; + readonly entries?: MSDeployLogEntry[]; +} + +/** + * MSDeploy ARM response + */ +export interface MSDeployStatus extends ProxyOnlyResource { /** - * Name of a blob which contains the backup. + * Username of deployer + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - blobName?: string; + readonly deployer?: string; /** - * true if the restore operation can overwrite target app; otherwise, - * false. true is needed if trying to restore over an existing app. + * Provisioning state. Possible values include: 'accepted', 'running', 'succeeded', 'failed', + * 'canceled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - overwrite: boolean; + readonly provisioningState?: MSDeployProvisioningState; /** - * Name of an app. + * Start time of deploy operation + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - siteName?: string; + readonly startTime?: Date; /** - * Collection of databases which should be restored. This list has to match the list of databases - * included in the backup. + * End time of deploy operation + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - databases?: DatabaseBackupSetting[]; + readonly endTime?: Date; /** - * Changes a logic when restoring an app with custom domains. true to remove custom - * domains automatically. If false, custom domains are added to - * the app's object when it is being restored, but that might fail due to conflicts during the - * operation. Default value: false. + * Whether the deployment operation has completed + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - ignoreConflictingHostNames?: boolean; + readonly complete?: boolean; +} + +/** + * MySQL migration request. + */ +export interface MigrateMySqlRequest extends ProxyOnlyResource { /** - * Ignore the databases and only restore the site content. Default value: false. + * Connection string to the remote MySQL database. */ - ignoreDatabases?: boolean; + connectionString: string; /** - * Specify app service plan that will own restored site. + * The type of migration operation to be done. Possible values include: 'LocalToRemote', + * 'RemoteToLocal' */ - appServicePlan?: string; + migrationType: MySqlMigrationType; +} + +/** + * MySQL migration status. + */ +export interface MigrateMySqlStatus extends ProxyOnlyResource { /** - * Operation type. Possible values include: 'Default', 'Clone', 'Relocation', 'Snapshot', - * 'CloudFS'. Default value: 'Default'. + * Status of the migration task. Possible values include: 'InProgress', 'Failed', 'Succeeded', + * 'TimedOut', 'Created' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - operationType?: BackupRestoreOperationType; + readonly migrationOperationStatus?: OperationStatus; /** - * true if SiteConfig.ConnectionStrings should be set in new app; otherwise, - * false. + * Operation ID for the migration task. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - adjustConnectionStrings?: boolean; + readonly operationId?: string; /** - * App Service Environment name, if needed (only when restoring an app to an App Service - * Environment). + * True if the web app has in app MySql enabled + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - hostingEnvironment?: string; + readonly localMySqlEnabled?: boolean; } /** - * Configuration settings for the Azure App Service Authentication / Authorization feature. + * Hybrid Connection for an App Service app. */ -export interface SiteAuthSettings extends ProxyOnlyResource { +export interface RelayServiceConnectionEntity extends ProxyOnlyResource { + entityName?: string; + entityConnectionString?: string; + resourceType?: string; + resourceConnectionString?: string; + hostname?: string; + port?: number; + biztalkUri?: string; +} + +/** + * Full view of network features for an app (presently VNET integration and Hybrid Connections). + */ +export interface NetworkFeatures extends ProxyOnlyResource { /** - * true if the Authentication / Authorization feature is enabled for the current - * app; otherwise, false. + * The Virtual Network name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - enabled?: boolean; + readonly virtualNetworkName?: string; /** - * The RuntimeVersion of the Authentication / Authorization feature in use for the current app. - * The setting in this value can control the behavior of certain features in the Authentication / - * Authorization module. + * The Virtual Network summary view. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - runtimeVersion?: string; + readonly virtualNetworkConnection?: VnetInfo; /** - * The action to take when an unauthenticated client attempts to access the app. Possible values - * include: 'RedirectToLoginPage', 'AllowAnonymous' + * The Hybrid Connections summary view. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - unauthenticatedClientAction?: UnauthenticatedClientAction; + readonly hybridConnections?: RelayServiceConnectionEntity[]; /** - * true to durably store platform-specific security tokens that are obtained during - * login flows; otherwise, false. - * The default is false. + * The Hybrid Connection V2 (Service Bus) view. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - tokenStoreEnabled?: boolean; + readonly hybridConnectionsV2?: HybridConnection[]; +} + +/** + * Network trace + */ +export interface NetworkTrace { /** - * External URLs that can be redirected to as part of logging in or logging out of the app. Note - * that the query string part of the URL is ignored. - * This is an advanced setting typically only needed by Windows Store application backends. - * Note that URLs within the current domain are always implicitly allowed. - */ - allowedExternalRedirectUrls?: string[]; - /** - * The default authentication provider to use when multiple providers are configured. - * 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', 'Github' - */ - defaultProvider?: BuiltInAuthenticationProvider; - /** - * The number of hours after session token expiration that a session token can be used to - * call the token refresh API. The default is 72 hours. + * Local file path for the captured network trace file. */ - tokenRefreshExtensionHours?: number; + path?: string; /** - * The Client ID of this relying party application, known as the client_id. - * This setting is required for enabling OpenID Connection authentication with Azure Active - * Directory or - * other 3rd party OpenID Connect providers. - * More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html + * Current status of the network trace operation, same as Operation.Status + * (InProgress/Succeeded/Failed). */ - clientId?: string; + status?: string; /** - * The Client Secret of this relying party application (in Azure Active Directory, this is also - * referred to as the Key). - * This setting is optional. If no client secret is configured, the OpenID Connect implicit auth - * flow is used to authenticate end users. - * Otherwise, the OpenID Connect Authorization Code Flow is used to authenticate end users. - * More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html + * Detailed message of a network trace operation, e.g. error message in case of failure. */ - clientSecret?: string; + message?: string; +} + +/** + * Performance monitor sample in a set. + */ +export interface PerfMonSample { /** - * The app setting name that contains the client secret of the relying party application. + * Point in time for which counter was measured. */ - clientSecretSettingName?: string; + time?: Date; /** - * An alternative to the client secret, that is the thumbprint of a certificate used for signing - * purposes. This property acts as - * a replacement for the Client Secret. It is also optional. + * Name of the server on which the measurement is made. */ - clientSecretCertificateThumbprint?: string; + instanceName?: string; /** - * The OpenID Connect Issuer URI that represents the entity which issues access tokens for this - * application. - * When using Azure Active Directory, this value is the URI of the directory tenant, e.g. - * https://sts.windows.net/{tenant-guid}/. - * This URI is a case-sensitive identifier for the token issuer. - * More information on OpenID Connect Discovery: - * http://openid.net/specs/openid-connect-discovery-1_0.html + * Value of counter at a certain time. */ - issuer?: string; + value?: number; +} + +/** + * Metric information. + */ +export interface PerfMonSet { /** - * Gets a value indicating whether the issuer should be a valid HTTPS url and be validated as - * such. + * Unique key name of the counter. */ - validateIssuer?: boolean; + name?: string; /** - * Allowed audience values to consider when validating JWTs issued by - * Azure Active Directory. Note that the ClientID value is always considered an - * allowed audience, regardless of this setting. + * Start time of the period. */ - allowedAudiences?: string[]; + startTime?: Date; /** - * Login parameters to send to the OpenID Connect authorization endpoint when - * a user logs in. Each parameter must be in the form "key=value". + * End time of the period. */ - additionalLoginParams?: string[]; + endTime?: Date; /** - * Gets a JSON string containing the Azure AD Acl settings. + * Presented time grain. */ - aadClaimsAuthorization?: string; + timeGrain?: string; /** - * The OpenID Connect Client ID for the Google web application. - * This setting is required for enabling Google Sign-In. - * Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/ + * Collection of workers that are active during this time. */ - googleClientId?: string; + values?: PerfMonSample[]; +} + +/** + * Performance monitor API response. + */ +export interface PerfMonResponse { /** - * The client secret associated with the Google web application. - * This setting is required for enabling Google Sign-In. - * Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/ + * The response code. */ - googleClientSecret?: string; + code?: string; /** - * The app setting name that contains the client secret associated with - * the Google web application. + * The message. */ - googleClientSecretSettingName?: string; + message?: 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 - * default scopes. - * Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/ + * The performance monitor counters. */ - googleOAuthScopes?: string[]; + data?: PerfMonSet; +} + +/** + * Premier add-on. + */ +export interface PremierAddOn extends Resource { /** - * The App ID of the Facebook app used for login. - * This setting is required for enabling Facebook Login. - * Facebook Login documentation: https://developers.facebook.com/docs/facebook-login + * Premier add on SKU. */ - facebookAppId?: string; + sku?: string; /** - * The App Secret of the Facebook app used for Facebook Login. - * This setting is required for enabling Facebook Login. - * Facebook Login documentation: https://developers.facebook.com/docs/facebook-login + * Premier add on Product. */ - facebookAppSecret?: string; + product?: string; /** - * The app setting name that contains the app secret used for Facebook Login. + * Premier add on Vendor. */ - facebookAppSecretSettingName?: string; + vendor?: 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 + * Premier add on Marketplace publisher. */ - facebookOAuthScopes?: string[]; + marketplacePublisher?: string; /** - * The Client Id of the GitHub app used for login. - * This setting is required for enabling Github login + * Premier add on Marketplace offer. */ - gitHubClientId?: string; + marketplaceOffer?: string; +} + +/** + * ARM resource for a PremierAddOn. + */ +export interface PremierAddOnPatchResource extends ProxyOnlyResource { /** - * The Client Secret of the GitHub app used for Github Login. - * This setting is required for enabling Github login. + * Premier add on SKU. */ - gitHubClientSecret?: string; + sku?: string; /** - * The app setting name that contains the client secret of the Github - * app used for GitHub Login. + * Premier add on Product. */ - gitHubClientSecretSettingName?: string; + product?: string; /** - * The OAuth 2.0 scopes that will be requested as part of GitHub Login authentication. - * This setting is optional + * Premier add on Vendor. */ - gitHubOAuthScopes?: string[]; + vendor?: string; /** - * The OAuth 1.0a consumer key of the Twitter application used for sign-in. - * This setting is required for enabling Twitter Sign-In. - * Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in + * Premier add on Marketplace publisher. */ - twitterConsumerKey?: string; + marketplacePublisher?: string; /** - * The OAuth 1.0a consumer secret of the Twitter application used for sign-in. - * This setting is required for enabling Twitter Sign-In. - * Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in + * Premier add on Marketplace offer. */ - twitterConsumerSecret?: string; + marketplaceOffer?: string; +} + +/** + * Description of a Virtual Network subnet that is useable for private site access. + */ +export interface PrivateAccessSubnet { /** - * The app setting name that contains the OAuth 1.0a consumer secret of the Twitter - * application used for sign-in. + * The name of the subnet. */ - twitterConsumerSecretSettingName?: string; + name?: 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. - * Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm + * The key (ID) of the subnet. */ - microsoftAccountClientId?: string; + key?: number; +} + +/** + * Description of a Virtual Network that is useable for private site access. + */ +export interface PrivateAccessVirtualNetwork { /** - * The OAuth 2.0 client secret that was created for the app used for authentication. - * This setting is required for enabling Microsoft Account authentication. - * Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm + * The name of the Virtual Network. */ - microsoftAccountClientSecret?: string; + name?: string; /** - * The app setting name containing the OAuth 2.0 client secret that was created for the - * app used for authentication. + * The key (ID) of the Virtual Network. */ - microsoftAccountClientSecretSettingName?: string; + key?: number; /** - * The OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. - * This setting is optional. If not specified, "wl.basic" is used as the default scope. - * Microsoft Account Scopes and permissions documentation: - * https://msdn.microsoft.com/en-us/library/dn631845.aspx + * The ARM uri of the Virtual Network */ - microsoftAccountOAuthScopes?: string[]; + resourceId?: string; /** - * "true" if the auth config settings should be read from a file, - * "false" otherwise + * A List of subnets that access is allowed to on this Virtual Network. An empty array (but not + * null) is interpreted to mean that all subnets are allowed within this Virtual Network. */ - isAuthFromFile?: string; + subnets?: PrivateAccessSubnet[]; +} + +/** + * Description of the parameters of Private Access for a Web Site. + */ +export interface PrivateAccess extends ProxyOnlyResource { /** - * The path of the config file containing auth settings. - * If the path is relative, base will the site's root directory. + * Whether private access is enabled or not. */ - authFilePath?: string; + enabled?: boolean; /** - * The ConfigVersion of the Authentication / Authorization feature in use for the current app. - * The setting in this value can control the behavior of the control plane for Authentication / - * Authorization. + * The Virtual Networks (and subnets) allowed to access the site privately. */ - configVersion?: string; + virtualNetworks?: PrivateAccessVirtualNetwork[]; } /** - * Configuration settings for the Azure App Service Authentication / Authorization V2 feature. + * Process Thread Information. */ -export interface SiteAuthSettingsV2 extends ProxyOnlyResource { +export interface ProcessThreadInfo extends ProxyOnlyResource { /** - * The configuration settings of the platform of App Service Authentication/Authorization. + * Site extension ID. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - platform?: AuthPlatform; + readonly identifier?: number; /** - * The configuration settings that determines the validation flow of users using App Service - * Authentication/Authorization. + * HRef URI. */ - globalValidation?: GlobalValidation; + href?: string; /** - * The configuration settings of each of the identity providers used to configure App Service - * Authentication/Authorization. + * Process URI. */ - identityProviders?: IdentityProviders; + process?: string; /** - * The configuration settings of the login flow of users using App Service - * Authentication/Authorization. + * Start address. */ - login?: Login; + startAddress?: string; /** - * The configuration settings of the HTTP requests for authentication and authorization requests - * made against App Service Authentication/Authorization. + * Current thread priority. */ - httpSettings?: HttpSettings; -} - -/** - * An app cloneability criterion. - */ -export interface SiteCloneabilityCriterion { + currentPriority?: number; /** - * Name of criterion. + * Thread priority level. */ - name?: string; + priorityLevel?: string; /** - * Description of criterion. + * Base priority. */ - description?: string; -} - -/** - * Represents whether or not an app is cloneable. - */ -export interface SiteCloneability { + basePriority?: number; /** - * Name of app. Possible values include: 'Cloneable', 'PartiallyCloneable', 'NotCloneable' + * Start time. */ - result?: CloneAbilityResult; + startTime?: Date; /** - * List of features enabled on app that prevent cloning. + * Total processor time. */ - blockingFeatures?: SiteCloneabilityCriterion[]; + totalProcessorTime?: string; /** - * List of features enabled on app that are non-blocking but cannot be cloned. The app can still - * be cloned - * but the features in this list will not be set up on cloned app. + * User processor time. */ - unsupportedFeatures?: SiteCloneabilityCriterion[]; + userProcessorTime?: string; /** - * List of blocking application characteristics. + * Thread state. */ - blockingCharacteristics?: SiteCloneabilityCriterion[]; + state?: string; + /** + * Wait reason. + */ + waitReason?: string; } /** - * Web app configuration ARM resource. + * Process Module Information. */ -export interface SiteConfigResource extends ProxyOnlyResource { +export interface ProcessModuleInfo extends ProxyOnlyResource { /** - * Number of workers. + * Base address. Used as module identifier in ARM resource URI. */ - numberOfWorkers?: number; + baseAddress?: string; /** - * Default documents. + * File name. */ - defaultDocuments?: string[]; + fileName?: string; /** - * .NET Framework version. Default value: 'v4.6'. + * HRef URI. */ - netFrameworkVersion?: string; + href?: string; /** - * Version of PHP. + * File path. */ - phpVersion?: string; + filePath?: string; /** - * Version of Python. + * Module memory size. */ - pythonVersion?: string; + moduleMemorySize?: number; /** - * Version of Node.js. + * File version. */ - nodeVersion?: string; + fileVersion?: string; /** - * Version of PowerShell. + * File description. */ - powerShellVersion?: string; + fileDescription?: string; /** - * Linux App Framework and version + * Product name. */ - linuxFxVersion?: string; + product?: string; /** - * Xenon App Framework and version + * Product version. */ - windowsFxVersion?: string; + productVersion?: string; /** - * true if request tracing is enabled; otherwise, false. + * Is debug? */ - requestTracingEnabled?: boolean; + isDebug?: boolean; /** - * Request tracing expiration time. + * Module language (locale). */ - requestTracingExpirationTime?: Date; + language?: string; +} + +/** + * Process Information. + */ +export interface ProcessInfo extends ProxyOnlyResource { /** - * true if remote debugging is enabled; otherwise, false. + * ARM Identifier for deployment. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - remoteDebuggingEnabled?: boolean; + readonly identifier?: number; /** - * Remote debugging version. + * Deployment name. */ - remoteDebuggingVersion?: string; + deploymentName?: string; /** - * true if HTTP logging is enabled; otherwise, false. + * HRef URI. */ - httpLoggingEnabled?: boolean; + href?: string; /** - * Flag to use Managed Identity Creds for ACR pull + * Minidump URI. */ - acrUseManagedIdentityCreds?: boolean; + minidump?: string; /** - * If using user managed identity, the user managed identity ClientId + * Is profile running? */ - acrUserManagedIdentityID?: string; + isProfileRunning?: boolean; /** - * HTTP logs directory size limit. + * Is the IIS Profile running? */ - logsDirectorySizeLimit?: number; + isIisProfileRunning?: boolean; /** - * true if detailed error logging is enabled; otherwise, false. + * IIS Profile timeout (seconds). */ - detailedErrorLoggingEnabled?: boolean; + iisProfileTimeoutInSeconds?: number; /** - * Publishing user name. + * Parent process. */ - publishingUsername?: string; + parent?: string; /** - * Application settings. + * Child process list. */ - appSettings?: NameValuePair[]; + children?: string[]; /** - * Connection strings. + * Thread list. */ - connectionStrings?: ConnStringInfo[]; + threads?: ProcessThreadInfo[]; /** - * Site MachineKey. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * List of open files. */ - readonly machineKey?: SiteMachineKey; + openFileHandles?: string[]; /** - * Handler mappings. + * List of modules. */ - handlerMappings?: HandlerMapping[]; + modules?: ProcessModuleInfo[]; /** - * Document root. + * File name of this process. */ - documentRoot?: string; + fileName?: string; /** - * SCM type. Possible values include: 'None', 'Dropbox', 'Tfs', 'LocalGit', 'GitHub', - * 'CodePlexGit', 'CodePlexHg', 'BitbucketGit', 'BitbucketHg', 'ExternalGit', 'ExternalHg', - * 'OneDrive', 'VSO', 'VSTSRM' + * Command line. */ - scmType?: ScmType; + commandLine?: string; /** - * true to use 32-bit worker process; otherwise, false. + * User name. */ - use32BitWorkerProcess?: boolean; + userName?: string; /** - * true if WebSocket is enabled; otherwise, false. + * Handle count. */ - webSocketsEnabled?: boolean; + handleCount?: number; /** - * true if Always On is enabled; otherwise, false. + * Module count. */ - alwaysOn?: boolean; + moduleCount?: number; /** - * Java version. + * Thread count. */ - javaVersion?: string; + threadCount?: number; /** - * Java container. + * Start time. */ - javaContainer?: string; + startTime?: Date; /** - * Java container version. + * Total CPU time. */ - javaContainerVersion?: string; + totalCpuTime?: string; /** - * App command line to launch. + * User CPU time. */ - appCommandLine?: string; + userCpuTime?: string; /** - * Managed pipeline mode. Possible values include: 'Integrated', 'Classic' + * Privileged CPU time. */ - managedPipelineMode?: ManagedPipelineMode; + privilegedCpuTime?: string; /** - * Virtual applications. + * Working set. */ - virtualApplications?: VirtualApplication[]; + workingSet?: number; /** - * Site load balancing. Possible values include: 'WeightedRoundRobin', 'LeastRequests', - * 'LeastResponseTime', 'WeightedTotalTraffic', 'RequestHash', 'PerSiteRoundRobin' + * Peak working set. */ - loadBalancing?: SiteLoadBalancing; + peakWorkingSet?: number; /** - * This is work around for polymorphic types. + * Private memory size. */ - experiments?: Experiments; + privateMemory?: number; /** - * Site limits. + * Virtual memory size. */ - limits?: SiteLimits; + virtualMemory?: number; /** - * true if Auto Heal is enabled; otherwise, false. + * Peak virtual memory usage. */ - autoHealEnabled?: boolean; + peakVirtualMemory?: number; /** - * Auto Heal rules. + * Paged system memory. */ - autoHealRules?: AutoHealRules; + pagedSystemMemory?: number; /** - * Tracing options. + * Non-paged system memory. */ - tracingOptions?: string; + nonPagedSystemMemory?: number; /** - * Virtual Network name. + * Paged memory. */ - vnetName?: string; + pagedMemory?: number; /** - * Virtual Network Route All enabled. This causes all outbound traffic to have Virtual Network - * Security Groups and User Defined Routes applied. + * Peak paged memory. */ - vnetRouteAllEnabled?: boolean; + peakPagedMemory?: number; /** - * The number of private ports assigned to this app. These will be assigned dynamically on - * runtime. + * Time stamp. */ - vnetPrivatePortsCount?: number; + timeStamp?: Date; /** - * Cross-Origin Resource Sharing (CORS) settings. + * List of environment variables. */ - cors?: CorsSettings; + environmentVariables?: { [propertyName: string]: string }; /** - * Push endpoint settings. + * Is this the SCM site? */ - push?: PushSettings; + isScmSite?: boolean; /** - * Information about the formal API definition for the app. + * Is this a Web Job? */ - apiDefinition?: ApiDefinitionInfo; + isWebjob?: boolean; /** - * Azure API management settings linked to the app. + * Description of process. */ - apiManagementConfig?: ApiManagementConfig; + description?: string; +} + +/** + * Public certificate object + */ +export interface PublicCertificate extends ProxyOnlyResource { /** - * Auto-swap slot name. + * Public Certificate byte array */ - autoSwapSlotName?: string; + blob?: Uint8Array; /** - * true to enable local MySQL; otherwise, false. Default value: false. + * Public Certificate Location. Possible values include: 'CurrentUserMy', 'LocalMachineMy', + * 'Unknown' */ - localMySqlEnabled?: boolean; + publicCertificateLocation?: PublicCertificateLocation; /** - * Managed Service Identity Id + * Certificate Thumbprint + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - managedServiceIdentityId?: number; + readonly thumbprint?: string; +} + +/** + * Description of a restore request. + */ +export interface RestoreRequest extends ProxyOnlyResource { /** - * Explicit Managed Service Identity Id + * SAS URL to the container. */ - xManagedServiceIdentityId?: number; + storageAccountUrl: string; /** - * Identity to use for Key Vault Reference authentication. + * Name of a blob which contains the backup. */ - keyVaultReferenceIdentity?: string; + blobName?: string; /** - * IP security restrictions for main. + * true if the restore operation can overwrite target app; otherwise, + * false. true is needed if trying to restore over an existing app. */ - ipSecurityRestrictions?: IpSecurityRestriction[]; + overwrite: boolean; /** - * IP security restrictions for scm. + * Name of an app. */ - scmIpSecurityRestrictions?: IpSecurityRestriction[]; + siteName?: string; /** - * IP security restrictions for scm to use main. + * Collection of databases which should be restored. This list has to match the list of databases + * included in the backup. */ - scmIpSecurityRestrictionsUseMain?: boolean; + databases?: DatabaseBackupSetting[]; /** - * Http20Enabled: configures a web site to allow clients to connect over http2.0. Default value: - * true. + * Changes a logic when restoring an app with custom domains. true to remove custom + * domains automatically. If false, custom domains are added to + * the app's object when it is being restored, but that might fail due to conflicts during the + * operation. Default value: false. */ - http20Enabled?: boolean; + ignoreConflictingHostNames?: boolean; /** - * MinTlsVersion: configures the minimum version of TLS required for SSL requests. Possible - * values include: '1.0', '1.1', '1.2' + * Ignore the databases and only restore the site content. Default value: false. */ - minTlsVersion?: SupportedTlsVersions; + ignoreDatabases?: boolean; /** - * ScmMinTlsVersion: configures the minimum version of TLS required for SSL requests for SCM - * site. Possible values include: '1.0', '1.1', '1.2' + * Specify app service plan that will own restored site. */ - scmMinTlsVersion?: SupportedTlsVersions; + appServicePlan?: string; /** - * State of FTP / FTPS service. Possible values include: 'AllAllowed', 'FtpsOnly', 'Disabled' + * Operation type. Possible values include: 'Default', 'Clone', 'Relocation', 'Snapshot', + * 'CloudFS'. Default value: 'Default'. */ - ftpsState?: FtpsState; + operationType?: BackupRestoreOperationType; /** - * Number of preWarmed instances. - * This setting only applies to the Consumption and Elastic Plans + * true if SiteConfig.ConnectionStrings should be set in new app; otherwise, + * false. */ - preWarmedInstanceCount?: number; + adjustConnectionStrings?: boolean; /** - * Maximum number of workers that a site can scale out to. - * This setting only applies to the Consumption and Elastic Premium Plans + * App Service Environment name, if needed (only when restoring an app to an App Service + * Environment). */ - functionAppScaleLimit?: number; + hostingEnvironment?: string; +} + +/** + * Configuration settings for the Azure App Service Authentication / Authorization feature. + */ +export interface SiteAuthSettings extends ProxyOnlyResource { /** - * Health check path + * true if the Authentication / Authorization feature is enabled for the current + * app; otherwise, false. */ - healthCheckPath?: string; + enabled?: boolean; /** - * Gets or sets a value indicating whether functions runtime scale monitoring is enabled. When - * enabled, - * the ScaleController will not monitor event sources directly, but will instead call to the - * runtime to get scale status. + * The RuntimeVersion of the Authentication / Authorization feature in use for the current app. + * The setting in this value can control the behavior of certain features in the Authentication / + * Authorization module. */ - functionsRuntimeScaleMonitoringEnabled?: boolean; + runtimeVersion?: string; /** - * Sets the time zone a site uses for generating timestamps. Compatible with Linux and Windows - * App Service. Setting the WEBSITE_TIME_ZONE app setting takes precedence over this config. For - * Linux, expects tz database values https://www.iana.org/time-zones (for a quick reference see - * https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). For Windows, expects one of the - * time zones listed under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time - * Zones + * The action to take when an unauthenticated client attempts to access the app. Possible values + * include: 'RedirectToLoginPage', 'AllowAnonymous' */ - websiteTimeZone?: string; + unauthenticatedClientAction?: UnauthenticatedClientAction; /** - * Number of minimum instance count for a site - * This setting only applies to the Elastic Plans + * true to durably store platform-specific security tokens that are obtained during + * login flows; otherwise, false. + * The default is false. */ - minimumElasticInstanceCount?: number; + tokenStoreEnabled?: boolean; /** - * List of Azure Storage Accounts. + * External URLs that can be redirected to as part of logging in or logging out of the app. Note + * that the query string part of the URL is ignored. + * This is an advanced setting typically only needed by Windows Store application backends. + * Note that URLs within the current domain are always implicitly allowed. */ - azureStorageAccounts?: { [propertyName: string]: AzureStorageInfoValue }; + allowedExternalRedirectUrls?: string[]; /** - * Property to allow or block all public traffic. + * The default authentication provider to use when multiple providers are configured. + * 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', 'Github' */ - publicNetworkAccess?: string; -} - -/** - * A snapshot of a web app configuration. - */ -export interface SiteConfigurationSnapshotInfo extends ProxyOnlyResource { + defaultProvider?: BuiltInAuthenticationProvider; /** - * The time the snapshot was taken. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The number of hours after session token expiration that a session token can be used to + * call the token refresh API. The default is 72 hours. */ - readonly time?: Date; + tokenRefreshExtensionHours?: number; /** - * The id of the snapshot - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The Client ID of this relying party application, known as the client_id. + * This setting is required for enabling OpenID Connection authentication with Azure Active + * Directory or + * other 3rd party OpenID Connect providers. + * More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html */ - readonly snapshotId?: number; -} - -/** - * Site Extension Information. - */ -export interface SiteExtensionInfo extends ProxyOnlyResource { + clientId?: string; /** - * Site extension ID. + * The Client Secret of this relying party application (in Azure Active Directory, this is also + * referred to as the Key). + * This setting is optional. If no client secret is configured, the OpenID Connect implicit auth + * flow is used to authenticate end users. + * Otherwise, the OpenID Connect Authorization Code Flow is used to authenticate end users. + * More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html */ - extensionId?: string; - title?: string; + clientSecret?: string; /** - * Site extension type. Possible values include: 'Gallery', 'WebRoot' + * The app setting name that contains the client secret of the relying party application. */ - extensionType?: SiteExtensionType; + clientSecretSettingName?: string; /** - * Summary description. + * An alternative to the client secret, that is the thumbprint of a certificate used for signing + * purposes. This property acts as + * a replacement for the Client Secret. It is also optional. */ - summary?: string; + clientSecretCertificateThumbprint?: string; /** - * Detailed description. + * The OpenID Connect Issuer URI that represents the entity which issues access tokens for this + * application. + * When using Azure Active Directory, this value is the URI of the directory tenant, e.g. + * https://sts.windows.net/{tenant-guid}/. + * This URI is a case-sensitive identifier for the token issuer. + * More information on OpenID Connect Discovery: + * http://openid.net/specs/openid-connect-discovery-1_0.html */ - description?: string; + issuer?: string; /** - * Version information. + * Gets a value indicating whether the issuer should be a valid HTTPS url and be validated as + * such. */ - version?: string; + validateIssuer?: boolean; /** - * Extension URL. + * Allowed audience values to consider when validating JWTs issued by + * Azure Active Directory. Note that the ClientID value is always considered an + * allowed audience, regardless of this setting. */ - extensionUrl?: string; + allowedAudiences?: string[]; /** - * Project URL. + * Login parameters to send to the OpenID Connect authorization endpoint when + * a user logs in. Each parameter must be in the form "key=value". */ - projectUrl?: string; + additionalLoginParams?: string[]; /** - * Icon URL. + * Gets a JSON string containing the Azure AD Acl settings. */ - iconUrl?: string; + aadClaimsAuthorization?: string; /** - * License URL. + * The OpenID Connect Client ID for the Google web application. + * This setting is required for enabling Google Sign-In. + * Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/ */ - licenseUrl?: string; + googleClientId?: string; /** - * Feed URL. + * The client secret associated with the Google web application. + * This setting is required for enabling Google Sign-In. + * Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/ */ - feedUrl?: string; + googleClientSecret?: string; /** - * List of authors. + * The app setting name that contains the client secret associated with + * the Google web application. */ - authors?: string[]; + googleClientSecretSettingName?: string; /** - * Installer command line parameters. + * 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 + * default scopes. + * Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/ */ - installerCommandLineParams?: string; + googleOAuthScopes?: string[]; /** - * Published timestamp. + * The App ID of the Facebook app used for login. + * This setting is required for enabling Facebook Login. + * Facebook Login documentation: https://developers.facebook.com/docs/facebook-login */ - publishedDateTime?: Date; + facebookAppId?: string; /** - * Count of downloads. - */ - downloadCount?: number; - /** - * true if the local version is the latest version; false otherwise. + * The App Secret of the Facebook app used for Facebook Login. + * This setting is required for enabling Facebook Login. + * Facebook Login documentation: https://developers.facebook.com/docs/facebook-login */ - localIsLatestVersion?: boolean; + facebookAppSecret?: string; /** - * Local path. + * The app setting name that contains the app secret used for Facebook Login. */ - localPath?: string; + facebookAppSecretSettingName?: string; /** - * Installed timestamp. + * 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 */ - installedDateTime?: Date; + facebookOAuthScopes?: string[]; /** - * Provisioning state. + * The Client Id of the GitHub app used for login. + * This setting is required for enabling Github login */ - provisioningState?: string; + gitHubClientId?: string; /** - * Site Extension comment. + * The Client Secret of the GitHub app used for Github Login. + * This setting is required for enabling Github login. */ - comment?: string; -} - -/** - * Configuration of App Service site logs. - */ -export interface SiteLogsConfig extends ProxyOnlyResource { + gitHubClientSecret?: string; /** - * Application logs configuration. + * The app setting name that contains the client secret of the Github + * app used for GitHub Login. */ - applicationLogs?: ApplicationLogsConfig; + gitHubClientSecretSettingName?: string; /** - * HTTP logs configuration. + * The OAuth 2.0 scopes that will be requested as part of GitHub Login authentication. + * This setting is optional */ - httpLogs?: HttpLogsConfig; + gitHubOAuthScopes?: string[]; /** - * Failed requests tracing configuration. + * The OAuth 1.0a consumer key of the Twitter application used for sign-in. + * This setting is required for enabling Twitter Sign-In. + * Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in */ - failedRequestsTracing?: EnabledConfig; + twitterConsumerKey?: string; /** - * Detailed error messages configuration. + * The OAuth 1.0a consumer secret of the Twitter application used for sign-in. + * This setting is required for enabling Twitter Sign-In. + * Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in */ - detailedErrorMessages?: EnabledConfig; -} - -/** - * ARM resource for a site. - */ -export interface SitePatchResource extends ProxyOnlyResource { + twitterConsumerSecret?: string; /** - * Current state of the app. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The app setting name that contains the OAuth 1.0a consumer secret of the Twitter + * application used for sign-in. */ - readonly state?: string; + twitterConsumerSecretSettingName?: string; /** - * Hostnames associated with the app. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The OAuth 2.0 client ID that was created for the app used for authentication. + * This setting is required for enabling Microsoft Account authentication. + * Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm */ - readonly hostNames?: string[]; + microsoftAccountClientId?: string; /** - * Name of the repository site. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The OAuth 2.0 client secret that was created for the app used for authentication. + * This setting is required for enabling Microsoft Account authentication. + * Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm */ - readonly repositorySiteName?: string; + microsoftAccountClientSecret?: string; /** - * State indicating whether the app has exceeded its quota usage. Read-only. Possible values - * include: 'Normal', 'Exceeded' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The app setting name containing the OAuth 2.0 client secret that was created for the + * app used for authentication. */ - readonly usageState?: UsageState; + microsoftAccountClientSecretSettingName?: string; /** - * true if the app is enabled; otherwise, false. Setting this value to - * false disables the app (takes the app offline). + * The OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. + * This setting is optional. If not specified, "wl.basic" is used as the default scope. + * Microsoft Account Scopes and permissions documentation: + * https://msdn.microsoft.com/en-us/library/dn631845.aspx */ - enabled?: boolean; + microsoftAccountOAuthScopes?: string[]; /** - * Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. - * Otherwise, - * the app is not served on those hostnames. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * "true" if the auth config settings should be read from a file, + * "false" otherwise */ - readonly enabledHostNames?: string[]; + isAuthFromFile?: string; /** - * Management information availability state for the app. Possible values include: 'Normal', - * 'Limited', 'DisasterRecoveryMode' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The path of the config file containing auth settings. + * If the path is relative, base will the site's root directory. */ - readonly availabilityState?: SiteAvailabilityState; + authFilePath?: string; /** - * Hostname SSL states are used to manage the SSL bindings for app's hostnames. + * The ConfigVersion of the Authentication / Authorization feature in use for the current app. + * The setting in this value can control the behavior of the control plane for Authentication / + * Authorization. */ - hostNameSslStates?: HostNameSslState[]; + configVersion?: string; +} + +/** + * Configuration settings for the Azure App Service Authentication / Authorization V2 feature. + */ +export interface SiteAuthSettingsV2 extends ProxyOnlyResource { /** - * Resource ID of the associated App Service plan, formatted as: - * "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". + * The configuration settings of the platform of App Service Authentication/Authorization. */ - serverFarmId?: string; + platform?: AuthPlatform; /** - * true if reserved; otherwise, false. Default value: false. + * The configuration settings that determines the validation flow of users using App Service + * Authentication/Authorization. */ - reserved?: boolean; + globalValidation?: GlobalValidation; /** - * Obsolete: Hyper-V sandbox. Default value: false. + * The configuration settings of each of the identity providers used to configure App Service + * Authentication/Authorization. */ - isXenon?: boolean; + identityProviders?: IdentityProviders; /** - * Hyper-V sandbox. Default value: false. + * The configuration settings of the login flow of users using App Service + * Authentication/Authorization. */ - hyperV?: boolean; + login?: Login; /** - * Last time the app was modified, in UTC. Read-only. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The configuration settings of the HTTP requests for authentication and authorization requests + * made against App Service Authentication/Authorization. */ - readonly lastModifiedTimeUtc?: Date; + httpSettings?: HttpSettings; +} + +/** + * An app cloneability criterion. + */ +export interface SiteCloneabilityCriterion { /** - * Configuration of the app. + * Name of criterion. */ - siteConfig?: SiteConfig; + name?: string; /** - * Azure Traffic Manager hostnames associated with the app. Read-only. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Description of criterion. */ - readonly trafficManagerHostNames?: string[]; + description?: string; +} + +/** + * Represents whether or not an app is cloneable. + */ +export interface SiteCloneability { /** - * true to stop SCM (KUDU) site when the app is stopped; otherwise, - * false. The default is false. Default value: false. + * Name of app. Possible values include: 'Cloneable', 'PartiallyCloneable', 'NotCloneable' */ - scmSiteAlsoStopped?: boolean; + result?: CloneAbilityResult; /** - * Specifies which deployment slot this app will swap into. Read-only. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * List of features enabled on app that prevent cloning. */ - readonly targetSwapSlot?: string; + blockingFeatures?: SiteCloneabilityCriterion[]; /** - * App Service Environment to use for the app. + * List of features enabled on app that are non-blocking but cannot be cloned. The app can still + * be cloned + * but the features in this list will not be set up on cloned app. */ - hostingEnvironmentProfile?: HostingEnvironmentProfile; + unsupportedFeatures?: SiteCloneabilityCriterion[]; /** - * true to enable client affinity; false to stop sending session - * affinity cookies, which route client requests in the same session to the same instance. - * Default is true. + * List of blocking application characteristics. */ - clientAffinityEnabled?: boolean; + blockingCharacteristics?: SiteCloneabilityCriterion[]; +} + +/** + * Web app configuration ARM resource. + */ +export interface SiteConfigResource extends ProxyOnlyResource { /** - * true to enable client certificate authentication (TLS mutual authentication); - * otherwise, false. Default is false. + * Number of workers. */ - clientCertEnabled?: boolean; + numberOfWorkers?: number; /** - * 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', 'OptionalInteractiveUser' + * Default documents. */ - clientCertMode?: ClientCertMode; + defaultDocuments?: string[]; /** - * client certificate authentication comma-separated exclusion paths + * .NET Framework version. Default value: 'v4.6'. */ - clientCertExclusionPaths?: string; + netFrameworkVersion?: string; /** - * true to disable the public hostnames of the app; otherwise, false. - * If true, the app is only accessible via API management process. + * Version of PHP. */ - hostNamesDisabled?: boolean; + phpVersion?: string; /** - * Unique identifier that verifies the custom domains assigned to the app. Customer will add this - * id to a txt record for verification. + * Version of Python. */ - customDomainVerificationId?: string; + pythonVersion?: 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. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Version of Node.js. */ - readonly outboundIpAddresses?: string; + nodeVersion?: string; /** - * List of IP addresses that the app uses for outbound connections (e.g. database access). - * Includes VIPs from all tenants except dataComponent. Read-only. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Version of PowerShell. */ - readonly possibleOutboundIpAddresses?: string; + powerShellVersion?: string; /** - * Size of the function container. + * Linux App Framework and version */ - containerSize?: number; + linuxFxVersion?: string; /** - * Maximum allowed daily memory-time quota (applicable on dynamic apps only). + * Xenon App Framework and version */ - dailyMemoryTimeQuota?: number; + windowsFxVersion?: string; /** - * App suspended till in case memory-time quota is exceeded. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * true if request tracing is enabled; otherwise, false. */ - readonly suspendedTill?: Date; + requestTracingEnabled?: boolean; /** - * Maximum number of workers. - * This only applies to Functions container. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Request tracing expiration time. */ - readonly maxNumberOfWorkers?: number; + requestTracingExpirationTime?: Date; /** - * If specified during app creation, the app is cloned from a source app. + * true if remote debugging is enabled; otherwise, false. */ - cloningInfo?: CloningInfo; + remoteDebuggingEnabled?: boolean; /** - * Name of the resource group the app belongs to. Read-only. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Remote debugging version. */ - readonly resourceGroup?: string; + remoteDebuggingVersion?: string; /** - * true if the app is a default container; otherwise, false. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * true if HTTP logging is enabled; otherwise, false. */ - readonly isDefaultContainer?: boolean; + httpLoggingEnabled?: boolean; /** - * Default hostname of the app. Read-only. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Flag to use Managed Identity Creds for ACR pull */ - readonly defaultHostName?: string; + acrUseManagedIdentityCreds?: boolean; /** - * Status of the last deployment slot swap operation. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * If using user managed identity, the user managed identity ClientId */ - readonly slotSwapStatus?: SlotSwapStatus; + acrUserManagedIdentityID?: string; /** - * HttpsOnly: configures a web site to accept only https requests. Issues redirect for - * http requests + * HTTP logs directory size limit. */ - httpsOnly?: boolean; + logsDirectorySizeLimit?: number; /** - * Site redundancy mode. Possible values include: 'None', 'Manual', 'Failover', 'ActiveActive', - * 'GeoRedundant' + * true if detailed error logging is enabled; otherwise, false. */ - redundancyMode?: RedundancyMode; + detailedErrorLoggingEnabled?: boolean; /** - * Specifies an operation id if this site has a pending operation. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Publishing user name. */ - readonly inProgressOperationId?: string; + publishingUsername?: string; /** - * Checks if Customer provided storage account is required + * Application settings. */ - storageAccountRequired?: boolean; + appSettings?: NameValuePair[]; /** - * Identity to use for Key Vault Reference authentication. + * Connection strings. */ - keyVaultReferenceIdentity?: string; + connectionStrings?: ConnStringInfo[]; /** - * Azure Resource Manager ID of the Virtual network and subnet to be joined by Regional VNET - * Integration. - * This must be of the form - * /subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName} + * Site MachineKey. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - virtualNetworkSubnetId?: string; - identity?: ManagedServiceIdentity; -} - -/** - * Used for getting PHP error logging flag. - */ -export interface SitePhpErrorLogFlag extends ProxyOnlyResource { + readonly machineKey?: SiteMachineKey; /** - * Local log_errors setting. + * Handler mappings. */ - localLogErrors?: string; + handlerMappings?: HandlerMapping[]; /** - * Master log_errors setting. + * Document root. */ - masterLogErrors?: string; + documentRoot?: string; /** - * Local log_errors_max_len setting. + * SCM type. Possible values include: 'None', 'Dropbox', 'Tfs', 'LocalGit', 'GitHub', + * 'CodePlexGit', 'CodePlexHg', 'BitbucketGit', 'BitbucketHg', 'ExternalGit', 'ExternalHg', + * 'OneDrive', 'VSO', 'VSTSRM' */ - localLogErrorsMaxLength?: string; + scmType?: ScmType; /** - * Master log_errors_max_len setting. + * true to use 32-bit worker process; otherwise, false. */ - masterLogErrorsMaxLength?: string; -} - -/** - * Source control configuration for an app. - */ -export interface SiteSourceControl extends ProxyOnlyResource { + use32BitWorkerProcess?: boolean; /** - * Repository or source control URL. + * true if WebSocket is enabled; otherwise, false. */ - repoUrl?: string; + webSocketsEnabled?: boolean; /** - * Name of branch to use for deployment. + * true if Always On is enabled; otherwise, false. */ - branch?: string; + alwaysOn?: boolean; /** - * true to limit to manual integration; false to enable continuous - * integration (which configures webhooks into online repos like GitHub). + * Java version. */ - isManualIntegration?: boolean; + javaVersion?: string; /** - * true if this is deployed via GitHub action. + * Java container. */ - isGitHubAction?: boolean; + javaContainer?: string; /** - * true to enable deployment rollback; otherwise, false. + * Java container version. */ - deploymentRollbackEnabled?: boolean; + javaContainerVersion?: string; /** - * true for a Mercurial repository; false for a Git repository. + * App command line to launch. */ - isMercurial?: boolean; + appCommandLine?: string; /** - * If GitHub Action is selected, than the associated configuration. + * Managed pipeline mode. Possible values include: 'Integrated', 'Classic' */ - gitHubActionConfiguration?: GitHubActionConfiguration; -} - -/** - * Slot Config names azure resource. - */ -export interface SlotConfigNamesResource extends ProxyOnlyResource { + managedPipelineMode?: ManagedPipelineMode; /** - * List of connection string names. + * Virtual applications. */ - connectionStringNames?: string[]; + virtualApplications?: VirtualApplication[]; /** - * List of application settings names. + * Site load balancing. Possible values include: 'WeightedRoundRobin', 'LeastRequests', + * 'LeastResponseTime', 'WeightedTotalTraffic', 'RequestHash', 'PerSiteRoundRobin' */ - appSettingNames?: string[]; + loadBalancing?: SiteLoadBalancing; /** - * List of external Azure storage account identifiers. + * This is work around for polymorphic types. */ - azureStorageConfigNames?: string[]; -} - -/** - * A setting difference between two deployment slots of an app. - */ -export interface SlotDifference extends ProxyOnlyResource { + experiments?: Experiments; /** - * Level of the difference: Information, Warning or Error. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Site limits. */ - readonly level?: string; + limits?: SiteLimits; /** - * The type of the setting: General, AppSetting or ConnectionString. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * true if Auto Heal is enabled; otherwise, false. */ - readonly settingType?: string; + autoHealEnabled?: boolean; /** - * Rule that describes how to process the setting difference during a slot swap. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Auto Heal rules. */ - readonly diffRule?: string; + autoHealRules?: AutoHealRules; /** - * Name of the setting. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Tracing options. */ - readonly settingName?: string; + tracingOptions?: string; /** - * Value of the setting in the current slot. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Virtual Network name. */ - readonly valueInCurrentSlot?: string; + vnetName?: string; /** - * Value of the setting in the target slot. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Virtual Network Route All enabled. This causes all outbound traffic to have Virtual Network + * Security Groups and User Defined Routes applied. */ - readonly valueInTargetSlot?: string; + vnetRouteAllEnabled?: boolean; /** - * Description of the setting difference. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The number of private ports assigned to this app. These will be assigned dynamically on + * runtime. */ - readonly description?: string; -} - -/** - * Specifies the web app that snapshot contents will be retrieved from. - */ -export interface SnapshotRecoverySource { + vnetPrivatePortsCount?: number; /** - * Geographical location of the source web app, e.g. SouthEastAsia, SouthCentralUS + * Cross-Origin Resource Sharing (CORS) settings. */ - location?: string; + cors?: CorsSettings; /** - * ARM resource ID of the source app. - * /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} - * for production slots and - * /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} - * for other slots. + * Push endpoint settings. */ - id?: string; -} - -/** - * Details about app recovery operation. - */ -export interface SnapshotRestoreRequest extends ProxyOnlyResource { + push?: PushSettings; /** - * Point in time in which the app restore should be done, formatted as a DateTime string. + * Information about the formal API definition for the app. */ - snapshotTime?: string; + apiDefinition?: ApiDefinitionInfo; /** - * Optional. Specifies the web app that snapshot contents will be retrieved from. - * If empty, the targeted web app will be used as the source. + * Azure API management settings linked to the app. */ - recoverySource?: SnapshotRecoverySource; + apiManagementConfig?: ApiManagementConfig; /** - * If true the restore operation can overwrite source app; otherwise, - * false. + * Auto-swap slot name. */ - overwrite: boolean; + autoSwapSlotName?: string; /** - * If true, site configuration, in addition to content, will be reverted. + * true to enable local MySQL; otherwise, false. Default value: false. */ - recoverConfiguration?: boolean; + localMySqlEnabled?: boolean; /** - * If true, custom hostname conflicts will be ignored when recovering to a target web app. - * This setting is only necessary when RecoverConfiguration is enabled. + * Managed Service Identity Id */ - ignoreConflictingHostNames?: boolean; + managedServiceIdentityId?: number; /** - * If true, the snapshot is retrieved from DRSecondary endpoint. + * Explicit Managed Service Identity Id */ - useDRSecondary?: boolean; -} - -/** - * Options for app content migration. - */ -export interface StorageMigrationOptions extends ProxyOnlyResource { + xManagedServiceIdentityId?: number; /** - * AzureFiles connection string. + * Identity to use for Key Vault Reference authentication. */ - azurefilesConnectionString: string; + keyVaultReferenceIdentity?: string; /** - * AzureFiles share. + * IP security restrictions for main. */ - azurefilesShare: string; + ipSecurityRestrictions?: IpSecurityRestriction[]; /** - * trueif the app should be switched over; otherwise, false. Default - * value: false. + * IP security restrictions for scm. */ - switchSiteAfterMigration?: boolean; + scmIpSecurityRestrictions?: IpSecurityRestriction[]; /** - * true if the app should be read only during copy operation; otherwise, - * false. Default value: false. + * IP security restrictions for scm to use main. */ - blockWriteAccessToSite?: boolean; -} - -/** - * Response for a migration of app content request. - */ -export interface StorageMigrationResponse extends ProxyOnlyResource { - /** - * When server starts the migration process, it will return an operation ID identifying that - * particular migration operation. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly operationId?: string; -} - -/** - * Swift Virtual Network Contract. This is used to enable the new Swift way of doing virtual - * network integration. - */ -export interface SwiftVirtualNetwork extends ProxyOnlyResource { - /** - * The Virtual Network subnet's resource ID. This is the subnet that this Web App will join. This - * subnet must have a delegation to Microsoft.Web/serverFarms defined first. - */ - subnetResourceId?: string; + scmIpSecurityRestrictionsUseMain?: boolean; /** - * A flag that specifies if the scale unit this Web App is on supports Swift integration. + * Http20Enabled: configures a web site to allow clients to connect over http2.0. Default value: + * true. */ - swiftSupported?: boolean; -} - -/** - * Triggered Web Job Run Information. - */ -export interface TriggeredJobRun { + http20Enabled?: boolean; /** - * Job ID. + * MinTlsVersion: configures the minimum version of TLS required for SSL requests. Possible + * values include: '1.0', '1.1', '1.2' */ - webJobId?: string; + minTlsVersion?: SupportedTlsVersions; /** - * Job name. + * ScmMinTlsVersion: configures the minimum version of TLS required for SSL requests for SCM + * site. Possible values include: '1.0', '1.1', '1.2' */ - webJobName?: string; + scmMinTlsVersion?: SupportedTlsVersions; /** - * Job status. Possible values include: 'Success', 'Failed', 'Error' + * State of FTP / FTPS service. Possible values include: 'AllAllowed', 'FtpsOnly', 'Disabled' */ - status?: TriggeredWebJobStatus; + ftpsState?: FtpsState; /** - * Start time. + * Number of preWarmed instances. + * This setting only applies to the Consumption and Elastic Plans */ - startTime?: Date; + preWarmedInstanceCount?: number; /** - * End time. + * Maximum number of workers that a site can scale out to. + * This setting only applies to the Consumption and Elastic Premium Plans */ - endTime?: Date; + functionAppScaleLimit?: number; /** - * Job duration. + * Health check path */ - duration?: string; + healthCheckPath?: string; /** - * Output URL. + * Gets or sets a value indicating whether functions runtime scale monitoring is enabled. When + * enabled, + * the ScaleController will not monitor event sources directly, but will instead call to the + * runtime to get scale status. */ - outputUrl?: string; + functionsRuntimeScaleMonitoringEnabled?: boolean; /** - * Error URL. + * Sets the time zone a site uses for generating timestamps. Compatible with Linux and Windows + * App Service. Setting the WEBSITE_TIME_ZONE app setting takes precedence over this config. For + * Linux, expects tz database values https://www.iana.org/time-zones (for a quick reference see + * https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). For Windows, expects one of the + * time zones listed under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time + * Zones */ - errorUrl?: string; + websiteTimeZone?: string; /** - * Job URL. + * Number of minimum instance count for a site + * This setting only applies to the Elastic Plans */ - url?: string; + minimumElasticInstanceCount?: number; /** - * Job name. + * List of Azure Storage Accounts. */ - jobName?: string; + azureStorageAccounts?: { [propertyName: string]: AzureStorageInfoValue }; /** - * Job trigger. + * Property to allow or block all public traffic. */ - trigger?: string; + publicNetworkAccess?: string; } /** - * Triggered Web Job History. List of Triggered Web Job Run Information elements. + * A snapshot of a web app configuration. */ -export interface TriggeredJobHistory extends ProxyOnlyResource { +export interface SiteConfigurationSnapshotInfo extends ProxyOnlyResource { /** - * List of triggered web job runs. + * The time the snapshot was taken. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - runs?: TriggeredJobRun[]; + readonly time?: Date; + /** + * The id of the snapshot + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly snapshotId?: number; } /** - * Triggered Web Job Information. + * Site Extension Information. */ -export interface TriggeredWebJob extends ProxyOnlyResource { - /** - * Latest job run information. - */ - latestRun?: TriggeredJobRun; - /** - * History URL. - */ - historyUrl?: string; - /** - * Scheduler Logs URL. - */ - schedulerLogsUrl?: string; +export interface SiteExtensionInfo extends ProxyOnlyResource { /** - * Run command. + * Site extension ID. */ - runCommand?: string; + extensionId?: string; + title?: string; /** - * Job URL. + * Site extension type. Possible values include: 'Gallery', 'WebRoot' */ - url?: string; + extensionType?: SiteExtensionType; /** - * Extra Info URL. + * Summary description. */ - extraInfoUrl?: string; + summary?: string; /** - * Job type. Possible values include: 'Continuous', 'Triggered' + * Detailed description. */ - webJobType?: WebJobType; + description?: string; /** - * Error information. + * Version information. */ - error?: string; + version?: string; /** - * Using SDK? + * Extension URL. */ - usingSdk?: boolean; + extensionUrl?: string; /** - * Job settings. + * Project URL. */ - settings?: { [propertyName: string]: any }; -} - -/** - * An interface representing WebSiteInstanceStatus. - */ -export interface WebSiteInstanceStatus extends ProxyOnlyResource { + projectUrl?: string; /** - * Possible values include: 'READY', 'STOPPED', 'UNKNOWN' + * Icon URL. */ - state?: SiteRuntimeState; + iconUrl?: string; /** - * Link to the GetStatusApi in Kudu + * License URL. */ - statusUrl?: string; + licenseUrl?: string; /** - * Link to the Diagnose and Solve Portal + * Feed URL. */ - detectorUrl?: string; + feedUrl?: string; /** - * Link to the console to web app instance + * List of authors. */ - consoleUrl?: string; + authors?: string[]; /** - * Link to the console to web app instance + * Installer command line parameters. */ - healthCheckUrl?: string; - containers?: { [propertyName: string]: ContainerInfo }; -} - -/** - * Web Job Information. - */ -export interface WebJob extends ProxyOnlyResource { + installerCommandLineParams?: string; /** - * Run command. + * Published timestamp. */ - runCommand?: string; + publishedDateTime?: Date; /** - * Job URL. + * Count of downloads. */ - url?: string; + downloadCount?: number; /** - * Extra Info URL. + * true if the local version is the latest version; false otherwise. */ - extraInfoUrl?: string; + localIsLatestVersion?: boolean; /** - * Job type. Possible values include: 'Continuous', 'Triggered' + * Local path. */ - webJobType?: WebJobType; + localPath?: string; /** - * Error information. + * Installed timestamp. */ - error?: string; + installedDateTime?: Date; /** - * Using SDK? + * Provisioning state. */ - usingSdk?: boolean; + provisioningState?: string; /** - * Job settings. + * Site Extension comment. */ - settings?: { [propertyName: string]: any }; + comment?: string; } /** - * Optional Parameters. + * Configuration of App Service site logs. */ -export interface AppServiceCertificateOrdersResendRequestEmailsOptionalParams extends msRest.RequestOptionsBase { +export interface SiteLogsConfig extends ProxyOnlyResource { /** - * Name of the object. + * Application logs configuration. */ - name?: string; -} - -/** - * Optional Parameters. - */ -export interface CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseOptionalParams extends msRest.RequestOptionsBase { + applicationLogs?: ApplicationLogsConfig; /** - * The start time for detector response. + * HTTP logs configuration. */ - startTime?: Date; + httpLogs?: HttpLogsConfig; /** - * The end time for the detector response. + * Failed requests tracing configuration. */ - endTime?: Date; + failedRequestsTracing?: EnabledConfig; /** - * The time grain for the detector response. + * Detailed error messages configuration. */ - timeGrain?: string; + detailedErrorMessages?: EnabledConfig; } /** - * Optional Parameters. + * ARM resource for a site. */ -export interface DomainsCheckAvailabilityOptionalParams extends msRest.RequestOptionsBase { +export interface SitePatchResource extends ProxyOnlyResource { /** - * Name of the object. + * Current state of the app. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - name?: string; -} - -/** - * Optional Parameters. - */ -export interface DomainsDeleteMethodOptionalParams extends msRest.RequestOptionsBase { + readonly state?: string; /** - * Specify true to delete the domain immediately. The default is false - * which deletes the domain after 24 hours. + * Hostnames associated with the app. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - forceHardDeleteDomain?: boolean; -} - -/** - * Optional Parameters. - */ -export interface AppServiceEnvironmentsDeleteMethodOptionalParams extends msRest.RequestOptionsBase { + readonly hostNames?: string[]; /** - * Specify true to force the deletion even if the App Service Environment contains - * resources. The default is false. + * Name of the repository site. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - forceDelete?: boolean; -} - -/** - * Optional Parameters. - */ -export interface AppServiceEnvironmentsListWebAppsOptionalParams extends msRest.RequestOptionsBase { + readonly repositorySiteName?: string; /** - * Comma separated list of app properties to include. + * State indicating whether the app has exceeded its quota usage. Read-only. Possible values + * include: 'Normal', 'Exceeded' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - propertiesToInclude?: string; -} - -/** - * Optional Parameters. - */ -export interface AppServiceEnvironmentsListUsagesOptionalParams extends msRest.RequestOptionsBase { + readonly usageState?: UsageState; /** - * 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]'. + * true if the app is enabled; otherwise, false. Setting this value to + * false disables the app (takes the app offline). */ - filter?: string; -} - -/** - * Optional Parameters. - */ -export interface AppServiceEnvironmentsBeginDeleteMethodOptionalParams extends msRest.RequestOptionsBase { + enabled?: boolean; /** - * Specify true to force the deletion even if the App Service Environment contains - * resources. The default is false. + * Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. + * Otherwise, + * the app is not served on those hostnames. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - forceDelete?: boolean; -} - -/** - * Optional Parameters. - */ -export interface AppServiceEnvironmentsListWebAppsNextOptionalParams extends msRest.RequestOptionsBase { + readonly enabledHostNames?: string[]; /** - * Comma separated list of app properties to include. + * Management information availability state for the app. Possible values include: 'Normal', + * 'Limited', 'DisasterRecoveryMode' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - propertiesToInclude?: string; -} - -/** - * Optional Parameters. - */ -export interface AppServiceEnvironmentsListUsagesNextOptionalParams extends msRest.RequestOptionsBase { + readonly availabilityState?: SiteAvailabilityState; /** - * 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]'. + * Hostname SSL states are used to manage the SSL bindings for app's hostnames. */ - filter?: string; -} - -/** - * Optional Parameters. - */ -export interface AppServicePlansListOptionalParams extends msRest.RequestOptionsBase { + hostNameSslStates?: HostNameSslState[]; /** - * 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. + * Resource ID of the associated App Service plan, formatted as: + * "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". */ - detailed?: boolean; -} - -/** - * Optional Parameters. - */ -export interface AppServicePlansRestartWebAppsOptionalParams extends msRest.RequestOptionsBase { + serverFarmId?: string; /** - * Specify true to perform a soft restart, applies the configuration settings and - * restarts the apps if necessary. The default is false, which always restarts and - * reprovisions the apps + * true if reserved; otherwise, false. Default value: false. */ - softRestart?: boolean; -} - -/** - * Optional Parameters. - */ -export interface AppServicePlansListWebAppsOptionalParams extends msRest.RequestOptionsBase { + reserved?: boolean; /** - * 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 + * Obsolete: Hyper-V sandbox. Default value: false. */ - skipToken?: string; + isXenon?: boolean; /** - * Supported filter: $filter=state eq running. Returns only web apps that are currently running + * Hyper-V sandbox. Default value: false. */ - filter?: string; + hyperV?: boolean; /** - * List page size. If specified, results are paged. + * Last time the app was modified, in UTC. Read-only. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - top?: string; -} - -/** - * Optional Parameters. - */ -export interface AppServicePlansListUsagesOptionalParams extends msRest.RequestOptionsBase { + readonly lastModifiedTimeUtc?: Date; /** - * Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: - * $filter=(name.value eq 'Metric1' or name.value eq 'Metric2'). + * Configuration of the app. */ - filter?: string; -} - -/** - * Optional Parameters. - */ -export interface AppServicePlansListNextOptionalParams extends msRest.RequestOptionsBase { + siteConfig?: SiteConfig; /** - * 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. + * Azure Traffic Manager hostnames associated with the app. Read-only. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - detailed?: boolean; -} - -/** - * Optional Parameters. - */ -export interface AppServicePlansListWebAppsNextOptionalParams extends msRest.RequestOptionsBase { + readonly trafficManagerHostNames?: string[]; /** - * 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 + * true to stop SCM (KUDU) site when the app is stopped; otherwise, + * false. The default is false. Default value: false. */ - skipToken?: string; + scmSiteAlsoStopped?: boolean; /** - * Supported filter: $filter=state eq running. Returns only web apps that are currently running + * Specifies which deployment slot this app will swap into. Read-only. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - filter?: string; + readonly targetSwapSlot?: string; /** - * List page size. If specified, results are paged. + * App Service Environment to use for the app. */ - top?: string; -} - -/** - * Optional Parameters. - */ -export interface AppServicePlansListUsagesNextOptionalParams extends msRest.RequestOptionsBase { + hostingEnvironmentProfile?: HostingEnvironmentProfile; /** - * Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: - * $filter=(name.value eq 'Metric1' or name.value eq 'Metric2'). + * true to enable client affinity; false to stop sending session + * affinity cookies, which route client requests in the same session to the same instance. + * Default is true. */ - filter?: string; -} - -/** - * Optional Parameters. - */ -export interface CertificatesListOptionalParams extends msRest.RequestOptionsBase { + clientAffinityEnabled?: boolean; /** - * Return only information specified in the filter (using OData syntax). For example: - * $filter=KeyVaultId eq 'KeyVaultId' + * true to enable client certificate authentication (TLS mutual authentication); + * otherwise, false. Default is false. */ - filter?: string; -} - -/** - * Optional Parameters. - */ -export interface CertificatesListNextOptionalParams extends msRest.RequestOptionsBase { + clientCertEnabled?: boolean; /** - * Return only information specified in the filter (using OData syntax). For example: - * $filter=KeyVaultId eq 'KeyVaultId' + * 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', 'OptionalInteractiveUser' */ - filter?: string; -} - -/** - * Optional Parameters. - */ -export interface DiagnosticsGetHostingEnvironmentDetectorResponseOptionalParams extends msRest.RequestOptionsBase { + clientCertMode?: ClientCertMode; /** - * Start Time + * client certificate authentication comma-separated exclusion paths */ - startTime?: Date; + clientCertExclusionPaths?: string; /** - * End Time + * true to disable the public hostnames of the app; otherwise, false. + * If true, the app is only accessible via API management process. */ - endTime?: Date; + hostNamesDisabled?: boolean; /** - * Time Grain + * Unique identifier that verifies the custom domains assigned to the app. Customer will add this + * id to a txt record for verification. */ - timeGrain?: string; -} - -/** - * Optional Parameters. - */ -export interface DiagnosticsGetSiteDetectorResponseOptionalParams extends msRest.RequestOptionsBase { + customDomainVerificationId?: string; /** - * Start Time + * 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. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - startTime?: Date; + readonly outboundIpAddresses?: string; /** - * End Time + * List of IP addresses that the app uses for outbound connections (e.g. database access). + * Includes VIPs from all tenants except dataComponent. Read-only. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - endTime?: Date; + readonly possibleOutboundIpAddresses?: string; /** - * Time Grain + * Size of the function container. */ - timeGrain?: string; -} - -/** - * Optional Parameters. - */ -export interface DiagnosticsExecuteSiteAnalysisOptionalParams extends msRest.RequestOptionsBase { - /** - * Start Time - */ - startTime?: Date; + containerSize?: number; /** - * End Time + * Maximum allowed daily memory-time quota (applicable on dynamic apps only). */ - endTime?: Date; + dailyMemoryTimeQuota?: number; /** - * Time Grain + * App suspended till in case memory-time quota is exceeded. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - timeGrain?: string; -} - -/** - * Optional Parameters. - */ -export interface DiagnosticsExecuteSiteDetectorOptionalParams extends msRest.RequestOptionsBase { + readonly suspendedTill?: Date; /** - * Start Time + * Maximum number of workers. + * This only applies to Functions container. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - startTime?: Date; + readonly maxNumberOfWorkers?: number; /** - * End Time + * If specified during app creation, the app is cloned from a source app. */ - endTime?: Date; + cloningInfo?: CloningInfo; /** - * Time Grain + * Name of the resource group the app belongs to. Read-only. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - timeGrain?: string; -} - -/** - * Optional Parameters. - */ -export interface DiagnosticsGetSiteDetectorResponseSlotOptionalParams extends msRest.RequestOptionsBase { + readonly resourceGroup?: string; /** - * Start Time + * true if the app is a default container; otherwise, false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - startTime?: Date; + readonly isDefaultContainer?: boolean; /** - * End Time + * Default hostname of the app. Read-only. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - endTime?: Date; + readonly defaultHostName?: string; /** - * Time Grain + * Status of the last deployment slot swap operation. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - timeGrain?: string; -} - -/** - * Optional Parameters. - */ -export interface DiagnosticsExecuteSiteAnalysisSlotOptionalParams extends msRest.RequestOptionsBase { + readonly slotSwapStatus?: SlotSwapStatus; /** - * Start Time + * HttpsOnly: configures a web site to accept only https requests. Issues redirect for + * http requests */ - startTime?: Date; + httpsOnly?: boolean; /** - * End Time + * Site redundancy mode. Possible values include: 'None', 'Manual', 'Failover', 'ActiveActive', + * 'GeoRedundant' */ - endTime?: Date; + redundancyMode?: RedundancyMode; /** - * Time Grain + * Specifies an operation id if this site has a pending operation. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - timeGrain?: string; -} - -/** - * Optional Parameters. - */ -export interface DiagnosticsExecuteSiteDetectorSlotOptionalParams extends msRest.RequestOptionsBase { + readonly inProgressOperationId?: string; /** - * Start Time + * Checks if Customer provided storage account is required */ - startTime?: Date; + storageAccountRequired?: boolean; /** - * End Time + * Identity to use for Key Vault Reference authentication. */ - endTime?: Date; + keyVaultReferenceIdentity?: string; /** - * Time Grain + * Azure Resource Manager ID of the Virtual network and subnet to be joined by Regional VNET + * Integration. + * This must be of the form + * /subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName} */ - timeGrain?: string; + virtualNetworkSubnetId?: string; + identity?: ManagedServiceIdentity; } /** - * Optional Parameters. + * Used for getting PHP error logging flag. */ -export interface ProviderGetAvailableStacksOptionalParams extends msRest.RequestOptionsBase { +export interface SitePhpErrorLogFlag extends ProxyOnlyResource { /** - * Possible values include: 'Windows', 'Linux', 'WindowsFunctions', 'LinuxFunctions', 'All' + * Local log_errors setting. */ - osTypeSelected?: OsTypeSelected; -} - -/** - * Optional Parameters. - */ -export interface ProviderGetFunctionAppStacksOptionalParams extends msRest.RequestOptionsBase { + localLogErrors?: string; /** - * Stack OS Type. Possible values include: 'Windows', 'Linux', 'All' + * Master log_errors setting. */ - stackOsType?: StackOsType; -} - -/** - * Optional Parameters. - */ -export interface ProviderGetFunctionAppStacksForLocationOptionalParams extends msRest.RequestOptionsBase { + masterLogErrors?: string; /** - * Stack OS Type. Possible values include: 'Windows', 'Linux', 'All' + * Local log_errors_max_len setting. */ - stackOsType?: StackOsType1; -} - -/** - * Optional Parameters. - */ -export interface ProviderGetWebAppStacksForLocationOptionalParams extends msRest.RequestOptionsBase { + localLogErrorsMaxLength?: string; /** - * Stack OS Type. Possible values include: 'Windows', 'Linux', 'All' + * Master log_errors_max_len setting. */ - stackOsType?: StackOsType2; + masterLogErrorsMaxLength?: string; } /** - * Optional Parameters. + * Source control configuration for an app. */ -export interface ProviderGetWebAppStacksOptionalParams extends msRest.RequestOptionsBase { +export interface SiteSourceControl extends ProxyOnlyResource { /** - * Stack OS Type. Possible values include: 'Windows', 'Linux', 'All' + * Repository or source control URL. */ - stackOsType?: StackOsType3; -} - -/** - * Optional Parameters. - */ -export interface ProviderGetAvailableStacksOnPremOptionalParams extends msRest.RequestOptionsBase { + repoUrl?: string; /** - * Possible values include: 'Windows', 'Linux', 'WindowsFunctions', 'LinuxFunctions', 'All' + * Name of branch to use for deployment. */ - osTypeSelected?: OsTypeSelected1; -} - -/** - * Optional Parameters. - */ -export interface ProviderGetAvailableStacksNextOptionalParams extends msRest.RequestOptionsBase { + branch?: string; /** - * Possible values include: 'Windows', 'Linux', 'WindowsFunctions', 'LinuxFunctions', 'All' + * true to limit to manual integration; false to enable continuous + * integration (which configures webhooks into online repos like GitHub). */ - osTypeSelected?: OsTypeSelected; -} - -/** - * Optional Parameters. - */ -export interface ProviderGetFunctionAppStacksNextOptionalParams extends msRest.RequestOptionsBase { + isManualIntegration?: boolean; /** - * Stack OS Type. Possible values include: 'Windows', 'Linux', 'All' + * true if this is deployed via GitHub action. */ - stackOsType?: StackOsType; -} - -/** - * Optional Parameters. - */ -export interface ProviderGetFunctionAppStacksForLocationNextOptionalParams extends msRest.RequestOptionsBase { + isGitHubAction?: boolean; /** - * Stack OS Type. Possible values include: 'Windows', 'Linux', 'All' + * true to enable deployment rollback; otherwise, false. */ - stackOsType?: StackOsType1; -} - -/** - * Optional Parameters. - */ -export interface ProviderGetWebAppStacksForLocationNextOptionalParams extends msRest.RequestOptionsBase { + deploymentRollbackEnabled?: boolean; /** - * Stack OS Type. Possible values include: 'Windows', 'Linux', 'All' + * true for a Mercurial repository; false for a Git repository. */ - stackOsType?: StackOsType2; -} - -/** - * Optional Parameters. - */ -export interface ProviderGetWebAppStacksNextOptionalParams extends msRest.RequestOptionsBase { + isMercurial?: boolean; /** - * Stack OS Type. Possible values include: 'Windows', 'Linux', 'All' + * If GitHub Action is selected, than the associated configuration. */ - stackOsType?: StackOsType3; + gitHubActionConfiguration?: GitHubActionConfiguration; } /** - * Optional Parameters. + * Slot Config names azure resource. */ -export interface ProviderGetAvailableStacksOnPremNextOptionalParams extends msRest.RequestOptionsBase { +export interface SlotConfigNamesResource extends ProxyOnlyResource { /** - * Possible values include: 'Windows', 'Linux', 'WindowsFunctions', 'LinuxFunctions', 'All' + * List of connection string names. */ - osTypeSelected?: OsTypeSelected1; -} - -/** - * Optional Parameters. - */ -export interface RecommendationsListOptionalParams extends msRest.RequestOptionsBase { + connectionStringNames?: string[]; /** - * Specify true to return only the most critical recommendations. The default is - * false, which returns all recommendations. + * List of application settings names. */ - featured?: boolean; + appSettingNames?: string[]; /** - * 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] + * List of external Azure storage account identifiers. */ - filter?: string; + azureStorageConfigNames?: string[]; } /** - * Optional Parameters. + * A setting difference between two deployment slots of an app. */ -export interface RecommendationsListHistoryForHostingEnvironmentOptionalParams extends msRest.RequestOptionsBase { +export interface SlotDifference extends ProxyOnlyResource { /** - * Specify false to return all recommendations. The default is true, - * which returns only expired recommendations. + * Level of the difference: Information, Warning or Error. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - expiredOnly?: boolean; + readonly level?: string; /** - * 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] + * The type of the setting: General, AppSetting or ConnectionString. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - filter?: string; -} - -/** - * Optional Parameters. - */ -export interface RecommendationsListRecommendedRulesForHostingEnvironmentOptionalParams extends msRest.RequestOptionsBase { + readonly settingType?: string; /** - * Specify true to return only the most critical recommendations. The default is - * false, which returns all recommendations. + * Rule that describes how to process the setting difference during a slot swap. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - featured?: boolean; + readonly diffRule?: string; /** - * Return only channels specified in the filter. Filter is specified by using OData syntax. - * Example: $filter=channel eq 'Api' or channel eq 'Notification' + * Name of the setting. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - filter?: string; -} - -/** - * Optional Parameters. - */ -export interface RecommendationsGetRuleDetailsByHostingEnvironmentOptionalParams extends msRest.RequestOptionsBase { + readonly settingName?: string; /** - * Specify true to update the last-seen timestamp of the recommendation object. + * Value of the setting in the current slot. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - updateSeen?: boolean; + readonly valueInCurrentSlot?: string; /** - * The GUID of the recommendation object if you query an expired one. You don't need to specify - * it to query an active entry. + * Value of the setting in the target slot. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recommendationId?: string; + readonly valueInTargetSlot?: string; + /** + * Description of the setting difference. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly description?: string; } /** - * Optional Parameters. + * Specifies the web app that snapshot contents will be retrieved from. */ -export interface RecommendationsListHistoryForWebAppOptionalParams extends msRest.RequestOptionsBase { +export interface SnapshotRecoverySource { /** - * Specify false to return all recommendations. The default is true, - * which returns only expired recommendations. + * Geographical location of the source web app, e.g. SouthEastAsia, SouthCentralUS */ - expiredOnly?: boolean; + location?: string; /** - * 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] + * ARM resource ID of the source app. + * /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} + * for production slots and + * /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} + * for other slots. */ - filter?: string; + id?: string; } /** - * Optional Parameters. + * Details about app recovery operation. */ -export interface RecommendationsListRecommendedRulesForWebAppOptionalParams extends msRest.RequestOptionsBase { +export interface SnapshotRestoreRequest extends ProxyOnlyResource { /** - * Specify true to return only the most critical recommendations. The default is - * false, which returns all recommendations. + * Point in time in which the app restore should be done, formatted as a DateTime string. */ - featured?: boolean; + snapshotTime?: string; /** - * Return only channels specified in the filter. Filter is specified by using OData syntax. - * Example: $filter=channel eq 'Api' or channel eq 'Notification' + * Optional. Specifies the web app that snapshot contents will be retrieved from. + * If empty, the targeted web app will be used as the source. */ - filter?: string; -} - -/** - * Optional Parameters. - */ -export interface RecommendationsGetRuleDetailsByWebAppOptionalParams extends msRest.RequestOptionsBase { + recoverySource?: SnapshotRecoverySource; /** - * Specify true to update the last-seen timestamp of the recommendation object. + * If true the restore operation can overwrite source app; otherwise, + * false. */ - updateSeen?: boolean; + overwrite: 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. + * If true, site configuration, in addition to content, will be reverted. */ - recommendationId?: string; -} - -/** - * Optional Parameters. - */ -export interface RecommendationsListNextOptionalParams extends msRest.RequestOptionsBase { + recoverConfiguration?: boolean; /** - * Specify true to return only the most critical recommendations. The default is - * false, which returns all recommendations. + * If true, custom hostname conflicts will be ignored when recovering to a target web app. + * This setting is only necessary when RecoverConfiguration is enabled. */ - featured?: boolean; + ignoreConflictingHostNames?: 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] + * If true, the snapshot is retrieved from DRSecondary endpoint. */ - filter?: string; + useDRSecondary?: boolean; } /** - * Optional Parameters. + * Options for app content migration. */ -export interface RecommendationsListHistoryForHostingEnvironmentNextOptionalParams extends msRest.RequestOptionsBase { +export interface StorageMigrationOptions extends ProxyOnlyResource { /** - * Specify false to return all recommendations. The default is true, - * which returns only expired recommendations. + * AzureFiles connection string. */ - expiredOnly?: boolean; + azurefilesConnectionString: string; /** - * 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] + * AzureFiles share. */ - filter?: string; -} - -/** - * Optional Parameters. - */ -export interface RecommendationsListRecommendedRulesForHostingEnvironmentNextOptionalParams extends msRest.RequestOptionsBase { + azurefilesShare: string; /** - * Specify true to return only the most critical recommendations. The default is - * false, which returns all recommendations. + * trueif the app should be switched over; otherwise, false. Default + * value: false. */ - featured?: boolean; + switchSiteAfterMigration?: boolean; /** - * Return only channels specified in the filter. Filter is specified by using OData syntax. - * Example: $filter=channel eq 'Api' or channel eq 'Notification' + * true if the app should be read only during copy operation; otherwise, + * false. Default value: false. */ - filter?: string; + blockWriteAccessToSite?: boolean; } /** - * Optional Parameters. + * Response for a migration of app content request. */ -export interface RecommendationsListHistoryForWebAppNextOptionalParams extends msRest.RequestOptionsBase { - /** - * Specify false to return all recommendations. The default is true, - * which returns only expired recommendations. - */ - expiredOnly?: boolean; +export interface StorageMigrationResponse extends ProxyOnlyResource { /** - * 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] + * When server starts the migration process, it will return an operation ID identifying that + * particular migration operation. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - filter?: string; + readonly operationId?: string; } /** - * Optional Parameters. + * Swift Virtual Network Contract. This is used to enable the new Swift way of doing virtual + * network integration. */ -export interface RecommendationsListRecommendedRulesForWebAppNextOptionalParams extends msRest.RequestOptionsBase { +export interface SwiftVirtualNetwork extends ProxyOnlyResource { /** - * Specify true to return only the most critical recommendations. The default is - * false, which returns all recommendations. + * The Virtual Network subnet's resource ID. This is the subnet that this Web App will join. This + * subnet must have a delegation to Microsoft.Web/serverFarms defined first. */ - featured?: boolean; + subnetResourceId?: string; /** - * Return only channels specified in the filter. Filter is specified by using OData syntax. - * Example: $filter=channel eq 'Api' or channel eq 'Notification' + * A flag that specifies if the scale unit this Web App is on supports Swift integration. */ - filter?: string; + swiftSupported?: boolean; } /** - * Optional Parameters. + * Triggered Web Job Run Information. */ -export interface WebSiteManagementClientListBillingMetersOptionalParams extends msRest.RequestOptionsBase { +export interface TriggeredJobRun { /** - * Azure Location of billable resource + * Job ID. */ - billingLocation?: string; + webJobId?: string; /** - * App Service OS type meters used for + * Job name. */ - osType?: string; -} - -/** - * Optional Parameters. - */ -export interface WebSiteManagementClientCheckNameAvailabilityOptionalParams extends msRest.RequestOptionsBase { + webJobName?: string; /** - * Is fully qualified domain name. + * Job status. Possible values include: 'Success', 'Failed', 'Error' */ - isFqdn?: boolean; -} - -/** - * Optional Parameters. - */ -export interface WebSiteManagementClientListGeoRegionsOptionalParams extends msRest.RequestOptionsBase { + status?: TriggeredWebJobStatus; /** - * Name of SKU used to filter the regions. Possible values include: 'Free', 'Shared', 'Basic', - * 'Standard', 'Premium', 'Dynamic', 'Isolated', 'IsolatedV2', 'PremiumV2', 'PremiumV3', - * 'PremiumContainer', 'ElasticPremium', 'ElasticIsolated' + * Start time. */ - sku?: SkuName; + startTime?: Date; /** - * Specify true if you want to filter to only regions that support Linux workers. + * End time. */ - linuxWorkersEnabled?: boolean; + endTime?: Date; /** - * Specify true if you want to filter to only regions that support Xenon workers. + * Job duration. */ - xenonWorkersEnabled?: boolean; + duration?: string; /** - * Specify true if you want to filter to only regions that support Linux Consumption - * Workers. + * Output URL. */ - linuxDynamicWorkersEnabled?: boolean; + outputUrl?: string; + /** + * Error URL. + */ + errorUrl?: string; + /** + * Job URL. + */ + url?: string; + /** + * Job name. + */ + jobName?: string; + /** + * Job trigger. + */ + trigger?: string; } /** - * Optional Parameters. + * Triggered Web Job History. List of Triggered Web Job Run Information elements. */ -export interface WebSiteManagementClientListSiteIdentifiersAssignedToHostNameOptionalParams extends msRest.RequestOptionsBase { +export interface TriggeredJobHistory extends ProxyOnlyResource { /** - * Name of the object. + * List of triggered web job runs. */ - name?: string; + runs?: TriggeredJobRun[]; } /** - * Optional Parameters. + * Triggered Web Job Information. */ -export interface WebSiteManagementClientListBillingMetersNextOptionalParams extends msRest.RequestOptionsBase { +export interface TriggeredWebJob extends ProxyOnlyResource { /** - * Azure Location of billable resource + * Latest job run information. */ - billingLocation?: string; + latestRun?: TriggeredJobRun; /** - * App Service OS type meters used for + * History URL. */ - osType?: string; -} - -/** - * Optional Parameters. - */ -export interface WebSiteManagementClientListGeoRegionsNextOptionalParams extends msRest.RequestOptionsBase { + historyUrl?: string; /** - * Name of SKU used to filter the regions. Possible values include: 'Free', 'Shared', 'Basic', - * 'Standard', 'Premium', 'Dynamic', 'Isolated', 'IsolatedV2', 'PremiumV2', 'PremiumV3', - * 'PremiumContainer', 'ElasticPremium', 'ElasticIsolated' + * Scheduler Logs URL. */ - sku?: SkuName; + schedulerLogsUrl?: string; /** - * Specify true if you want to filter to only regions that support Linux workers. + * Run command. */ - linuxWorkersEnabled?: boolean; + runCommand?: string; /** - * Specify true if you want to filter to only regions that support Xenon workers. + * Job URL. */ - xenonWorkersEnabled?: boolean; + url?: string; /** - * Specify true if you want to filter to only regions that support Linux Consumption - * Workers. + * Extra Info URL. */ - linuxDynamicWorkersEnabled?: boolean; + extraInfoUrl?: string; + /** + * Job type. Possible values include: 'Continuous', 'Triggered' + */ + webJobType?: WebJobType; + /** + * Error information. + */ + error?: string; + /** + * Using SDK? + */ + usingSdk?: boolean; + /** + * Job settings. + */ + settings?: { [propertyName: string]: any }; } /** - * Optional Parameters. + * An interface representing WebSiteInstanceStatus. */ -export interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildOptionalParams extends msRest.RequestOptionsBase { +export interface WebSiteInstanceStatus extends ProxyOnlyResource { /** - * Specify true to force the update of the auth configuration on the function app - * even if an AzureStaticWebApps provider is already configured on the function app. The default - * is false. + * Possible values include: 'READY', 'STOPPED', 'UNKNOWN' */ - isForced?: boolean; + 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 }; } /** - * Optional Parameters. + * Web Job Information. */ -export interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteOptionalParams extends msRest.RequestOptionsBase { +export interface WebJob extends ProxyOnlyResource { /** - * Specify true to force the update of the auth configuration on the function app - * even if an AzureStaticWebApps provider is already configured on the function app. The default - * is false. + * Run command. */ - isForced?: boolean; + runCommand?: string; + /** + * Job URL. + */ + url?: string; + /** + * Extra Info URL. + */ + extraInfoUrl?: string; + /** + * Job type. Possible values include: 'Continuous', 'Triggered' + */ + webJobType?: WebJobType; + /** + * Error information. + */ + error?: string; + /** + * Using SDK? + */ + usingSdk?: boolean; + /** + * Job settings. + */ + settings?: { [propertyName: string]: any }; } /** * Optional Parameters. */ -export interface StaticSitesBeginRegisterUserProvidedFunctionAppWithStaticSiteBuildOptionalParams extends msRest.RequestOptionsBase { +export interface AppServiceCertificateOrdersResendRequestEmailsOptionalParams extends msRest.RequestOptionsBase { /** - * Specify true to force the update of the auth configuration on the function app - * even if an AzureStaticWebApps provider is already configured on the function app. The default - * is false. + * Name of the object. */ - isForced?: boolean; + name?: string; } /** * Optional Parameters. */ -export interface StaticSitesBeginRegisterUserProvidedFunctionAppWithStaticSiteOptionalParams extends msRest.RequestOptionsBase { +export interface CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseOptionalParams extends msRest.RequestOptionsBase { /** - * Specify true to force the update of the auth configuration on the function app - * even if an AzureStaticWebApps provider is already configured on the function app. The default - * is false. + * The start time for detector response. */ - isForced?: boolean; + startTime?: Date; + /** + * The end time for the detector response. + */ + endTime?: Date; + /** + * The time grain for the detector response. + */ + timeGrain?: string; } /** * Optional Parameters. */ -export interface WebAppsListByResourceGroupOptionalParams extends msRest.RequestOptionsBase { +export interface DomainsCheckAvailabilityOptionalParams 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. + * Name of the object. */ - includeSlots?: boolean; + name?: string; } /** * Optional Parameters. */ -export interface WebAppsDeleteMethodOptionalParams extends msRest.RequestOptionsBase { - /** - * If true, web app metrics are also deleted. - */ - deleteMetrics?: boolean; +export interface DomainsDeleteMethodOptionalParams extends msRest.RequestOptionsBase { /** - * Specify false if you want to keep empty App Service plan. By default, empty App Service plan - * is deleted. + * Specify true to delete the domain immediately. The default is false + * which deletes the domain after 24 hours. */ - deleteEmptyServerFarm?: boolean; + forceHardDeleteDomain?: boolean; } /** * Optional Parameters. */ -export interface WebAppsAnalyzeCustomHostnameOptionalParams extends msRest.RequestOptionsBase { +export interface AppServiceEnvironmentsDeleteMethodOptionalParams extends msRest.RequestOptionsBase { /** - * Custom hostname. + * Specify true to force the deletion even if the App Service Environment contains + * resources. The default is false. */ - hostName?: string; + forceDelete?: boolean; } /** * Optional Parameters. */ -export interface WebAppsStartWebSiteNetworkTraceOptionalParams extends msRest.RequestOptionsBase { - /** - * The duration to keep capturing in seconds. - */ - durationInSeconds?: number; - /** - * The maximum frame length in bytes (Optional). - */ - maxFrameLength?: number; +export interface AppServiceEnvironmentsListWebAppsOptionalParams extends msRest.RequestOptionsBase { /** - * The Blob URL to store capture file. + * Comma separated list of app properties to include. */ - sasUrl?: string; + propertiesToInclude?: string; } /** * Optional Parameters. */ -export interface WebAppsStartWebSiteNetworkTraceOperationOptionalParams extends msRest.RequestOptionsBase { - /** - * The duration to keep capturing in seconds. - */ - durationInSeconds?: number; - /** - * The maximum frame length in bytes (Optional). - */ - maxFrameLength?: number; +export interface AppServiceEnvironmentsListUsagesOptionalParams extends msRest.RequestOptionsBase { /** - * The Blob URL to store capture file. + * 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]'. */ - sasUrl?: string; + filter?: string; } /** * Optional Parameters. */ -export interface WebAppsListPerfMonCountersOptionalParams extends msRest.RequestOptionsBase { +export interface AppServiceEnvironmentsBeginDeleteMethodOptionalParams 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]'. + * Specify true to force the deletion even if the App Service Environment contains + * resources. The default is false. */ - filter?: string; + forceDelete?: boolean; } /** * Optional Parameters. */ -export interface WebAppsRestartOptionalParams extends msRest.RequestOptionsBase { - /** - * Specify true to apply the configuration settings and restarts the app only if necessary. By - * default, the API always restarts and reprovisions the app. - */ - softRestart?: boolean; +export interface AppServiceEnvironmentsListWebAppsNextOptionalParams extends msRest.RequestOptionsBase { /** - * Specify true to block until the app is restarted. By default, it is set to false, and the API - * responds immediately (asynchronous). + * Comma separated list of app properties to include. */ - synchronous?: boolean; + propertiesToInclude?: string; } /** * Optional Parameters. */ -export interface WebAppsDeleteSlotOptionalParams extends msRest.RequestOptionsBase { - /** - * If true, web app metrics are also deleted. - */ - deleteMetrics?: boolean; +export interface AppServiceEnvironmentsListUsagesNextOptionalParams extends msRest.RequestOptionsBase { /** - * Specify false if you want to keep empty App Service plan. By default, empty App Service plan - * is deleted. + * 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]'. */ - deleteEmptyServerFarm?: boolean; + filter?: string; } /** * Optional Parameters. */ -export interface WebAppsAnalyzeCustomHostnameSlotOptionalParams extends msRest.RequestOptionsBase { +export interface AppServicePlansListOptionalParams extends msRest.RequestOptionsBase { /** - * Custom hostname. + * 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. */ - hostName?: string; + detailed?: boolean; } /** * Optional Parameters. */ -export interface WebAppsStartWebSiteNetworkTraceSlotOptionalParams extends msRest.RequestOptionsBase { - /** - * The duration to keep capturing in seconds. - */ - durationInSeconds?: number; - /** - * The maximum frame length in bytes (Optional). - */ - maxFrameLength?: number; +export interface AppServicePlansRestartWebAppsOptionalParams extends msRest.RequestOptionsBase { /** - * The Blob URL to store capture file. + * Specify true to perform a soft restart, applies the configuration settings and + * restarts the apps if necessary. The default is false, which always restarts and + * reprovisions the apps */ - sasUrl?: string; + softRestart?: boolean; } /** * Optional Parameters. */ -export interface WebAppsStartWebSiteNetworkTraceOperationSlotOptionalParams extends msRest.RequestOptionsBase { +export interface AppServicePlansListWebAppsOptionalParams extends msRest.RequestOptionsBase { /** - * The duration to keep capturing in seconds. + * 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 */ - durationInSeconds?: number; + skipToken?: string; /** - * The maximum frame length in bytes (Optional). + * Supported filter: $filter=state eq running. Returns only web apps that are currently running */ - maxFrameLength?: number; + filter?: string; /** - * The Blob URL to store capture file. + * List page size. If specified, results are paged. */ - sasUrl?: string; + top?: string; } /** * Optional Parameters. */ -export interface WebAppsListPerfMonCountersSlotOptionalParams extends msRest.RequestOptionsBase { +export interface AppServicePlansListUsagesOptionalParams 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=(name.value eq 'Metric1' or name.value eq 'Metric2'). */ filter?: string; } @@ -11175,53 +10892,53 @@ export interface WebAppsListPerfMonCountersSlotOptionalParams extends msRest.Req /** * Optional Parameters. */ -export interface WebAppsRestartSlotOptionalParams extends msRest.RequestOptionsBase { - /** - * Specify true to apply the configuration settings and restarts the app only if necessary. By - * default, the API always restarts and reprovisions the app. - */ - softRestart?: boolean; +export interface AppServicePlansListNextOptionalParams extends msRest.RequestOptionsBase { /** - * Specify true to block until the app is restarted. By default, it is set to false, and the API - * responds immediately (asynchronous). + * 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. */ - synchronous?: boolean; + detailed?: boolean; } /** * Optional Parameters. */ -export interface WebAppsDeleteSourceControlSlotOptionalParams extends msRest.RequestOptionsBase { - additionalFlags?: string; +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 WebAppsStartNetworkTraceSlotOptionalParams extends msRest.RequestOptionsBase { - /** - * The duration to keep capturing in seconds. - */ - durationInSeconds?: number; - /** - * The maximum frame length in bytes (Optional). - */ - maxFrameLength?: number; +export interface AppServicePlansListUsagesNextOptionalParams extends msRest.RequestOptionsBase { /** - * The Blob URL to store capture file. + * Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: + * $filter=(name.value eq 'Metric1' or name.value eq 'Metric2'). */ - sasUrl?: string; + filter?: string; } /** * Optional Parameters. */ -export interface WebAppsListUsagesSlotOptionalParams extends msRest.RequestOptionsBase { +export interface CertificatesListOptionalParams 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=KeyVaultId eq 'KeyVaultId' */ filter?: string; } @@ -11229,889 +10946,1045 @@ export interface WebAppsListUsagesSlotOptionalParams extends msRest.RequestOptio /** * Optional Parameters. */ -export interface WebAppsDeleteSourceControlOptionalParams extends msRest.RequestOptionsBase { - additionalFlags?: string; +export interface CertificatesListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Return only information specified in the filter (using OData syntax). For example: + * $filter=KeyVaultId eq 'KeyVaultId' + */ + filter?: string; } /** * Optional Parameters. */ -export interface WebAppsStartNetworkTraceOptionalParams extends msRest.RequestOptionsBase { +export interface DiagnosticsGetHostingEnvironmentDetectorResponseOptionalParams extends msRest.RequestOptionsBase { /** - * The duration to keep capturing in seconds. + * Start Time */ - durationInSeconds?: number; + startTime?: Date; /** - * The maximum frame length in bytes (Optional). + * End Time */ - maxFrameLength?: number; + endTime?: Date; /** - * The Blob URL to store capture file. + * Time Grain */ - sasUrl?: string; + timeGrain?: string; } /** * Optional Parameters. */ -export interface WebAppsListUsagesOptionalParams extends msRest.RequestOptionsBase { +export interface DiagnosticsGetSiteDetectorResponseOptionalParams 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]'. + * Start Time */ - filter?: string; + startTime?: Date; + /** + * End Time + */ + endTime?: Date; + /** + * Time Grain + */ + timeGrain?: string; } /** * Optional Parameters. */ -export interface WebAppsBeginStartWebSiteNetworkTraceOperationOptionalParams extends msRest.RequestOptionsBase { +export interface DiagnosticsExecuteSiteAnalysisOptionalParams extends msRest.RequestOptionsBase { /** - * The duration to keep capturing in seconds. + * Start Time */ - durationInSeconds?: number; + startTime?: Date; /** - * The maximum frame length in bytes (Optional). + * End Time */ - maxFrameLength?: number; + endTime?: Date; /** - * The Blob URL to store capture file. + * Time Grain */ - sasUrl?: string; + timeGrain?: string; } /** * Optional Parameters. */ -export interface WebAppsBeginStartWebSiteNetworkTraceOperationSlotOptionalParams extends msRest.RequestOptionsBase { +export interface DiagnosticsExecuteSiteDetectorOptionalParams extends msRest.RequestOptionsBase { /** - * The duration to keep capturing in seconds. + * Start Time */ - durationInSeconds?: number; + startTime?: Date; /** - * The maximum frame length in bytes (Optional). + * End Time */ - maxFrameLength?: number; + endTime?: Date; /** - * The Blob URL to store capture file. + * Time Grain */ - sasUrl?: string; + timeGrain?: string; } /** * Optional Parameters. */ -export interface WebAppsBeginStartNetworkTraceSlotOptionalParams extends msRest.RequestOptionsBase { +export interface DiagnosticsGetSiteDetectorResponseSlotOptionalParams extends msRest.RequestOptionsBase { /** - * The duration to keep capturing in seconds. + * Start Time */ - durationInSeconds?: number; + startTime?: Date; /** - * The maximum frame length in bytes (Optional). + * End Time */ - maxFrameLength?: number; + endTime?: Date; /** - * The Blob URL to store capture file. + * Time Grain */ - sasUrl?: string; + timeGrain?: string; } /** * Optional Parameters. */ -export interface WebAppsBeginStartNetworkTraceOptionalParams extends msRest.RequestOptionsBase { +export interface DiagnosticsExecuteSiteAnalysisSlotOptionalParams extends msRest.RequestOptionsBase { /** - * The duration to keep capturing in seconds. + * Start Time */ - durationInSeconds?: number; + startTime?: Date; /** - * The maximum frame length in bytes (Optional). + * End Time */ - maxFrameLength?: number; + endTime?: Date; /** - * The Blob URL to store capture file. + * Time Grain */ - sasUrl?: string; + timeGrain?: string; } /** * Optional Parameters. */ -export interface WebAppsListByResourceGroupNextOptionalParams extends msRest.RequestOptionsBase { +export interface DiagnosticsExecuteSiteDetectorSlotOptionalParams 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. + * Start Time */ - includeSlots?: boolean; + startTime?: Date; + /** + * End Time + */ + endTime?: Date; + /** + * Time Grain + */ + timeGrain?: string; } /** * Optional Parameters. */ -export interface WebAppsListPerfMonCountersNextOptionalParams extends msRest.RequestOptionsBase { +export interface ProviderGetAvailableStacksOptionalParams 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]'. + * Possible values include: 'Windows', 'Linux', 'WindowsFunctions', 'LinuxFunctions', 'All' */ - filter?: string; + osTypeSelected?: OsTypeSelected; } /** * Optional Parameters. */ -export interface WebAppsListPerfMonCountersSlotNextOptionalParams extends msRest.RequestOptionsBase { +export interface ProviderGetFunctionAppStacksOptionalParams 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]'. + * Stack OS Type. Possible values include: 'Windows', 'Linux', 'All' */ - filter?: string; + stackOsType?: StackOsType; } /** * Optional Parameters. */ -export interface WebAppsListUsagesSlotNextOptionalParams extends msRest.RequestOptionsBase { +export interface ProviderGetFunctionAppStacksForLocationOptionalParams 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]'. + * Stack OS Type. Possible values include: 'Windows', 'Linux', 'All' */ - filter?: string; + stackOsType?: StackOsType1; } /** * Optional Parameters. */ -export interface WebAppsListUsagesNextOptionalParams extends msRest.RequestOptionsBase { +export interface ProviderGetWebAppStacksForLocationOptionalParams 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]'. + * Stack OS Type. Possible values include: 'Windows', 'Linux', 'All' */ - filter?: string; + stackOsType?: StackOsType2; } /** - * An interface representing WebSiteManagementClientOptions. + * Optional Parameters. */ -export interface WebSiteManagementClientOptions extends AzureServiceClientOptions { - baseUri?: string; +export interface ProviderGetWebAppStacksOptionalParams extends msRest.RequestOptionsBase { + /** + * Stack OS Type. Possible values include: 'Windows', 'Linux', 'All' + */ + stackOsType?: StackOsType3; } /** - * @interface - * Collection of certificate orders. - * @extends Array + * Optional Parameters. */ -export interface AppServiceCertificateOrderCollection extends Array { +export interface ProviderGetAvailableStacksOnPremOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Possible values include: 'Windows', 'Linux', 'WindowsFunctions', 'LinuxFunctions', 'All' */ - readonly nextLink?: string; + osTypeSelected?: OsTypeSelected1; } /** - * @interface - * Collection of certificate order certificates. - * @extends Array + * Optional Parameters. */ -export interface AppServiceCertificateCollection extends Array { +export interface ProviderGetAvailableStacksNextOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Possible values include: 'Windows', 'Linux', 'WindowsFunctions', 'LinuxFunctions', 'All' */ - readonly nextLink?: string; + osTypeSelected?: OsTypeSelected; } /** - * @interface - * Collection of detector responses - * @extends Array + * Optional Parameters. */ -export interface DetectorResponseCollection extends Array { +export interface ProviderGetFunctionAppStacksNextOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Stack OS Type. Possible values include: 'Windows', 'Linux', 'All' */ - readonly nextLink?: string; + stackOsType?: StackOsType; } /** - * @interface - * Collection of Azure resource manager operation metadata. - * @extends Array + * Optional Parameters. */ -export interface CsmOperationCollection extends Array { +export interface ProviderGetFunctionAppStacksForLocationNextOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Stack OS Type. Possible values include: 'Windows', 'Linux', 'All' */ - readonly nextLink?: string; + stackOsType?: StackOsType1; } /** - * @interface - * Collection of domains. - * @extends Array + * Optional Parameters. */ -export interface DomainCollection extends Array { +export interface ProviderGetWebAppStacksForLocationNextOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Stack OS Type. Possible values include: 'Windows', 'Linux', 'All' */ - readonly nextLink?: string; + stackOsType?: StackOsType2; } /** - * @interface - * Collection of domain name identifiers. - * @extends Array + * Optional Parameters. */ -export interface NameIdentifierCollection extends Array { +export interface ProviderGetWebAppStacksNextOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Stack OS Type. Possible values include: 'Windows', 'Linux', 'All' */ - readonly nextLink?: string; + stackOsType?: StackOsType3; } /** - * @interface - * Collection of domain ownership identifiers. - * @extends Array + * Optional Parameters. */ -export interface DomainOwnershipIdentifierCollection extends Array { +export interface ProviderGetAvailableStacksOnPremNextOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Possible values include: 'Windows', 'Linux', 'WindowsFunctions', 'LinuxFunctions', 'All' */ - readonly nextLink?: string; + osTypeSelected?: OsTypeSelected1; } /** - * @interface - * Collection of Top-level domains. - * @extends Array + * Optional Parameters. */ -export interface TopLevelDomainCollection extends Array { +export interface RecommendationsListOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specify true to return only the most critical recommendations. The default is + * false, which returns all recommendations. */ - readonly nextLink?: string; + 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; } /** - * @interface - * Collection of top-level domain legal agreements. - * @extends Array + * Optional Parameters. */ -export interface TldLegalAgreementCollection extends Array { +export interface RecommendationsListHistoryForHostingEnvironmentOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specify false to return all recommendations. The default is true, + * which returns only expired recommendations. */ - readonly nextLink?: string; + 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; } /** - * @interface - * Collection of App Service Environments. - * @extends Array + * Optional Parameters. */ -export interface AppServiceEnvironmentCollection extends Array { +export interface RecommendationsListRecommendedRulesForHostingEnvironmentOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specify true to return only the most critical recommendations. The default is + * false, which returns all recommendations. */ - readonly nextLink?: string; + 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; } /** - * @interface - * Collection of stamp capacities. - * @extends Array + * Optional Parameters. */ -export interface StampCapacityCollection extends Array { +export interface RecommendationsGetRuleDetailsByHostingEnvironmentOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specify true to update the last-seen timestamp of the recommendation object. */ - readonly nextLink?: string; + 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; } /** - * @interface - * Collection of App Service apps. - * @extends Array + * Optional Parameters. */ -export interface WebAppCollection extends Array { +export interface RecommendationsListHistoryForWebAppOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specify false to return all recommendations. The default is true, + * which returns only expired recommendations. */ - readonly nextLink?: string; + 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; } /** - * @interface - * Collection of Inbound Environment Endpoints - * @extends Array + * Optional Parameters. */ -export interface InboundEnvironmentEndpointCollection extends Array { +export interface RecommendationsListRecommendedRulesForWebAppOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specify true to return only the most critical recommendations. The default is + * false, which returns all recommendations. */ - readonly nextLink?: string; + 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; } /** - * @interface - * Collection of worker pools. - * @extends Array + * Optional Parameters. */ -export interface WorkerPoolCollection extends Array { +export interface RecommendationsGetRuleDetailsByWebAppOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specify true to update the last-seen timestamp of the recommendation object. */ - readonly nextLink?: string; + 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; } /** - * @interface - * Collection of metric definitions. - * @extends Array + * Optional Parameters. */ -export interface ResourceMetricDefinitionCollection extends Array { +export interface RecommendationsListNextOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specify true to return only the most critical recommendations. The default is + * false, which returns all recommendations. */ - readonly nextLink?: string; + 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; } /** - * @interface - * Collection of SKU information. - * @extends Array + * Optional Parameters. */ -export interface SkuInfoCollection extends Array { +export interface RecommendationsListHistoryForHostingEnvironmentNextOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specify false to return all recommendations. The default is true, + * which returns only expired recommendations. */ - readonly nextLink?: string; + 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; } /** - * @interface - * Collection of usages. - * @extends Array + * Optional Parameters. */ -export interface UsageCollection extends Array { +export interface RecommendationsListRecommendedRulesForHostingEnvironmentNextOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specify true to return only the most critical recommendations. The default is + * false, which returns all recommendations. */ - readonly nextLink?: string; + 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; } /** - * @interface - * Collection of Outbound Environment Endpoints - * @extends Array + * Optional Parameters. */ -export interface OutboundEnvironmentEndpointCollection extends Array { +export interface RecommendationsListHistoryForWebAppNextOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specify false to return all recommendations. The default is true, + * which returns only expired recommendations. */ - readonly nextLink?: string; + 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; } /** - * @interface - * An interface representing the PrivateEndpointConnectionCollection. - * @extends Array + * Optional Parameters. */ -export interface PrivateEndpointConnectionCollection extends Array { +export interface RecommendationsListRecommendedRulesForWebAppNextOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specify true to return only the most critical recommendations. The default is + * false, which returns all recommendations. */ - readonly nextLink?: string; + 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; } /** - * @interface - * Collection of App Service plans. - * @extends Array + * Optional Parameters. */ -export interface AppServicePlanCollection extends Array { +export interface WebSiteManagementClientListBillingMetersOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Azure Location of billable resource */ - readonly nextLink?: string; + billingLocation?: string; + /** + * App Service OS type meters used for + */ + osType?: string; } /** - * @interface - * Collection of CSM usage quotas. - * @extends Array + * Optional Parameters. */ -export interface CsmUsageQuotaCollection extends Array { +export interface WebSiteManagementClientCheckNameAvailabilityOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Is fully qualified domain name. */ - readonly nextLink?: string; + isFqdn?: boolean; } /** - * @interface - * Collection of resources. - * @extends Array + * Optional Parameters. */ -export interface ResourceCollection extends Array { +export interface WebSiteManagementClientListGeoRegionsOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Name of SKU used to filter the regions. Possible values include: 'Free', 'Shared', 'Basic', + * 'Standard', 'Premium', 'Dynamic', 'Isolated', 'IsolatedV2', 'PremiumV2', 'PremiumV3', + * 'PremiumContainer', 'ElasticPremium', 'ElasticIsolated' */ - readonly nextLink?: string; -} - -/** - * @interface - * Collection of hostname bindings. - * @extends Array - */ -export interface HybridConnectionCollection extends Array { + sku?: SkuName; /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specify true if you want to filter to only regions that support Linux workers. */ - readonly nextLink?: string; + 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; } /** - * @interface - * Collection of certificates. - * @extends Array + * Optional Parameters. */ -export interface CertificateCollection extends Array { +export interface WebSiteManagementClientListSiteIdentifiersAssignedToHostNameOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Name of the object. */ - readonly nextLink?: string; + name?: string; } /** - * @interface - * Collection of deleted apps. - * @extends Array + * Optional Parameters. */ -export interface DeletedWebAppCollection extends Array { +export interface WebSiteManagementClientListBillingMetersNextOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Azure Location of billable resource */ - readonly nextLink?: string; + billingLocation?: string; + /** + * App Service OS type meters used for + */ + osType?: string; } /** - * @interface - * Collection of Diagnostic Categories - * @extends Array + * Optional Parameters. */ -export interface DiagnosticCategoryCollection extends Array { +export interface WebSiteManagementClientListGeoRegionsNextOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Name of SKU used to filter the regions. Possible values include: 'Free', 'Shared', 'Basic', + * 'Standard', 'Premium', 'Dynamic', 'Isolated', 'IsolatedV2', 'PremiumV2', 'PremiumV3', + * 'PremiumContainer', 'ElasticPremium', 'ElasticIsolated' */ - readonly nextLink?: string; + 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; } /** - * @interface - * Collection of Diagnostic Analyses - * @extends Array + * Optional Parameters. */ -export interface DiagnosticAnalysisCollection extends Array { +export interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specify true to force the update of the auth configuration on the function app + * even if an AzureStaticWebApps provider is already configured on the function app. The default + * is false. */ - readonly nextLink?: string; + isForced?: boolean; } /** - * @interface - * Collection of Diagnostic Detectors - * @extends Array + * Optional Parameters. */ -export interface DiagnosticDetectorCollection extends Array { +export interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specify true to force the update of the auth configuration on the function app + * even if an AzureStaticWebApps provider is already configured on the function app. The default + * is false. */ - readonly nextLink?: string; + isForced?: boolean; } /** - * @interface - * Collection of Kubernetes Environments - * @extends Array + * Optional Parameters. */ -export interface KubeEnvironmentCollection extends Array { +export interface StaticSitesBeginRegisterUserProvidedFunctionAppWithStaticSiteBuildOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specify true to force the update of the auth configuration on the function app + * even if an AzureStaticWebApps provider is already configured on the function app. The default + * is false. */ - readonly nextLink?: string; + isForced?: boolean; } /** - * @interface - * Collection of Application Stacks - * @extends Array + * Optional Parameters. */ -export interface ApplicationStackCollection extends Array { +export interface StaticSitesBeginRegisterUserProvidedFunctionAppWithStaticSiteOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specify true to force the update of the auth configuration on the function app + * even if an AzureStaticWebApps provider is already configured on the function app. The default + * is false. */ - readonly nextLink?: string; + isForced?: boolean; } /** - * @interface - * Collection of Function app Stacks - * @extends Array + * Optional Parameters. */ -export interface FunctionAppStackCollection extends Array { +export interface WebAppsListByResourceGroupOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specify true to include deployment slots in results. The default is false, + * which only gives you the production slot of all apps. */ - readonly nextLink?: string; + includeSlots?: boolean; } /** - * @interface - * Collection of Web app Stacks - * @extends Array + * Optional Parameters. */ -export interface WebAppStackCollection extends Array { +export interface WebAppsDeleteMethodOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * If true, web app metrics are also deleted. */ - readonly nextLink?: string; + deleteMetrics?: boolean; + /** + * Specify false if you want to keep empty App Service plan. By default, empty App Service plan + * is deleted. + */ + deleteEmptyServerFarm?: boolean; } /** - * @interface - * Collection of recommendations. - * @extends Array + * Optional Parameters. */ -export interface RecommendationCollection extends Array { +export interface WebAppsAnalyzeCustomHostnameOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Custom hostname. */ - readonly nextLink?: string; + hostName?: string; } /** - * @interface - * Collection of resource health metadata. - * @extends Array + * Optional Parameters. */ -export interface ResourceHealthMetadataCollection extends Array { +export interface WebAppsStartWebSiteNetworkTraceOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The duration to keep capturing in seconds. */ - readonly nextLink?: string; + durationInSeconds?: number; + /** + * The maximum frame length in bytes (Optional). + */ + maxFrameLength?: number; + /** + * The Blob URL to store capture file. + */ + sasUrl?: string; } /** - * @interface - * Collection of source controls. - * @extends Array + * Optional Parameters. */ -export interface SourceControlCollection extends Array { +export interface WebAppsStartWebSiteNetworkTraceOperationOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The duration to keep capturing in seconds. */ - readonly nextLink?: string; + durationInSeconds?: number; + /** + * The maximum frame length in bytes (Optional). + */ + maxFrameLength?: number; + /** + * The Blob URL to store capture file. + */ + sasUrl?: string; } /** - * @interface - * Collection of Billing Meters - * @extends Array + * Optional Parameters. */ -export interface BillingMeterCollection extends Array { +export interface WebAppsListPerfMonCountersOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * 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]'. */ - readonly nextLink?: string; + filter?: string; } /** - * @interface - * Collection of geographical regions. - * @extends Array + * Optional Parameters. */ -export interface GeoRegionCollection extends Array { +export interface WebAppsRestartOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specify true to apply the configuration settings and restarts the app only if necessary. By + * default, the API always restarts and reprovisions the app. */ - readonly nextLink?: string; + softRestart?: boolean; + /** + * Specify true to block until the app is restarted. By default, it is set to false, and the API + * responds immediately (asynchronous). + */ + synchronous?: boolean; } /** - * @interface - * Collection of identifiers. - * @extends Array + * Optional Parameters. */ -export interface IdentifierCollection extends Array { +export interface WebAppsDeleteSlotOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * If true, web app metrics are also deleted. */ - readonly nextLink?: string; + deleteMetrics?: boolean; + /** + * Specify false if you want to keep empty App Service plan. By default, empty App Service plan + * is deleted. + */ + deleteEmptyServerFarm?: boolean; } /** - * @interface - * Collection of premier add-on offers. - * @extends Array + * Optional Parameters. */ -export interface PremierAddOnOfferCollection extends Array { +export interface WebAppsAnalyzeCustomHostnameSlotOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Custom hostname. */ - readonly nextLink?: string; + hostName?: string; } /** - * @interface - * Collection of static sites. - * @extends Array + * Optional Parameters. */ -export interface StaticSiteCollection extends Array { +export interface WebAppsStartWebSiteNetworkTraceSlotOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The duration to keep capturing in seconds. */ - readonly nextLink?: string; + durationInSeconds?: number; + /** + * The maximum frame length in bytes (Optional). + */ + maxFrameLength?: number; + /** + * The Blob URL to store capture file. + */ + sasUrl?: string; } /** - * @interface - * Collection of static site custom users. - * @extends Array + * Optional Parameters. */ -export interface StaticSiteUserCollection extends Array { +export interface WebAppsStartWebSiteNetworkTraceOperationSlotOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The duration to keep capturing in seconds. */ - readonly nextLink?: string; + durationInSeconds?: number; + /** + * The maximum frame length in bytes (Optional). + */ + maxFrameLength?: number; + /** + * The Blob URL to store capture file. + */ + sasUrl?: string; } /** - * @interface - * Collection of static site builds. - * @extends Array + * Optional Parameters. */ -export interface StaticSiteBuildCollection extends Array { +export interface WebAppsListPerfMonCountersSlotOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * 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]'. */ - readonly nextLink?: string; + filter?: string; } /** - * @interface - * Collection of static site functions. - * @extends Array + * Optional Parameters. */ -export interface StaticSiteFunctionOverviewCollection extends Array { +export interface WebAppsRestartSlotOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specify true to apply the configuration settings and restarts the app only if necessary. By + * default, the API always restarts and reprovisions the app. */ - readonly nextLink?: string; + softRestart?: boolean; + /** + * Specify true to block until the app is restarted. By default, it is set to false, and the API + * responds immediately (asynchronous). + */ + synchronous?: boolean; } /** - * @interface - * Collection of static site user provided function apps. - * @extends Array + * Optional Parameters. */ -export interface StaticSiteUserProvidedFunctionAppsCollection 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; +export interface WebAppsDeleteSourceControlSlotOptionalParams extends msRest.RequestOptionsBase { + additionalFlags?: string; } /** - * @interface - * Collection of static site custom domains. - * @extends Array + * Optional Parameters. */ -export interface StaticSiteCustomDomainOverviewCollection extends Array { +export interface WebAppsStartNetworkTraceSlotOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The duration to keep capturing in seconds. */ - readonly nextLink?: string; + durationInSeconds?: number; + /** + * The maximum frame length in bytes (Optional). + */ + maxFrameLength?: number; + /** + * The Blob URL to store capture file. + */ + sasUrl?: string; } /** - * @interface - * Collection of backup items. - * @extends Array + * Optional Parameters. */ -export interface BackupItemCollection extends Array { +export interface WebAppsListUsagesSlotOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * 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]'. */ - readonly nextLink?: string; + filter?: string; } /** - * @interface - * Publishing Credentials Policies entity collection ARM resource. - * @extends Array + * Optional Parameters. */ -export interface PublishingCredentialsPoliciesCollection 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; +export interface WebAppsDeleteSourceControlOptionalParams extends msRest.RequestOptionsBase { + additionalFlags?: string; } /** - * @interface - * Collection of site configurations. - * @extends Array + * Optional Parameters. */ -export interface SiteConfigResourceCollection extends Array { +export interface WebAppsStartNetworkTraceOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The duration to keep capturing in seconds. */ - readonly nextLink?: string; + durationInSeconds?: number; + /** + * The maximum frame length in bytes (Optional). + */ + maxFrameLength?: number; + /** + * The Blob URL to store capture file. + */ + sasUrl?: string; } /** - * @interface - * An interface representing the ApiKVReferenceCollection. - * @extends Array + * Optional Parameters. */ -export interface ApiKVReferenceCollection extends Array { +export interface WebAppsListUsagesOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * 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]'. */ - readonly nextLink?: string; + filter?: string; } /** - * @interface - * Collection of metadata for the app configuration snapshots that can be restored. - * @extends Array + * Optional Parameters. */ -export interface SiteConfigurationSnapshotInfoCollection extends Array { +export interface WebAppsBeginStartWebSiteNetworkTraceOperationOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The duration to keep capturing in seconds. */ - readonly nextLink?: string; + durationInSeconds?: number; + /** + * The maximum frame length in bytes (Optional). + */ + maxFrameLength?: number; + /** + * The Blob URL to store capture file. + */ + sasUrl?: string; } /** - * @interface - * Collection of Kudu continuous web job information elements. - * @extends Array + * Optional Parameters. */ -export interface ContinuousWebJobCollection extends Array { +export interface WebAppsBeginRestartOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specify true to apply the configuration settings and restarts the app only if necessary. By + * default, the API always restarts and reprovisions the app. */ - readonly nextLink?: string; + softRestart?: boolean; + /** + * Specify true to block until the app is restarted. By default, it is set to false, and the API + * responds immediately (asynchronous). + */ + synchronous?: boolean; } /** - * @interface - * Collection of app deployments. - * @extends Array + * Optional Parameters. */ -export interface DeploymentCollection extends Array { +export interface WebAppsBeginStartWebSiteNetworkTraceOperationSlotOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The duration to keep capturing in seconds. */ - readonly nextLink?: string; + durationInSeconds?: number; + /** + * The maximum frame length in bytes (Optional). + */ + maxFrameLength?: number; + /** + * The Blob URL to store capture file. + */ + sasUrl?: string; } /** - * @interface - * Collection of Kudu function information elements. - * @extends Array + * Optional Parameters. */ -export interface FunctionEnvelopeCollection extends Array { +export interface WebAppsBeginRestartSlotOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specify true to apply the configuration settings and restarts the app only if necessary. By + * default, the API always restarts and reprovisions the app. */ - readonly nextLink?: string; + softRestart?: boolean; + /** + * Specify true to block until the app is restarted. By default, it is set to false, and the API + * responds immediately (asynchronous). + */ + synchronous?: boolean; } /** - * @interface - * Collection of hostname bindings. - * @extends Array + * Optional Parameters. */ -export interface HostNameBindingCollection extends Array { +export interface WebAppsBeginStartNetworkTraceSlotOptionalParams extends msRest.RequestOptionsBase { /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The duration to keep capturing in seconds. */ - readonly nextLink?: string; + durationInSeconds?: number; + /** + * The maximum frame length in bytes (Optional). + */ + maxFrameLength?: number; + /** + * The Blob URL to store capture file. + */ + sasUrl?: string; +} + +/** + * Optional Parameters. + */ +export interface WebAppsBeginStartNetworkTraceOptionalParams extends msRest.RequestOptionsBase { + /** + * The duration to keep capturing in seconds. + */ + durationInSeconds?: number; + /** + * The maximum frame length in bytes (Optional). + */ + maxFrameLength?: number; + /** + * The Blob URL to store capture file. + */ + 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; +} + +/** + * An interface representing WebSiteManagementClientOptions. + */ +export interface WebSiteManagementClientOptions extends AzureServiceClientOptions { + baseUri?: string; } /** * @interface - * Collection of app instances. - * @extends Array + * Collection of certificate orders. + * @extends Array */ -export interface WebAppInstanceStatusCollection extends Array { +export interface AppServiceCertificateOrderCollection extends Array { /** * Link to next page of resources. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -12121,10 +11994,10 @@ export interface WebAppInstanceStatusCollection extends Array + * Collection of certificate order certificates. + * @extends Array */ -export interface ProcessInfoCollection extends Array { +export interface AppServiceCertificateCollection extends Array { /** * Link to next page of resources. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -12134,10 +12007,10 @@ export interface ProcessInfoCollection extends Array { /** * @interface - * Collection of Kudu thread information elements. - * @extends Array + * Collection of detector responses + * @extends Array */ -export interface ProcessModuleInfoCollection extends Array { +export interface DetectorResponseCollection extends Array { /** * Link to next page of resources. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -12147,10 +12020,10 @@ export interface ProcessModuleInfoCollection extends Array { /** * @interface - * Collection of Kudu thread information elements. - * @extends Array + * Collection of Azure resource manager operation metadata. + * @extends Array */ -export interface ProcessThreadInfoCollection extends Array { +export interface CsmOperationCollection extends Array { /** * Link to next page of resources. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -12160,10 +12033,10 @@ export interface ProcessThreadInfoCollection extends Array { /** * @interface - * Collection of performance monitor counters. - * @extends Array + * Collection of domains. + * @extends Array */ -export interface PerfMonCounterCollection extends Array { +export interface DomainCollection extends Array { /** * Link to next page of resources. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -12173,10 +12046,10 @@ export interface PerfMonCounterCollection extends Array { /** * @interface - * Collection of public certificates - * @extends Array + * Collection of domain name identifiers. + * @extends Array */ -export interface PublicCertificateCollection extends Array { +export interface NameIdentifierCollection extends Array { /** * Link to next page of resources. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -12186,10 +12059,10 @@ export interface PublicCertificateCollection extends Array { /** * @interface - * Collection of Kudu site extension information elements. - * @extends Array + * Collection of domain ownership identifiers. + * @extends Array */ -export interface SiteExtensionInfoCollection extends Array { +export interface DomainOwnershipIdentifierCollection extends Array { /** * Link to next page of resources. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -12199,10 +12072,10 @@ export interface SiteExtensionInfoCollection extends Array { /** * @interface - * Collection of slot differences. - * @extends Array + * Collection of Top-level domains. + * @extends Array */ -export interface SlotDifferenceCollection extends Array { +export interface TopLevelDomainCollection extends Array { /** * Link to next page of resources. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -12212,10 +12085,10 @@ export interface SlotDifferenceCollection extends Array { /** * @interface - * Collection of snapshots which can be used to revert an app to a previous time. - * @extends Array + * Collection of top-level domain legal agreements. + * @extends Array */ -export interface SnapshotCollection extends Array { +export interface TldLegalAgreementCollection extends Array { /** * Link to next page of resources. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -12225,10 +12098,10 @@ export interface SnapshotCollection extends Array { /** * @interface - * Collection of Kudu continuous web job information elements. - * @extends Array + * Collection of App Service Environments. + * @extends Array */ -export interface TriggeredWebJobCollection extends Array { +export interface AppServiceEnvironmentCollection extends Array { /** * Link to next page of resources. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -12238,10 +12111,10 @@ export interface TriggeredWebJobCollection extends Array { /** * @interface - * Collection of Kudu continuous web job information elements. - * @extends Array + * Collection of stamp capacities. + * @extends Array */ -export interface TriggeredJobHistoryCollection extends Array { +export interface StampCapacityCollection extends Array { /** * Link to next page of resources. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -12251,10 +12124,10 @@ export interface TriggeredJobHistoryCollection extends Array + * Collection of App Service apps. + * @extends Array */ -export interface WebJobCollection extends Array { +export interface WebAppCollection extends Array { /** * Link to next page of resources. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -12263,737 +12136,1807 @@ export interface WebJobCollection extends Array { } /** - * Defines values for KeyVaultSecretStatus. - * Possible values include: 'Initialized', 'WaitingOnCertificateOrder', 'Succeeded', - * 'CertificateOrderFailed', 'OperationNotPermittedOnKeyVault', - * 'AzureServiceUnauthorizedToAccessKeyVault', 'KeyVaultDoesNotExist', - * 'KeyVaultSecretDoesNotExist', 'UnknownError', 'ExternalPrivateKey', 'Unknown' - * @readonly - * @enum {string} + * @interface + * Collection of Inbound Environment Endpoints + * @extends Array */ -export type KeyVaultSecretStatus = 'Initialized' | 'WaitingOnCertificateOrder' | 'Succeeded' | 'CertificateOrderFailed' | 'OperationNotPermittedOnKeyVault' | 'AzureServiceUnauthorizedToAccessKeyVault' | 'KeyVaultDoesNotExist' | 'KeyVaultSecretDoesNotExist' | 'UnknownError' | 'ExternalPrivateKey' | 'Unknown'; +export interface InboundEnvironmentEndpointCollection 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; +} /** - * Defines values for CertificateProductType. - * Possible values include: 'StandardDomainValidatedSsl', 'StandardDomainValidatedWildCardSsl' - * @readonly - * @enum {string} + * @interface + * Collection of worker pools. + * @extends Array */ -export type CertificateProductType = 'StandardDomainValidatedSsl' | 'StandardDomainValidatedWildCardSsl'; +export interface WorkerPoolCollection 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; +} /** - * Defines values for ProvisioningState. - * Possible values include: 'Succeeded', 'Failed', 'Canceled', 'InProgress', 'Deleting' - * @readonly - * @enum {string} + * @interface + * Collection of metric definitions. + * @extends Array */ -export type ProvisioningState = 'Succeeded' | 'Failed' | 'Canceled' | 'InProgress' | 'Deleting'; +export interface ResourceMetricDefinitionCollection 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; +} /** - * Defines values for CertificateOrderStatus. - * Possible values include: 'Pendingissuance', 'Issued', 'Revoked', 'Canceled', 'Denied', - * 'Pendingrevocation', 'PendingRekey', 'Unused', 'Expired', 'NotSubmitted' - * @readonly - * @enum {string} + * @interface + * Collection of SKU information. + * @extends Array */ -export type CertificateOrderStatus = 'Pendingissuance' | 'Issued' | 'Revoked' | 'Canceled' | 'Denied' | 'Pendingrevocation' | 'PendingRekey' | 'Unused' | 'Expired' | 'NotSubmitted'; +export interface SkuInfoCollection 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; +} /** - * Defines values for CertificateOrderActionType. - * Possible values include: 'CertificateIssued', 'CertificateOrderCanceled', - * 'CertificateOrderCreated', 'CertificateRevoked', 'DomainValidationComplete', 'FraudDetected', - * 'OrgNameChange', 'OrgValidationComplete', 'SanDrop', 'FraudCleared', 'CertificateExpired', - * 'CertificateExpirationWarning', 'FraudDocumentationRequired', 'Unknown' - * @readonly - * @enum {string} + * @interface + * Collection of usages. + * @extends Array */ -export type CertificateOrderActionType = 'CertificateIssued' | 'CertificateOrderCanceled' | 'CertificateOrderCreated' | 'CertificateRevoked' | 'DomainValidationComplete' | 'FraudDetected' | 'OrgNameChange' | 'OrgValidationComplete' | 'SanDrop' | 'FraudCleared' | 'CertificateExpired' | 'CertificateExpirationWarning' | 'FraudDocumentationRequired' | 'Unknown'; +export interface UsageCollection 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; +} /** - * Defines values for RouteType. - * Possible values include: 'DEFAULT', 'INHERITED', 'STATIC' - * @readonly - * @enum {string} + * @interface + * Collection of Outbound Environment Endpoints + * @extends Array */ -export type RouteType = 'DEFAULT' | 'INHERITED' | 'STATIC'; +export interface OutboundEnvironmentEndpointCollection 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; +} /** - * Defines values for InsightStatus. - * Possible values include: 'Critical', 'Warning', 'Info', 'Success', 'None' - * @readonly - * @enum {string} + * @interface + * An interface representing the PrivateEndpointConnectionCollection. + * @extends Array */ -export type InsightStatus = 'Critical' | 'Warning' | 'Info' | 'Success' | 'None'; +export interface PrivateEndpointConnectionCollection 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; +} /** - * Defines values for RenderingType. - * Possible values include: 'NoGraph', 'Table', 'TimeSeries', 'TimeSeriesPerInstance', 'PieChart', - * 'DataSummary', 'Email', 'Insights', 'DynamicInsight', 'Markdown', 'Detector', 'DropDown', - * 'Card', 'Solution', 'Guage', 'Form', 'ChangeSets', 'ChangeAnalysisOnboarding', 'ChangesView', - * 'AppInsight', 'DependencyGraph', 'DownTime', 'SummaryCard', 'SearchComponent', - * 'AppInsightEnablement' - * @readonly - * @enum {string} + * @interface + * Collection of App Service plans. + * @extends Array */ -export type RenderingType = 'NoGraph' | 'Table' | 'TimeSeries' | 'TimeSeriesPerInstance' | 'PieChart' | 'DataSummary' | 'Email' | 'Insights' | 'DynamicInsight' | 'Markdown' | 'Detector' | 'DropDown' | 'Card' | 'Solution' | 'Guage' | 'Form' | 'ChangeSets' | 'ChangeAnalysisOnboarding' | 'ChangesView' | 'AppInsight' | 'DependencyGraph' | 'DownTime' | 'SummaryCard' | 'SearchComponent' | 'AppInsightEnablement'; +export interface AppServicePlanCollection 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; +} /** - * Defines values for DetectorType. - * Possible values include: 'Detector', 'Analysis', 'CategoryOverview' - * @readonly - * @enum {string} + * @interface + * Collection of CSM usage quotas. + * @extends Array */ -export type DetectorType = 'Detector' | 'Analysis' | 'CategoryOverview'; +export interface CsmUsageQuotaCollection 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; +} /** - * Defines values for ManagedServiceIdentityType. - * Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', - * 'None' - * @readonly - * @enum {string} + * @interface + * Collection of resources. + * @extends Array */ -export type ManagedServiceIdentityType = 'SystemAssigned' | 'UserAssigned' | 'SystemAssigned, UserAssigned' | 'None'; +export interface ResourceCollection 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; +} /** - * Defines values for AzureStorageType. - * Possible values include: 'AzureFiles', 'AzureBlob' - * @readonly - * @enum {string} + * @interface + * Collection of hostname bindings. + * @extends Array */ -export type AzureStorageType = 'AzureFiles' | 'AzureBlob'; +export interface HybridConnectionCollection 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; +} /** - * Defines values for AzureStorageState. - * Possible values include: 'Ok', 'InvalidCredentials', 'InvalidShare', 'NotValidated' - * @readonly - * @enum {string} + * @interface + * Collection of certificates. + * @extends Array */ -export type AzureStorageState = 'Ok' | 'InvalidCredentials' | 'InvalidShare' | 'NotValidated'; +export interface CertificateCollection 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; +} /** - * Defines values for IpFilterTag. - * Possible values include: 'Default', 'XffProxy', 'ServiceTag' - * @readonly - * @enum {string} + * @interface + * Collection of hostname bindings. + * @extends Array */ -export type IpFilterTag = 'Default' | 'XffProxy' | 'ServiceTag'; +export interface HostNameBindingCollection 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; +} /** - * Defines values for AutoHealActionType. - * Possible values include: 'Recycle', 'LogEvent', 'CustomAction' - * @readonly - * @enum {string} + * @interface + * Container App collection ARM resource. + * @extends Array */ -export type AutoHealActionType = 'Recycle' | 'LogEvent' | 'CustomAction'; +export interface ContainerAppCollection 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; +} /** - * Defines values for ConnectionStringType. - * Possible values include: 'MySql', 'SQLServer', 'SQLAzure', 'Custom', 'NotificationHub', - * 'ServiceBus', 'EventHub', 'ApiHub', 'DocDb', 'RedisCache', 'PostgreSQL' - * @readonly - * @enum {string} + * @interface + * Container App Revisions collection ARM resource. + * @extends Array */ -export type ConnectionStringType = 'MySql' | 'SQLServer' | 'SQLAzure' | 'Custom' | 'NotificationHub' | 'ServiceBus' | 'EventHub' | 'ApiHub' | 'DocDb' | 'RedisCache' | 'PostgreSQL'; +export interface RevisionCollection 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; +} /** - * Defines values for ScmType. - * Possible values include: 'None', 'Dropbox', 'Tfs', 'LocalGit', 'GitHub', 'CodePlexGit', - * 'CodePlexHg', 'BitbucketGit', 'BitbucketHg', 'ExternalGit', 'ExternalHg', 'OneDrive', 'VSO', - * 'VSTSRM' - * @readonly - * @enum {string} + * @interface + * Collection of deleted apps. + * @extends Array */ -export type ScmType = 'None' | 'Dropbox' | 'Tfs' | 'LocalGit' | 'GitHub' | 'CodePlexGit' | 'CodePlexHg' | 'BitbucketGit' | 'BitbucketHg' | 'ExternalGit' | 'ExternalHg' | 'OneDrive' | 'VSO' | 'VSTSRM'; +export interface DeletedWebAppCollection 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; +} /** - * Defines values for ManagedPipelineMode. - * Possible values include: 'Integrated', 'Classic' - * @readonly - * @enum {string} + * @interface + * Collection of Diagnostic Categories + * @extends Array */ -export type ManagedPipelineMode = 'Integrated' | 'Classic'; +export interface DiagnosticCategoryCollection 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; +} /** - * Defines values for SiteLoadBalancing. - * Possible values include: 'WeightedRoundRobin', 'LeastRequests', 'LeastResponseTime', - * 'WeightedTotalTraffic', 'RequestHash', 'PerSiteRoundRobin' - * @readonly - * @enum {string} + * @interface + * Collection of Diagnostic Analyses + * @extends Array */ -export type SiteLoadBalancing = 'WeightedRoundRobin' | 'LeastRequests' | 'LeastResponseTime' | 'WeightedTotalTraffic' | 'RequestHash' | 'PerSiteRoundRobin'; +export interface DiagnosticAnalysisCollection 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; +} /** - * Defines values for SupportedTlsVersions. - * Possible values include: '1.0', '1.1', '1.2' - * @readonly - * @enum {string} + * @interface + * Collection of Diagnostic Detectors + * @extends Array */ -export type SupportedTlsVersions = '1.0' | '1.1' | '1.2'; +export interface DiagnosticDetectorCollection 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; +} /** - * Defines values for FtpsState. - * Possible values include: 'AllAllowed', 'FtpsOnly', 'Disabled' - * @readonly - * @enum {string} + * @interface + * Collection of Kubernetes Environments + * @extends Array */ -export type FtpsState = 'AllAllowed' | 'FtpsOnly' | 'Disabled'; +export interface KubeEnvironmentCollection 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; +} /** - * Defines values for SslState. - * Possible values include: 'Disabled', 'SniEnabled', 'IpBasedEnabled' - * @readonly - * @enum {string} + * @interface + * Collection of Application Stacks + * @extends Array */ -export type SslState = 'Disabled' | 'SniEnabled' | 'IpBasedEnabled'; +export interface ApplicationStackCollection 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; +} /** - * Defines values for HostType. - * Possible values include: 'Standard', 'Repository' - * @readonly - * @enum {string} + * @interface + * Collection of Function app Stacks + * @extends Array */ -export type HostType = 'Standard' | 'Repository'; +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; +} /** - * Defines values for UsageState. - * Possible values include: 'Normal', 'Exceeded' - * @readonly - * @enum {string} + * @interface + * Collection of Web app Stacks + * @extends Array */ -export type UsageState = 'Normal' | 'Exceeded'; +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; +} /** - * Defines values for SiteAvailabilityState. - * Possible values include: 'Normal', 'Limited', 'DisasterRecoveryMode' - * @readonly - * @enum {string} + * @interface + * Collection of recommendations. + * @extends Array */ -export type SiteAvailabilityState = 'Normal' | 'Limited' | 'DisasterRecoveryMode'; +export interface RecommendationCollection 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; +} /** - * Defines values for ClientCertMode. - * Possible values include: 'Required', 'Optional', 'OptionalInteractiveUser' - * @readonly - * @enum {string} + * @interface + * Collection of resource health metadata. + * @extends Array */ -export type ClientCertMode = 'Required' | 'Optional' | 'OptionalInteractiveUser'; +export interface ResourceHealthMetadataCollection 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; +} /** - * Defines values for RedundancyMode. - * Possible values include: 'None', 'Manual', 'Failover', 'ActiveActive', 'GeoRedundant' - * @readonly - * @enum {string} + * @interface + * Collection of source controls. + * @extends Array */ -export type RedundancyMode = 'None' | 'Manual' | 'Failover' | 'ActiveActive' | 'GeoRedundant'; +export interface SourceControlCollection 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; +} /** - * Defines values for StatusOptions. - * Possible values include: 'Ready', 'Pending', 'Creating' - * @readonly - * @enum {string} + * @interface + * Collection of Billing Meters + * @extends Array */ -export type StatusOptions = 'Ready' | 'Pending' | 'Creating'; +export interface BillingMeterCollection 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; +} /** - * Defines values for DomainStatus. - * Possible values include: 'Active', 'Awaiting', 'Cancelled', 'Confiscated', 'Disabled', - * 'Excluded', 'Expired', 'Failed', 'Held', 'Locked', 'Parked', 'Pending', 'Reserved', 'Reverted', - * 'Suspended', 'Transferred', 'Unknown', 'Unlocked', 'Unparked', 'Updated', 'JsonConverterFailed' - * @readonly - * @enum {string} + * @interface + * Collection of custom hostname sites + * @extends Array */ -export type DomainStatus = 'Active' | 'Awaiting' | 'Cancelled' | 'Confiscated' | 'Disabled' | 'Excluded' | 'Expired' | 'Failed' | 'Held' | 'Locked' | 'Parked' | 'Pending' | 'Reserved' | 'Reverted' | 'Suspended' | 'Transferred' | 'Unknown' | 'Unlocked' | 'Unparked' | 'Updated' | 'JsonConverterFailed'; +export interface CustomHostnameSitesCollection 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; +} /** - * Defines values for AzureResourceType. - * Possible values include: 'Website', 'TrafficManager' - * @readonly - * @enum {string} + * @interface + * Collection of geographical regions. + * @extends Array */ -export type AzureResourceType = 'Website' | 'TrafficManager'; +export interface GeoRegionCollection 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; +} /** - * Defines values for CustomHostNameDnsRecordType. - * Possible values include: 'CName', 'A' - * @readonly - * @enum {string} + * @interface + * Collection of identifiers. + * @extends Array */ -export type CustomHostNameDnsRecordType = 'CName' | 'A'; +export interface IdentifierCollection 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; +} /** - * Defines values for HostNameType. - * Possible values include: 'Verified', 'Managed' - * @readonly - * @enum {string} + * @interface + * Collection of premier add-on offers. + * @extends Array */ -export type HostNameType = 'Verified' | 'Managed'; +export interface PremierAddOnOfferCollection 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; +} /** - * Defines values for DnsType. - * Possible values include: 'AzureDns', 'DefaultDomainRegistrarDns' - * @readonly - * @enum {string} + * @interface + * Collection of static sites. + * @extends Array */ -export type DnsType = 'AzureDns' | 'DefaultDomainRegistrarDns'; +export interface StaticSiteCollection 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; +} /** - * Defines values for DomainType. - * Possible values include: 'Regular', 'SoftDeleted' - * @readonly - * @enum {string} + * @interface + * Collection of static site custom users. + * @extends Array */ -export type DomainType = 'Regular' | 'SoftDeleted'; +export interface StaticSiteUserCollection 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; +} /** - * Defines values for HostingEnvironmentStatus. - * Possible values include: 'Preparing', 'Ready', 'Scaling', 'Deleting' - * @readonly - * @enum {string} + * @interface + * Collection of static site builds. + * @extends Array */ -export type HostingEnvironmentStatus = 'Preparing' | 'Ready' | 'Scaling' | 'Deleting'; +export interface StaticSiteBuildCollection 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; +} /** - * Defines values for LoadBalancingMode. - * Possible values include: 'None', 'Web', 'Publishing', 'Web, Publishing' - * @readonly - * @enum {string} + * @interface + * Collection of static site functions. + * @extends Array */ -export type LoadBalancingMode = 'None' | 'Web' | 'Publishing' | 'Web, Publishing'; +export interface StaticSiteFunctionOverviewCollection 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; +} /** - * Defines values for ComputeModeOptions. - * Possible values include: 'Shared', 'Dedicated', 'Dynamic' - * @readonly - * @enum {string} + * @interface + * Collection of static site user provided function apps. + * @extends Array */ -export type ComputeModeOptions = 'Shared' | 'Dedicated' | 'Dynamic'; +export interface StaticSiteUserProvidedFunctionAppsCollection 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; +} /** - * Defines values for WorkerSizeOptions. - * Possible values include: 'Small', 'Medium', 'Large', 'D1', 'D2', 'D3', 'SmallV3', 'MediumV3', - * 'LargeV3', 'NestedSmall', 'NestedSmallLinux', 'Default' - * @readonly - * @enum {string} + * @interface + * Collection of static site custom domains. + * @extends Array */ -export type WorkerSizeOptions = 'Small' | 'Medium' | 'Large' | 'D1' | 'D2' | 'D3' | 'SmallV3' | 'MediumV3' | 'LargeV3' | 'NestedSmall' | 'NestedSmallLinux' | 'Default'; +export interface StaticSiteCustomDomainOverviewCollection 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; +} /** - * Defines values for OperationStatus. - * Possible values include: 'InProgress', 'Failed', 'Succeeded', 'TimedOut', 'Created' - * @readonly - * @enum {string} + * @interface + * Collection of backup items. + * @extends Array */ -export type OperationStatus = 'InProgress' | 'Failed' | 'Succeeded' | 'TimedOut' | 'Created'; +export interface BackupItemCollection 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; +} /** - * Defines values for IssueType. - * Possible values include: 'ServiceIncident', 'AppDeployment', 'AppCrash', 'RuntimeIssueDetected', - * 'AseDeployment', 'UserIssue', 'PlatformIssue', 'Other' - * @readonly - * @enum {string} + * @interface + * Publishing Credentials Policies entity collection ARM resource. + * @extends Array */ -export type IssueType = 'ServiceIncident' | 'AppDeployment' | 'AppCrash' | 'RuntimeIssueDetected' | 'AseDeployment' | 'UserIssue' | 'PlatformIssue' | 'Other'; +export interface PublishingCredentialsPoliciesCollection 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; +} /** - * Defines values for SolutionType. - * Possible values include: 'QuickSolution', 'DeepInvestigation', 'BestPractices' - * @readonly - * @enum {string} + * @interface + * Collection of site configurations. + * @extends Array */ -export type SolutionType = 'QuickSolution' | 'DeepInvestigation' | 'BestPractices'; +export interface SiteConfigResourceCollection 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; +} /** - * Defines values for StorageType. - * Possible values include: 'LocalNode', 'NetworkFileSystem' - * @readonly - * @enum {string} + * @interface + * An interface representing the ApiKVReferenceCollection. + * @extends Array */ -export type StorageType = 'LocalNode' | 'NetworkFileSystem'; +export interface ApiKVReferenceCollection 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; +} /** - * Defines values for FrontEndServiceType. - * Possible values include: 'NodePort', 'LoadBalancer' - * @readonly - * @enum {string} + * @interface + * Collection of metadata for the app configuration snapshots that can be restored. + * @extends Array */ -export type FrontEndServiceType = 'NodePort' | 'LoadBalancer'; +export interface SiteConfigurationSnapshotInfoCollection 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; +} /** - * Defines values for KubeEnvironmentProvisioningState. - * Possible values include: 'Succeeded', 'Failed', 'Canceled', 'Waiting', - * 'InitializationInProgress', 'InfrastructureSetupInProgress', 'InfrastructureSetupComplete', - * 'ScheduledForDelete', 'UpgradeRequested', 'UpgradeFailed' - * @readonly - * @enum {string} + * @interface + * Collection of Kudu continuous web job information elements. + * @extends Array */ -export type KubeEnvironmentProvisioningState = 'Succeeded' | 'Failed' | 'Canceled' | 'Waiting' | 'InitializationInProgress' | 'InfrastructureSetupInProgress' | 'InfrastructureSetupComplete' | 'ScheduledForDelete' | 'UpgradeRequested' | 'UpgradeFailed'; +export interface ContinuousWebJobCollection 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; +} /** - * Defines values for StackPreferredOs. - * Possible values include: 'Windows', 'Linux' - * @readonly - * @enum {string} + * @interface + * Collection of app deployments. + * @extends Array */ -export type StackPreferredOs = 'Windows' | 'Linux'; +export interface DeploymentCollection 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; +} /** - * Defines values for ResourceScopeType. - * Possible values include: 'ServerFarm', 'Subscription', 'WebSite' - * @readonly - * @enum {string} + * @interface + * Collection of Kudu function information elements. + * @extends Array */ -export type ResourceScopeType = 'ServerFarm' | 'Subscription' | 'WebSite'; +export interface FunctionEnvelopeCollection 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; +} /** - * Defines values for NotificationLevel. - * Possible values include: 'Critical', 'Warning', 'Information', 'NonUrgentSuggestion' - * @readonly - * @enum {string} + * @interface + * Collection of app instances. + * @extends Array */ -export type NotificationLevel = 'Critical' | 'Warning' | 'Information' | 'NonUrgentSuggestion'; +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.** + */ + readonly nextLink?: string; +} /** - * Defines values for Channels. - * Possible values include: 'Notification', 'Api', 'Email', 'Webhook', 'All' - * @readonly - * @enum {string} + * @interface + * Collection of Kudu process information elements. + * @extends Array */ -export type Channels = 'Notification' | 'Api' | 'Email' | 'Webhook' | 'All'; +export interface ProcessInfoCollection 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; +} /** - * Defines values for AppServicePlanRestrictions. - * Possible values include: 'None', 'Free', 'Shared', 'Basic', 'Standard', 'Premium' - * @readonly - * @enum {string} + * @interface + * Collection of Kudu thread information elements. + * @extends Array */ -export type AppServicePlanRestrictions = 'None' | 'Free' | 'Shared' | 'Basic' | 'Standard' | 'Premium'; +export interface ProcessModuleInfoCollection 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; +} /** - * Defines values for InAvailabilityReasonType. - * Possible values include: 'Invalid', 'AlreadyExists' - * @readonly - * @enum {string} + * @interface + * Collection of Kudu thread information elements. + * @extends Array */ -export type InAvailabilityReasonType = 'Invalid' | 'AlreadyExists'; +export interface ProcessThreadInfoCollection 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; +} /** - * Defines values for CheckNameResourceTypes. - * Possible values include: 'Site', 'Slot', 'HostingEnvironment', 'PublishingUser', - * 'Microsoft.Web/sites', 'Microsoft.Web/sites/slots', 'Microsoft.Web/hostingEnvironments', - * 'Microsoft.Web/publishingUsers' - * @readonly - * @enum {string} + * @interface + * Collection of performance monitor counters. + * @extends Array */ -export type CheckNameResourceTypes = 'Site' | 'Slot' | 'HostingEnvironment' | 'PublishingUser' | 'Microsoft.Web/sites' | 'Microsoft.Web/sites/slots' | 'Microsoft.Web/hostingEnvironments' | 'Microsoft.Web/publishingUsers'; +export interface PerfMonCounterCollection 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; +} /** - * Defines values for ValidateResourceTypes. - * Possible values include: 'ServerFarm', 'Site', 'Microsoft.Web/hostingEnvironments' - * @readonly - * @enum {string} + * @interface + * Collection of public certificates + * @extends Array */ -export type ValidateResourceTypes = 'ServerFarm' | 'Site' | 'Microsoft.Web/hostingEnvironments'; +export interface PublicCertificateCollection 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; +} /** - * Defines values for StagingEnvironmentPolicy. - * Possible values include: 'Enabled', 'Disabled' - * @readonly - * @enum {string} + * @interface + * Collection of Kudu site extension information elements. + * @extends Array */ -export type StagingEnvironmentPolicy = 'Enabled' | 'Disabled'; +export interface SiteExtensionInfoCollection 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; +} /** - * Defines values for BuildStatus. - * Possible values include: 'WaitingForDeployment', 'Uploading', 'Deploying', 'Ready', 'Failed', - * 'Deleting', 'Detached' - * @readonly - * @enum {string} + * @interface + * Collection of slot differences. + * @extends Array */ -export type BuildStatus = 'WaitingForDeployment' | 'Uploading' | 'Deploying' | 'Ready' | 'Failed' | 'Deleting' | 'Detached'; +export interface SlotDifferenceCollection 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; +} /** - * Defines values for CustomDomainStatus. - * Possible values include: 'RetrievingValidationToken', 'Validating', 'Adding', 'Ready', 'Failed', - * 'Deleting' - * @readonly - * @enum {string} + * @interface + * Collection of snapshots which can be used to revert an app to a previous time. + * @extends Array */ -export type CustomDomainStatus = 'RetrievingValidationToken' | 'Validating' | 'Adding' | 'Ready' | 'Failed' | 'Deleting'; +export interface SnapshotCollection 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; +} /** - * Defines values for TriggerTypes. - * Possible values include: 'HttpTrigger', 'Unknown' - * @readonly - * @enum {string} + * @interface + * Collection of Kudu continuous web job information elements. + * @extends Array */ -export type TriggerTypes = 'HttpTrigger' | 'Unknown'; +export interface TriggeredWebJobCollection 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; +} /** - * Defines values for ResolveStatus. - * Possible values include: 'Initialized', 'Resolved', 'InvalidSyntax', 'MSINotEnabled', - * 'VaultNotFound', 'SecretNotFound', 'SecretVersionNotFound', 'AccessToKeyVaultDenied', - * 'OtherReasons', 'FetchTimedOut', 'UnauthorizedClient' - * @readonly - * @enum {string} + * @interface + * Collection of Kudu continuous web job information elements. + * @extends Array */ -export type ResolveStatus = 'Initialized' | 'Resolved' | 'InvalidSyntax' | 'MSINotEnabled' | 'VaultNotFound' | 'SecretNotFound' | 'SecretVersionNotFound' | 'AccessToKeyVaultDenied' | 'OtherReasons' | 'FetchTimedOut' | 'UnauthorizedClient'; - -/** - * Defines values for ConfigReferenceSource. - * Possible values include: 'KeyVault' +export interface TriggeredJobHistoryCollection 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 Kudu web job information elements. + * @extends Array + */ +export interface WebJobCollection 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; +} + +/** + * Defines values for KeyVaultSecretStatus. + * Possible values include: 'Initialized', 'WaitingOnCertificateOrder', 'Succeeded', + * 'CertificateOrderFailed', 'OperationNotPermittedOnKeyVault', + * 'AzureServiceUnauthorizedToAccessKeyVault', 'KeyVaultDoesNotExist', + * 'KeyVaultSecretDoesNotExist', 'UnknownError', 'ExternalPrivateKey', 'Unknown' * @readonly * @enum {string} */ -export type ConfigReferenceSource = 'KeyVault'; +export type KeyVaultSecretStatus = 'Initialized' | 'WaitingOnCertificateOrder' | 'Succeeded' | 'CertificateOrderFailed' | 'OperationNotPermittedOnKeyVault' | 'AzureServiceUnauthorizedToAccessKeyVault' | 'KeyVaultDoesNotExist' | 'KeyVaultSecretDoesNotExist' | 'UnknownError' | 'ExternalPrivateKey' | 'Unknown'; /** - * Defines values for LogLevel. - * Possible values include: 'Off', 'Verbose', 'Information', 'Warning', 'Error' + * Defines values for CertificateProductType. + * Possible values include: 'StandardDomainValidatedSsl', 'StandardDomainValidatedWildCardSsl' * @readonly * @enum {string} */ -export type LogLevel = 'Off' | 'Verbose' | 'Information' | 'Warning' | 'Error'; +export type CertificateProductType = 'StandardDomainValidatedSsl' | 'StandardDomainValidatedWildCardSsl'; /** - * Defines values for BackupItemStatus. - * Possible values include: 'InProgress', 'Failed', 'Succeeded', 'TimedOut', 'Created', 'Skipped', - * 'PartiallySucceeded', 'DeleteInProgress', 'DeleteFailed', 'Deleted' + * Defines values for ProvisioningState. + * Possible values include: 'Succeeded', 'Failed', 'Canceled', 'InProgress', 'Deleting' * @readonly * @enum {string} */ -export type BackupItemStatus = 'InProgress' | 'Failed' | 'Succeeded' | 'TimedOut' | 'Created' | 'Skipped' | 'PartiallySucceeded' | 'DeleteInProgress' | 'DeleteFailed' | 'Deleted'; +export type ProvisioningState = 'Succeeded' | 'Failed' | 'Canceled' | 'InProgress' | 'Deleting'; /** - * Defines values for DatabaseType. - * Possible values include: 'SqlAzure', 'MySql', 'LocalMySql', 'PostgreSql' + * Defines values for CertificateOrderStatus. + * Possible values include: 'Pendingissuance', 'Issued', 'Revoked', 'Canceled', 'Denied', + * 'Pendingrevocation', 'PendingRekey', 'Unused', 'Expired', 'NotSubmitted' * @readonly * @enum {string} */ -export type DatabaseType = 'SqlAzure' | 'MySql' | 'LocalMySql' | 'PostgreSql'; +export type CertificateOrderStatus = 'Pendingissuance' | 'Issued' | 'Revoked' | 'Canceled' | 'Denied' | 'Pendingrevocation' | 'PendingRekey' | 'Unused' | 'Expired' | 'NotSubmitted'; /** - * Defines values for FrequencyUnit. - * Possible values include: 'Day', 'Hour' + * Defines values for CertificateOrderActionType. + * Possible values include: 'CertificateIssued', 'CertificateOrderCanceled', + * 'CertificateOrderCreated', 'CertificateRevoked', 'DomainValidationComplete', 'FraudDetected', + * 'OrgNameChange', 'OrgValidationComplete', 'SanDrop', 'FraudCleared', 'CertificateExpired', + * 'CertificateExpirationWarning', 'FraudDocumentationRequired', 'Unknown' * @readonly * @enum {string} */ -export type FrequencyUnit = 'Day' | 'Hour'; +export type CertificateOrderActionType = 'CertificateIssued' | 'CertificateOrderCanceled' | 'CertificateOrderCreated' | 'CertificateRevoked' | 'DomainValidationComplete' | 'FraudDetected' | 'OrgNameChange' | 'OrgValidationComplete' | 'SanDrop' | 'FraudCleared' | 'CertificateExpired' | 'CertificateExpirationWarning' | 'FraudDocumentationRequired' | 'Unknown'; /** - * Defines values for ContinuousWebJobStatus. - * Possible values include: 'Initializing', 'Starting', 'Running', 'PendingRestart', 'Stopped' + * Defines values for RouteType. + * Possible values include: 'DEFAULT', 'INHERITED', 'STATIC' * @readonly * @enum {string} */ -export type ContinuousWebJobStatus = 'Initializing' | 'Starting' | 'Running' | 'PendingRestart' | 'Stopped'; +export type RouteType = 'DEFAULT' | 'INHERITED' | 'STATIC'; /** - * Defines values for WebJobType. - * Possible values include: 'Continuous', 'Triggered' + * Defines values for AzureResourceType. + * Possible values include: 'Website', 'TrafficManager' * @readonly * @enum {string} */ -export type WebJobType = 'Continuous' | 'Triggered'; +export type AzureResourceType = 'Website' | 'TrafficManager'; /** - * Defines values for CookieExpirationConvention. - * Possible values include: 'FixedTime', 'IdentityProviderDerived' + * Defines values for CustomHostNameDnsRecordType. + * Possible values include: 'CName', 'A' * @readonly * @enum {string} */ -export type CookieExpirationConvention = 'FixedTime' | 'IdentityProviderDerived'; +export type CustomHostNameDnsRecordType = 'CName' | 'A'; /** - * Defines values for PublishingProfileFormat. - * Possible values include: 'FileZilla3', 'WebDeploy', 'Ftp' + * Defines values for HostNameType. + * Possible values include: 'Verified', 'Managed' * @readonly * @enum {string} */ -export type PublishingProfileFormat = 'FileZilla3' | 'WebDeploy' | 'Ftp'; +export type HostNameType = 'Verified' | 'Managed'; /** - * Defines values for DnsVerificationTestResult. - * Possible values include: 'Passed', 'Failed', 'Skipped' + * Defines values for SslState. + * Possible values include: 'Disabled', 'SniEnabled', 'IpBasedEnabled' * @readonly * @enum {string} */ -export type DnsVerificationTestResult = 'Passed' | 'Failed' | 'Skipped'; +export type SslState = 'Disabled' | 'SniEnabled' | 'IpBasedEnabled'; /** - * Defines values for ClientCredentialMethod. - * Possible values include: 'ClientSecretPost' + * Defines values for InsightStatus. + * Possible values include: 'Critical', 'Warning', 'Info', 'Success', 'None' * @readonly * @enum {string} */ -export type ClientCredentialMethod = 'ClientSecretPost'; +export type InsightStatus = 'Critical' | 'Warning' | 'Info' | 'Success' | 'None'; /** - * Defines values for ForwardProxyConvention. - * Possible values include: 'NoProxy', 'Standard', 'Custom' + * Defines values for RenderingType. + * Possible values include: 'NoGraph', 'Table', 'TimeSeries', 'TimeSeriesPerInstance', 'PieChart', + * 'DataSummary', 'Email', 'Insights', 'DynamicInsight', 'Markdown', 'Detector', 'DropDown', + * 'Card', 'Solution', 'Guage', 'Form', 'ChangeSets', 'ChangeAnalysisOnboarding', 'ChangesView', + * 'AppInsight', 'DependencyGraph', 'DownTime', 'SummaryCard', 'SearchComponent', + * 'AppInsightEnablement' * @readonly * @enum {string} */ -export type ForwardProxyConvention = 'NoProxy' | 'Standard' | 'Custom'; +export type RenderingType = 'NoGraph' | 'Table' | 'TimeSeries' | 'TimeSeriesPerInstance' | 'PieChart' | 'DataSummary' | 'Email' | 'Insights' | 'DynamicInsight' | 'Markdown' | 'Detector' | 'DropDown' | 'Card' | 'Solution' | 'Guage' | 'Form' | 'ChangeSets' | 'ChangeAnalysisOnboarding' | 'ChangesView' | 'AppInsight' | 'DependencyGraph' | 'DownTime' | 'SummaryCard' | 'SearchComponent' | 'AppInsightEnablement'; /** - * Defines values for UnauthenticatedClientActionV2. - * Possible values include: 'RedirectToLoginPage', 'AllowAnonymous', 'Return401', 'Return403' + * Defines values for DetectorType. + * Possible values include: 'Detector', 'Analysis', 'CategoryOverview' * @readonly * @enum {string} */ -export type UnauthenticatedClientActionV2 = 'RedirectToLoginPage' | 'AllowAnonymous' | 'Return401' | 'Return403'; +export type DetectorType = 'Detector' | 'Analysis' | 'CategoryOverview'; /** - * Defines values for MSDeployLogEntryType. - * Possible values include: 'Message', 'Warning', 'Error' + * Defines values for ManagedServiceIdentityType. + * Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', + * 'None' * @readonly * @enum {string} */ -export type MSDeployLogEntryType = 'Message' | 'Warning' | 'Error'; +export type ManagedServiceIdentityType = 'SystemAssigned' | 'UserAssigned' | 'SystemAssigned, UserAssigned' | 'None'; /** - * Defines values for MSDeployProvisioningState. - * Possible values include: 'accepted', 'running', 'succeeded', 'failed', 'canceled' + * Defines values for AzureStorageType. + * Possible values include: 'AzureFiles', 'AzureBlob' * @readonly * @enum {string} */ -export type MSDeployProvisioningState = 'accepted' | 'running' | 'succeeded' | 'failed' | 'canceled'; +export type AzureStorageType = 'AzureFiles' | 'AzureBlob'; /** - * Defines values for MySqlMigrationType. - * Possible values include: 'LocalToRemote', 'RemoteToLocal' + * Defines values for AzureStorageState. + * Possible values include: 'Ok', 'InvalidCredentials', 'InvalidShare', 'NotValidated' * @readonly * @enum {string} */ -export type MySqlMigrationType = 'LocalToRemote' | 'RemoteToLocal'; +export type AzureStorageState = 'Ok' | 'InvalidCredentials' | 'InvalidShare' | 'NotValidated'; /** - * Defines values for PublicCertificateLocation. - * Possible values include: 'CurrentUserMy', 'LocalMachineMy', 'Unknown' + * Defines values for IpFilterTag. + * Possible values include: 'Default', 'XffProxy', 'ServiceTag' * @readonly * @enum {string} */ -export type PublicCertificateLocation = 'CurrentUserMy' | 'LocalMachineMy' | 'Unknown'; +export type IpFilterTag = 'Default' | 'XffProxy' | 'ServiceTag'; /** - * Defines values for BackupRestoreOperationType. - * Possible values include: 'Default', 'Clone', 'Relocation', 'Snapshot', 'CloudFS' + * Defines values for AutoHealActionType. + * Possible values include: 'Recycle', 'LogEvent', 'CustomAction' * @readonly * @enum {string} */ -export type BackupRestoreOperationType = 'Default' | 'Clone' | 'Relocation' | 'Snapshot' | 'CloudFS'; +export type AutoHealActionType = 'Recycle' | 'LogEvent' | 'CustomAction'; /** - * Defines values for UnauthenticatedClientAction. - * Possible values include: 'RedirectToLoginPage', 'AllowAnonymous' + * Defines values for ConnectionStringType. + * Possible values include: 'MySql', 'SQLServer', 'SQLAzure', 'Custom', 'NotificationHub', + * 'ServiceBus', 'EventHub', 'ApiHub', 'DocDb', 'RedisCache', 'PostgreSQL' * @readonly * @enum {string} */ -export type UnauthenticatedClientAction = 'RedirectToLoginPage' | 'AllowAnonymous'; +export type ConnectionStringType = 'MySql' | 'SQLServer' | 'SQLAzure' | 'Custom' | 'NotificationHub' | 'ServiceBus' | 'EventHub' | 'ApiHub' | 'DocDb' | 'RedisCache' | 'PostgreSQL'; /** - * Defines values for BuiltInAuthenticationProvider. - * Possible values include: 'AzureActiveDirectory', 'Facebook', 'Google', 'MicrosoftAccount', - * 'Twitter', 'Github' + * Defines values for ScmType. + * Possible values include: 'None', 'Dropbox', 'Tfs', 'LocalGit', 'GitHub', 'CodePlexGit', + * 'CodePlexHg', 'BitbucketGit', 'BitbucketHg', 'ExternalGit', 'ExternalHg', 'OneDrive', 'VSO', + * 'VSTSRM' * @readonly * @enum {string} */ -export type BuiltInAuthenticationProvider = 'AzureActiveDirectory' | 'Facebook' | 'Google' | 'MicrosoftAccount' | 'Twitter' | 'Github'; +export type ScmType = 'None' | 'Dropbox' | 'Tfs' | 'LocalGit' | 'GitHub' | 'CodePlexGit' | 'CodePlexHg' | 'BitbucketGit' | 'BitbucketHg' | 'ExternalGit' | 'ExternalHg' | 'OneDrive' | 'VSO' | 'VSTSRM'; /** - * Defines values for CloneAbilityResult. - * Possible values include: 'Cloneable', 'PartiallyCloneable', 'NotCloneable' + * Defines values for ManagedPipelineMode. + * Possible values include: 'Integrated', 'Classic' * @readonly * @enum {string} */ -export type CloneAbilityResult = 'Cloneable' | 'PartiallyCloneable' | 'NotCloneable'; +export type ManagedPipelineMode = 'Integrated' | 'Classic'; /** - * Defines values for SiteExtensionType. - * Possible values include: 'Gallery', 'WebRoot' + * Defines values for SiteLoadBalancing. + * Possible values include: 'WeightedRoundRobin', 'LeastRequests', 'LeastResponseTime', + * 'WeightedTotalTraffic', 'RequestHash', 'PerSiteRoundRobin' * @readonly * @enum {string} */ -export type SiteExtensionType = 'Gallery' | 'WebRoot'; +export type SiteLoadBalancing = 'WeightedRoundRobin' | 'LeastRequests' | 'LeastResponseTime' | 'WeightedTotalTraffic' | 'RequestHash' | 'PerSiteRoundRobin'; /** - * Defines values for TriggeredWebJobStatus. - * Possible values include: 'Success', 'Failed', 'Error' + * Defines values for SupportedTlsVersions. + * Possible values include: '1.0', '1.1', '1.2' * @readonly * @enum {string} */ -export type TriggeredWebJobStatus = 'Success' | 'Failed' | 'Error'; +export type SupportedTlsVersions = '1.0' | '1.1' | '1.2'; /** - * Defines values for SiteRuntimeState. - * Possible values include: 'READY', 'STOPPED', 'UNKNOWN' + * Defines values for FtpsState. + * Possible values include: 'AllAllowed', 'FtpsOnly', 'Disabled' * @readonly * @enum {string} */ -export type SiteRuntimeState = 'READY' | 'STOPPED' | 'UNKNOWN'; +export type FtpsState = 'AllAllowed' | 'FtpsOnly' | 'Disabled'; /** - * Defines values for SkuName. - * Possible values include: 'Free', 'Shared', 'Basic', 'Standard', 'Premium', 'Dynamic', - * 'Isolated', 'IsolatedV2', 'PremiumV2', 'PremiumV3', 'PremiumContainer', 'ElasticPremium', - * 'ElasticIsolated' + * Defines values for HostType. + * Possible values include: 'Standard', 'Repository' * @readonly * @enum {string} */ -export type SkuName = 'Free' | 'Shared' | 'Basic' | 'Standard' | 'Premium' | 'Dynamic' | 'Isolated' | 'IsolatedV2' | 'PremiumV2' | 'PremiumV3' | 'PremiumContainer' | 'ElasticPremium' | 'ElasticIsolated'; +export type HostType = 'Standard' | 'Repository'; /** - * Defines values for OsTypeSelected. - * Possible values include: 'Windows', 'Linux', 'WindowsFunctions', 'LinuxFunctions', 'All' + * Defines values for UsageState. + * Possible values include: 'Normal', 'Exceeded' * @readonly * @enum {string} */ -export type OsTypeSelected = 'Windows' | 'Linux' | 'WindowsFunctions' | 'LinuxFunctions' | 'All'; +export type UsageState = 'Normal' | 'Exceeded'; /** - * Defines values for StackOsType. - * Possible values include: 'Windows', 'Linux', 'All' + * Defines values for SiteAvailabilityState. + * Possible values include: 'Normal', 'Limited', 'DisasterRecoveryMode' * @readonly * @enum {string} */ -export type StackOsType = 'Windows' | 'Linux' | 'All'; +export type SiteAvailabilityState = 'Normal' | 'Limited' | 'DisasterRecoveryMode'; /** - * Defines values for StackOsType1. - * Possible values include: 'Windows', 'Linux', 'All' + * Defines values for ClientCertMode. + * Possible values include: 'Required', 'Optional', 'OptionalInteractiveUser' * @readonly * @enum {string} */ -export type StackOsType1 = 'Windows' | 'Linux' | 'All'; +export type ClientCertMode = 'Required' | 'Optional' | 'OptionalInteractiveUser'; /** - * Defines values for StackOsType2. - * Possible values include: 'Windows', 'Linux', 'All' + * Defines values for RedundancyMode. + * Possible values include: 'None', 'Manual', 'Failover', 'ActiveActive', 'GeoRedundant' * @readonly * @enum {string} */ -export type StackOsType2 = 'Windows' | 'Linux' | 'All'; +export type RedundancyMode = 'None' | 'Manual' | 'Failover' | 'ActiveActive' | 'GeoRedundant'; + +/** + * Defines values for StatusOptions. + * Possible values include: 'Ready', 'Pending', 'Creating' + * @readonly + * @enum {string} + */ +export type StatusOptions = 'Ready' | 'Pending' | 'Creating'; + +/** + * Defines values for DomainStatus. + * Possible values include: 'Active', 'Awaiting', 'Cancelled', 'Confiscated', 'Disabled', + * 'Excluded', 'Expired', 'Failed', 'Held', 'Locked', 'Parked', 'Pending', 'Reserved', 'Reverted', + * 'Suspended', 'Transferred', 'Unknown', 'Unlocked', 'Unparked', 'Updated', 'JsonConverterFailed' + * @readonly + * @enum {string} + */ +export type DomainStatus = 'Active' | 'Awaiting' | 'Cancelled' | 'Confiscated' | 'Disabled' | 'Excluded' | 'Expired' | 'Failed' | 'Held' | 'Locked' | 'Parked' | 'Pending' | 'Reserved' | 'Reverted' | 'Suspended' | 'Transferred' | 'Unknown' | 'Unlocked' | 'Unparked' | 'Updated' | 'JsonConverterFailed'; + +/** + * Defines values for DnsType. + * Possible values include: 'AzureDns', 'DefaultDomainRegistrarDns' + * @readonly + * @enum {string} + */ +export type DnsType = 'AzureDns' | 'DefaultDomainRegistrarDns'; + +/** + * Defines values for DomainType. + * Possible values include: 'Regular', 'SoftDeleted' + * @readonly + * @enum {string} + */ +export type DomainType = 'Regular' | 'SoftDeleted'; + +/** + * Defines values for HostingEnvironmentStatus. + * Possible values include: 'Preparing', 'Ready', 'Scaling', 'Deleting' + * @readonly + * @enum {string} + */ +export type HostingEnvironmentStatus = 'Preparing' | 'Ready' | 'Scaling' | 'Deleting'; + +/** + * Defines values for LoadBalancingMode. + * Possible values include: 'None', 'Web', 'Publishing', 'Web, Publishing' + * @readonly + * @enum {string} + */ +export type LoadBalancingMode = 'None' | 'Web' | 'Publishing' | 'Web, Publishing'; + +/** + * Defines values for ComputeModeOptions. + * Possible values include: 'Shared', 'Dedicated', 'Dynamic' + * @readonly + * @enum {string} + */ +export type ComputeModeOptions = 'Shared' | 'Dedicated' | 'Dynamic'; + +/** + * Defines values for WorkerSizeOptions. + * Possible values include: 'Small', 'Medium', 'Large', 'D1', 'D2', 'D3', 'SmallV3', 'MediumV3', + * 'LargeV3', 'NestedSmall', 'NestedSmallLinux', 'Default' + * @readonly + * @enum {string} + */ +export type WorkerSizeOptions = 'Small' | 'Medium' | 'Large' | 'D1' | 'D2' | 'D3' | 'SmallV3' | 'MediumV3' | 'LargeV3' | 'NestedSmall' | 'NestedSmallLinux' | 'Default'; + +/** + * Defines values for OperationStatus. + * Possible values include: 'InProgress', 'Failed', 'Succeeded', 'TimedOut', 'Created' + * @readonly + * @enum {string} + */ +export type OperationStatus = 'InProgress' | 'Failed' | 'Succeeded' | 'TimedOut' | 'Created'; + +/** + * Defines values for ActiveRevisionsMode. + * Possible values include: 'multiple', 'single' + * @readonly + * @enum {string} + */ +export type ActiveRevisionsMode = 'multiple' | 'single'; + +/** + * Defines values for IngressTransportMethod. + * Possible values include: 'auto', 'http', 'http2' + * @readonly + * @enum {string} + */ +export type IngressTransportMethod = 'auto' | 'http' | 'http2'; + +/** + * Defines values for ContainerAppProvisioningState. + * Possible values include: 'InProgress', 'Succeeded', 'Failed', 'Canceled' + * @readonly + * @enum {string} + */ +export type ContainerAppProvisioningState = 'InProgress' | 'Succeeded' | 'Failed' | 'Canceled'; + +/** + * Defines values for RevisionHealthState. + * Possible values include: 'Healthy', 'Unhealthy', 'None' + * @readonly + * @enum {string} + */ +export type RevisionHealthState = 'Healthy' | 'Unhealthy' | 'None'; + +/** + * Defines values for RevisionProvisioningState. + * Possible values include: 'Provisioning', 'Provisioned', 'Failed', 'Deprovisioning', + * 'Deprovisioned' + * @readonly + * @enum {string} + */ +export type RevisionProvisioningState = 'Provisioning' | 'Provisioned' | 'Failed' | 'Deprovisioning' | 'Deprovisioned'; + +/** + * Defines values for IssueType. + * Possible values include: 'ServiceIncident', 'AppDeployment', 'AppCrash', 'RuntimeIssueDetected', + * 'AseDeployment', 'UserIssue', 'PlatformIssue', 'Other' + * @readonly + * @enum {string} + */ +export type IssueType = 'ServiceIncident' | 'AppDeployment' | 'AppCrash' | 'RuntimeIssueDetected' | 'AseDeployment' | 'UserIssue' | 'PlatformIssue' | 'Other'; + +/** + * Defines values for SolutionType. + * Possible values include: 'QuickSolution', 'DeepInvestigation', 'BestPractices' + * @readonly + * @enum {string} + */ +export type SolutionType = 'QuickSolution' | 'DeepInvestigation' | 'BestPractices'; + +/** + * Defines values for StorageType. + * Possible values include: 'LocalNode', 'NetworkFileSystem' + * @readonly + * @enum {string} + */ +export type StorageType = 'LocalNode' | 'NetworkFileSystem'; + +/** + * Defines values for FrontEndServiceType. + * Possible values include: 'NodePort', 'LoadBalancer' + * @readonly + * @enum {string} + */ +export type FrontEndServiceType = 'NodePort' | 'LoadBalancer'; + +/** + * Defines values for KubeEnvironmentProvisioningState. + * Possible values include: 'Succeeded', 'Failed', 'Canceled', 'Waiting', + * 'InitializationInProgress', 'InfrastructureSetupInProgress', 'InfrastructureSetupComplete', + * 'ScheduledForDelete', 'UpgradeRequested', 'UpgradeFailed' + * @readonly + * @enum {string} + */ +export type KubeEnvironmentProvisioningState = 'Succeeded' | 'Failed' | 'Canceled' | 'Waiting' | 'InitializationInProgress' | 'InfrastructureSetupInProgress' | 'InfrastructureSetupComplete' | 'ScheduledForDelete' | 'UpgradeRequested' | 'UpgradeFailed'; + +/** + * Defines values for StackPreferredOs. + * Possible values include: 'Windows', 'Linux' + * @readonly + * @enum {string} + */ +export type StackPreferredOs = 'Windows' | 'Linux'; + +/** + * Defines values for ResourceScopeType. + * Possible values include: 'ServerFarm', 'Subscription', 'WebSite' + * @readonly + * @enum {string} + */ +export type ResourceScopeType = 'ServerFarm' | 'Subscription' | 'WebSite'; + +/** + * Defines values for NotificationLevel. + * Possible values include: 'Critical', 'Warning', 'Information', 'NonUrgentSuggestion' + * @readonly + * @enum {string} + */ +export type NotificationLevel = 'Critical' | 'Warning' | 'Information' | 'NonUrgentSuggestion'; + +/** + * Defines values for Channels. + * Possible values include: 'Notification', 'Api', 'Email', 'Webhook', 'All' + * @readonly + * @enum {string} + */ +export type Channels = 'Notification' | 'Api' | 'Email' | 'Webhook' | 'All'; + +/** + * Defines values for AppServicePlanRestrictions. + * Possible values include: 'None', 'Free', 'Shared', 'Basic', 'Standard', 'Premium' + * @readonly + * @enum {string} + */ +export type AppServicePlanRestrictions = 'None' | 'Free' | 'Shared' | 'Basic' | 'Standard' | 'Premium'; + +/** + * Defines values for InAvailabilityReasonType. + * Possible values include: 'Invalid', 'AlreadyExists' + * @readonly + * @enum {string} + */ +export type InAvailabilityReasonType = 'Invalid' | 'AlreadyExists'; + +/** + * Defines values for CheckNameResourceTypes. + * Possible values include: 'Site', 'Slot', 'HostingEnvironment', 'PublishingUser', + * 'Microsoft.Web/sites', 'Microsoft.Web/sites/slots', 'Microsoft.Web/hostingEnvironments', + * 'Microsoft.Web/publishingUsers' + * @readonly + * @enum {string} + */ +export type CheckNameResourceTypes = 'Site' | 'Slot' | 'HostingEnvironment' | 'PublishingUser' | 'Microsoft.Web/sites' | 'Microsoft.Web/sites/slots' | 'Microsoft.Web/hostingEnvironments' | 'Microsoft.Web/publishingUsers'; + +/** + * Defines values for ValidateResourceTypes. + * Possible values include: 'ServerFarm', 'Site', 'Microsoft.Web/hostingEnvironments' + * @readonly + * @enum {string} + */ +export type ValidateResourceTypes = 'ServerFarm' | 'Site' | 'Microsoft.Web/hostingEnvironments'; + +/** + * Defines values for StagingEnvironmentPolicy. + * Possible values include: 'Enabled', 'Disabled' + * @readonly + * @enum {string} + */ +export type StagingEnvironmentPolicy = 'Enabled' | 'Disabled'; + +/** + * Defines values for EnterpriseGradeCdnStatus. + * Possible values include: 'Enabled', 'Enabling', 'Disabled', 'Disabling' + * @readonly + * @enum {string} + */ +export type EnterpriseGradeCdnStatus = 'Enabled' | 'Enabling' | 'Disabled' | 'Disabling'; + +/** + * Defines values for BuildStatus. + * Possible values include: 'WaitingForDeployment', 'Uploading', 'Deploying', 'Ready', 'Failed', + * 'Deleting', 'Detached' + * @readonly + * @enum {string} + */ +export type BuildStatus = 'WaitingForDeployment' | 'Uploading' | 'Deploying' | 'Ready' | 'Failed' | 'Deleting' | 'Detached'; + +/** + * Defines values for CustomDomainStatus. + * Possible values include: 'RetrievingValidationToken', 'Validating', 'Adding', 'Ready', 'Failed', + * 'Deleting' + * @readonly + * @enum {string} + */ +export type CustomDomainStatus = 'RetrievingValidationToken' | 'Validating' | 'Adding' | 'Ready' | 'Failed' | 'Deleting'; + +/** + * Defines values for TriggerTypes. + * Possible values include: 'HttpTrigger', 'Unknown' + * @readonly + * @enum {string} + */ +export type TriggerTypes = 'HttpTrigger' | 'Unknown'; + +/** + * Defines values for ResolveStatus. + * Possible values include: 'Initialized', 'Resolved', 'InvalidSyntax', 'MSINotEnabled', + * 'VaultNotFound', 'SecretNotFound', 'SecretVersionNotFound', 'AccessToKeyVaultDenied', + * 'OtherReasons', 'FetchTimedOut', 'UnauthorizedClient' + * @readonly + * @enum {string} + */ +export type ResolveStatus = 'Initialized' | 'Resolved' | 'InvalidSyntax' | 'MSINotEnabled' | 'VaultNotFound' | 'SecretNotFound' | 'SecretVersionNotFound' | 'AccessToKeyVaultDenied' | 'OtherReasons' | 'FetchTimedOut' | 'UnauthorizedClient'; + +/** + * Defines values for ConfigReferenceSource. + * Possible values include: 'KeyVault' + * @readonly + * @enum {string} + */ +export type ConfigReferenceSource = 'KeyVault'; + +/** + * Defines values for LogLevel. + * Possible values include: 'Off', 'Verbose', 'Information', 'Warning', 'Error' + * @readonly + * @enum {string} + */ +export type LogLevel = 'Off' | 'Verbose' | 'Information' | 'Warning' | 'Error'; + +/** + * Defines values for BackupItemStatus. + * Possible values include: 'InProgress', 'Failed', 'Succeeded', 'TimedOut', 'Created', 'Skipped', + * 'PartiallySucceeded', 'DeleteInProgress', 'DeleteFailed', 'Deleted' + * @readonly + * @enum {string} + */ +export type BackupItemStatus = 'InProgress' | 'Failed' | 'Succeeded' | 'TimedOut' | 'Created' | 'Skipped' | 'PartiallySucceeded' | 'DeleteInProgress' | 'DeleteFailed' | 'Deleted'; + +/** + * Defines values for DatabaseType. + * Possible values include: 'SqlAzure', 'MySql', 'LocalMySql', 'PostgreSql' + * @readonly + * @enum {string} + */ +export type DatabaseType = 'SqlAzure' | 'MySql' | 'LocalMySql' | 'PostgreSql'; + +/** + * Defines values for FrequencyUnit. + * Possible values include: 'Day', 'Hour' + * @readonly + * @enum {string} + */ +export type FrequencyUnit = 'Day' | 'Hour'; + +/** + * Defines values for ContinuousWebJobStatus. + * Possible values include: 'Initializing', 'Starting', 'Running', 'PendingRestart', 'Stopped' + * @readonly + * @enum {string} + */ +export type ContinuousWebJobStatus = 'Initializing' | 'Starting' | 'Running' | 'PendingRestart' | 'Stopped'; + +/** + * Defines values for WebJobType. + * Possible values include: 'Continuous', 'Triggered' + * @readonly + * @enum {string} + */ +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 ForwardProxyConvention. + * Possible values include: 'NoProxy', 'Standard', 'Custom' + * @readonly + * @enum {string} + */ +export type ForwardProxyConvention = 'NoProxy' | 'Standard' | 'Custom'; + +/** + * Defines values for UnauthenticatedClientActionV2. + * Possible values include: 'RedirectToLoginPage', 'AllowAnonymous', 'Return401', 'Return403' + * @readonly + * @enum {string} + */ +export type UnauthenticatedClientActionV2 = 'RedirectToLoginPage' | 'AllowAnonymous' | 'Return401' | 'Return403'; + +/** + * Defines values for MSDeployLogEntryType. + * Possible values include: 'Message', 'Warning', 'Error' + * @readonly + * @enum {string} + */ +export type MSDeployLogEntryType = 'Message' | 'Warning' | 'Error'; + +/** + * Defines values for MSDeployProvisioningState. + * Possible values include: 'accepted', 'running', 'succeeded', 'failed', 'canceled' + * @readonly + * @enum {string} + */ +export type MSDeployProvisioningState = 'accepted' | 'running' | 'succeeded' | 'failed' | 'canceled'; + +/** + * Defines values for MySqlMigrationType. + * Possible values include: 'LocalToRemote', 'RemoteToLocal' + * @readonly + * @enum {string} + */ +export type MySqlMigrationType = 'LocalToRemote' | 'RemoteToLocal'; + +/** + * Defines values for PublicCertificateLocation. + * Possible values include: 'CurrentUserMy', 'LocalMachineMy', 'Unknown' + * @readonly + * @enum {string} + */ +export type PublicCertificateLocation = 'CurrentUserMy' | 'LocalMachineMy' | 'Unknown'; + +/** + * Defines values for BackupRestoreOperationType. + * Possible values include: 'Default', 'Clone', 'Relocation', 'Snapshot', 'CloudFS' + * @readonly + * @enum {string} + */ +export type BackupRestoreOperationType = 'Default' | 'Clone' | 'Relocation' | 'Snapshot' | 'CloudFS'; + +/** + * Defines values for UnauthenticatedClientAction. + * Possible values include: 'RedirectToLoginPage', 'AllowAnonymous' + * @readonly + * @enum {string} + */ +export type UnauthenticatedClientAction = 'RedirectToLoginPage' | 'AllowAnonymous'; + +/** + * Defines values for BuiltInAuthenticationProvider. + * Possible values include: 'AzureActiveDirectory', 'Facebook', 'Google', 'MicrosoftAccount', + * 'Twitter', 'Github' + * @readonly + * @enum {string} + */ +export type BuiltInAuthenticationProvider = 'AzureActiveDirectory' | 'Facebook' | 'Google' | 'MicrosoftAccount' | 'Twitter' | 'Github'; + +/** + * Defines values for CloneAbilityResult. + * Possible values include: 'Cloneable', 'PartiallyCloneable', 'NotCloneable' + * @readonly + * @enum {string} + */ +export type CloneAbilityResult = 'Cloneable' | 'PartiallyCloneable' | 'NotCloneable'; + +/** + * Defines values for SiteExtensionType. + * Possible values include: 'Gallery', 'WebRoot' + * @readonly + * @enum {string} + */ +export type SiteExtensionType = 'Gallery' | 'WebRoot'; + +/** + * Defines values for TriggeredWebJobStatus. + * Possible values include: 'Success', 'Failed', 'Error' + * @readonly + * @enum {string} + */ +export type TriggeredWebJobStatus = 'Success' | 'Failed' | 'Error'; + +/** + * Defines values for SiteRuntimeState. + * Possible values include: 'READY', 'STOPPED', 'UNKNOWN' + * @readonly + * @enum {string} + */ +export type SiteRuntimeState = 'READY' | 'STOPPED' | 'UNKNOWN'; + +/** + * Defines values for SkuName. + * Possible values include: 'Free', 'Shared', 'Basic', 'Standard', 'Premium', 'Dynamic', + * 'Isolated', 'IsolatedV2', 'PremiumV2', 'PremiumV3', 'PremiumContainer', 'ElasticPremium', + * 'ElasticIsolated' + * @readonly + * @enum {string} + */ +export type SkuName = 'Free' | 'Shared' | 'Basic' | 'Standard' | 'Premium' | 'Dynamic' | 'Isolated' | 'IsolatedV2' | 'PremiumV2' | 'PremiumV3' | 'PremiumContainer' | 'ElasticPremium' | 'ElasticIsolated'; + +/** + * Defines values for OsTypeSelected. + * Possible values include: 'Windows', 'Linux', 'WindowsFunctions', 'LinuxFunctions', 'All' + * @readonly + * @enum {string} + */ +export type OsTypeSelected = 'Windows' | 'Linux' | 'WindowsFunctions' | 'LinuxFunctions' | 'All'; + +/** + * 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', 'All' + * @readonly + * @enum {string} + */ +export type OsTypeSelected1 = 'Windows' | 'Linux' | 'WindowsFunctions' | 'LinuxFunctions' | 'All'; + +/** + * Contains response data for the list operation. + */ +export type AppServiceCertificateOrdersListResponse = AppServiceCertificateOrderCollection & { + /** + * 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: AppServiceCertificateOrderCollection; + }; +}; + +/** + * Contains response data for the listByResourceGroup operation. + */ +export type AppServiceCertificateOrdersListByResourceGroupResponse = AppServiceCertificateOrderCollection & { + /** + * 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: AppServiceCertificateOrderCollection; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type AppServiceCertificateOrdersGetResponse = AppServiceCertificateOrder & { + /** + * 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: AppServiceCertificateOrder; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type AppServiceCertificateOrdersCreateOrUpdateResponse = AppServiceCertificateOrder & { + /** + * 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: AppServiceCertificateOrder; + }; +}; + +/** + * Contains response data for the update operation. + */ +export type AppServiceCertificateOrdersUpdateResponse = AppServiceCertificateOrder & { + /** + * 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: AppServiceCertificateOrder; + }; +}; + +/** + * Contains response data for the listCertificates operation. + */ +export type AppServiceCertificateOrdersListCertificatesResponse = AppServiceCertificateCollection & { + /** + * 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: AppServiceCertificateCollection; + }; +}; + +/** + * Contains response data for the getCertificate operation. + */ +export type AppServiceCertificateOrdersGetCertificateResponse = AppServiceCertificateResource & { + /** + * 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: AppServiceCertificateResource; + }; +}; + +/** + * Contains response data for the createOrUpdateCertificate operation. + */ +export type AppServiceCertificateOrdersCreateOrUpdateCertificateResponse = AppServiceCertificateResource & { + /** + * 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: AppServiceCertificateResource; + }; +}; + +/** + * Contains response data for the updateCertificate operation. + */ +export type AppServiceCertificateOrdersUpdateCertificateResponse = AppServiceCertificateResource & { + /** + * 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: AppServiceCertificateResource; + }; +}; + +/** + * Contains response data for the retrieveSiteSeal operation. + */ +export type AppServiceCertificateOrdersRetrieveSiteSealResponse = SiteSeal & { + /** + * 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: SiteSeal; + }; +}; + +/** + * Contains response data for the retrieveCertificateActions operation. + */ +export type AppServiceCertificateOrdersRetrieveCertificateActionsResponse = Array & { + /** + * 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: CertificateOrderAction[]; + }; +}; + +/** + * Contains response data for the retrieveCertificateEmailHistory operation. + */ +export type AppServiceCertificateOrdersRetrieveCertificateEmailHistoryResponse = Array & { + /** + * 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: CertificateEmail[]; + }; +}; + +/** + * Contains response data for the beginCreateOrUpdate operation. + */ +export type AppServiceCertificateOrdersBeginCreateOrUpdateResponse = AppServiceCertificateOrder & { + /** + * 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: AppServiceCertificateOrder; + }; +}; /** - * Defines values for StackOsType3. - * Possible values include: 'Windows', 'Linux', 'All' - * @readonly - * @enum {string} + * Contains response data for the beginCreateOrUpdateCertificate operation. */ -export type StackOsType3 = 'Windows' | 'Linux' | 'All'; +export type AppServiceCertificateOrdersBeginCreateOrUpdateCertificateResponse = AppServiceCertificateResource & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for OsTypeSelected1. - * Possible values include: 'Windows', 'Linux', 'WindowsFunctions', 'LinuxFunctions', 'All' - * @readonly - * @enum {string} - */ -export type OsTypeSelected1 = 'Windows' | 'Linux' | 'WindowsFunctions' | 'LinuxFunctions' | 'All'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: AppServiceCertificateResource; + }; +}; /** - * Contains response data for the list operation. + * Contains response data for the listNext operation. */ -export type AppServiceCertificateOrdersListResponse = AppServiceCertificateOrderCollection & { +export type AppServiceCertificateOrdersListNextResponse = AppServiceCertificateOrderCollection & { /** * The underlying HTTP response. */ @@ -13011,9 +13954,9 @@ export type AppServiceCertificateOrdersListResponse = AppServiceCertificateOrder }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type AppServiceCertificateOrdersListByResourceGroupResponse = AppServiceCertificateOrderCollection & { +export type AppServiceCertificateOrdersListByResourceGroupNextResponse = AppServiceCertificateOrderCollection & { /** * The underlying HTTP response. */ @@ -13031,9 +13974,9 @@ export type AppServiceCertificateOrdersListByResourceGroupResponse = AppServiceC }; /** - * Contains response data for the get operation. + * Contains response data for the listCertificatesNext operation. */ -export type AppServiceCertificateOrdersGetResponse = AppServiceCertificateOrder & { +export type AppServiceCertificateOrdersListCertificatesNextResponse = AppServiceCertificateCollection & { /** * The underlying HTTP response. */ @@ -13046,14 +13989,14 @@ export type AppServiceCertificateOrdersGetResponse = AppServiceCertificateOrder /** * The response body as parsed JSON or XML */ - parsedBody: AppServiceCertificateOrder; + parsedBody: AppServiceCertificateCollection; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listAppServiceCertificateOrderDetectorResponse operation. */ -export type AppServiceCertificateOrdersCreateOrUpdateResponse = AppServiceCertificateOrder & { +export type CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseResponse = DetectorResponseCollection & { /** * The underlying HTTP response. */ @@ -13066,14 +14009,14 @@ export type AppServiceCertificateOrdersCreateOrUpdateResponse = AppServiceCertif /** * The response body as parsed JSON or XML */ - parsedBody: AppServiceCertificateOrder; + parsedBody: DetectorResponseCollection; }; }; /** - * Contains response data for the update operation. + * Contains response data for the getAppServiceCertificateOrderDetectorResponse operation. */ -export type AppServiceCertificateOrdersUpdateResponse = AppServiceCertificateOrder & { +export type CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseResponse = DetectorResponse & { /** * The underlying HTTP response. */ @@ -13086,14 +14029,14 @@ export type AppServiceCertificateOrdersUpdateResponse = AppServiceCertificateOrd /** * The response body as parsed JSON or XML */ - parsedBody: AppServiceCertificateOrder; + parsedBody: DetectorResponse; }; }; /** - * Contains response data for the listCertificates operation. + * Contains response data for the listAppServiceCertificateOrderDetectorResponseNext operation. */ -export type AppServiceCertificateOrdersListCertificatesResponse = AppServiceCertificateCollection & { +export type CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseNextResponse = DetectorResponseCollection & { /** * The underlying HTTP response. */ @@ -13106,14 +14049,14 @@ export type AppServiceCertificateOrdersListCertificatesResponse = AppServiceCert /** * The response body as parsed JSON or XML */ - parsedBody: AppServiceCertificateCollection; + parsedBody: DetectorResponseCollection; }; }; /** - * Contains response data for the getCertificate operation. + * Contains response data for the listOperations operation. */ -export type AppServiceCertificateOrdersGetCertificateResponse = AppServiceCertificateResource & { +export type CertificateRegistrationProviderListOperationsResponse = CsmOperationCollection & { /** * The underlying HTTP response. */ @@ -13126,14 +14069,14 @@ export type AppServiceCertificateOrdersGetCertificateResponse = AppServiceCertif /** * The response body as parsed JSON or XML */ - parsedBody: AppServiceCertificateResource; + parsedBody: CsmOperationCollection; }; }; /** - * Contains response data for the createOrUpdateCertificate operation. + * Contains response data for the listOperationsNext operation. */ -export type AppServiceCertificateOrdersCreateOrUpdateCertificateResponse = AppServiceCertificateResource & { +export type CertificateRegistrationProviderListOperationsNextResponse = CsmOperationCollection & { /** * The underlying HTTP response. */ @@ -13146,14 +14089,14 @@ export type AppServiceCertificateOrdersCreateOrUpdateCertificateResponse = AppSe /** * The response body as parsed JSON or XML */ - parsedBody: AppServiceCertificateResource; + parsedBody: CsmOperationCollection; }; }; /** - * Contains response data for the updateCertificate operation. + * Contains response data for the checkAvailability operation. */ -export type AppServiceCertificateOrdersUpdateCertificateResponse = AppServiceCertificateResource & { +export type DomainsCheckAvailabilityResponse = DomainAvailabilityCheckResult & { /** * The underlying HTTP response. */ @@ -13166,14 +14109,14 @@ export type AppServiceCertificateOrdersUpdateCertificateResponse = AppServiceCer /** * The response body as parsed JSON or XML */ - parsedBody: AppServiceCertificateResource; + parsedBody: DomainAvailabilityCheckResult; }; }; /** - * Contains response data for the retrieveSiteSeal operation. + * Contains response data for the list operation. */ -export type AppServiceCertificateOrdersRetrieveSiteSealResponse = SiteSeal & { +export type DomainsListResponse = DomainCollection & { /** * The underlying HTTP response. */ @@ -13186,14 +14129,14 @@ export type AppServiceCertificateOrdersRetrieveSiteSealResponse = SiteSeal & { /** * The response body as parsed JSON or XML */ - parsedBody: SiteSeal; + parsedBody: DomainCollection; }; }; /** - * Contains response data for the retrieveCertificateActions operation. + * Contains response data for the getControlCenterSsoRequest operation. */ -export type AppServiceCertificateOrdersRetrieveCertificateActionsResponse = Array & { +export type DomainsGetControlCenterSsoRequestResponse = DomainControlCenterSsoRequest & { /** * The underlying HTTP response. */ @@ -13206,14 +14149,14 @@ export type AppServiceCertificateOrdersRetrieveCertificateActionsResponse = Arra /** * The response body as parsed JSON or XML */ - parsedBody: CertificateOrderAction[]; + parsedBody: DomainControlCenterSsoRequest; }; }; /** - * Contains response data for the retrieveCertificateEmailHistory operation. + * Contains response data for the listRecommendations operation. */ -export type AppServiceCertificateOrdersRetrieveCertificateEmailHistoryResponse = Array & { +export type DomainsListRecommendationsResponse = NameIdentifierCollection & { /** * The underlying HTTP response. */ @@ -13226,14 +14169,14 @@ export type AppServiceCertificateOrdersRetrieveCertificateEmailHistoryResponse = /** * The response body as parsed JSON or XML */ - parsedBody: CertificateEmail[]; + parsedBody: NameIdentifierCollection; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByResourceGroup operation. */ -export type AppServiceCertificateOrdersBeginCreateOrUpdateResponse = AppServiceCertificateOrder & { +export type DomainsListByResourceGroupResponse = DomainCollection & { /** * The underlying HTTP response. */ @@ -13246,14 +14189,14 @@ export type AppServiceCertificateOrdersBeginCreateOrUpdateResponse = AppServiceC /** * The response body as parsed JSON or XML */ - parsedBody: AppServiceCertificateOrder; + parsedBody: DomainCollection; }; }; /** - * Contains response data for the beginCreateOrUpdateCertificate operation. + * Contains response data for the get operation. */ -export type AppServiceCertificateOrdersBeginCreateOrUpdateCertificateResponse = AppServiceCertificateResource & { +export type DomainsGetResponse = Domain & { /** * The underlying HTTP response. */ @@ -13266,14 +14209,14 @@ export type AppServiceCertificateOrdersBeginCreateOrUpdateCertificateResponse = /** * The response body as parsed JSON or XML */ - parsedBody: AppServiceCertificateResource; + parsedBody: Domain; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the createOrUpdate operation. */ -export type AppServiceCertificateOrdersListNextResponse = AppServiceCertificateOrderCollection & { +export type DomainsCreateOrUpdateResponse = Domain & { /** * The underlying HTTP response. */ @@ -13286,14 +14229,14 @@ export type AppServiceCertificateOrdersListNextResponse = AppServiceCertificateO /** * The response body as parsed JSON or XML */ - parsedBody: AppServiceCertificateOrderCollection; + parsedBody: Domain; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the update operation. */ -export type AppServiceCertificateOrdersListByResourceGroupNextResponse = AppServiceCertificateOrderCollection & { +export type DomainsUpdateResponse = Domain & { /** * The underlying HTTP response. */ @@ -13306,14 +14249,14 @@ export type AppServiceCertificateOrdersListByResourceGroupNextResponse = AppServ /** * The response body as parsed JSON or XML */ - parsedBody: AppServiceCertificateOrderCollection; + parsedBody: Domain; }; }; /** - * Contains response data for the listCertificatesNext operation. + * Contains response data for the listOwnershipIdentifiers operation. */ -export type AppServiceCertificateOrdersListCertificatesNextResponse = AppServiceCertificateCollection & { +export type DomainsListOwnershipIdentifiersResponse = DomainOwnershipIdentifierCollection & { /** * The underlying HTTP response. */ @@ -13326,14 +14269,14 @@ export type AppServiceCertificateOrdersListCertificatesNextResponse = AppService /** * The response body as parsed JSON or XML */ - parsedBody: AppServiceCertificateCollection; + parsedBody: DomainOwnershipIdentifierCollection; }; }; /** - * Contains response data for the listAppServiceCertificateOrderDetectorResponse operation. + * Contains response data for the getOwnershipIdentifier operation. */ -export type CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseResponse = DetectorResponseCollection & { +export type DomainsGetOwnershipIdentifierResponse = DomainOwnershipIdentifier & { /** * The underlying HTTP response. */ @@ -13346,14 +14289,14 @@ export type CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorRe /** * The response body as parsed JSON or XML */ - parsedBody: DetectorResponseCollection; + parsedBody: DomainOwnershipIdentifier; }; }; /** - * Contains response data for the getAppServiceCertificateOrderDetectorResponse operation. + * Contains response data for the createOrUpdateOwnershipIdentifier operation. */ -export type CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseResponse = DetectorResponse & { +export type DomainsCreateOrUpdateOwnershipIdentifierResponse = DomainOwnershipIdentifier & { /** * The underlying HTTP response. */ @@ -13366,14 +14309,14 @@ export type CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorRes /** * The response body as parsed JSON or XML */ - parsedBody: DetectorResponse; + parsedBody: DomainOwnershipIdentifier; }; }; /** - * Contains response data for the listAppServiceCertificateOrderDetectorResponseNext operation. + * Contains response data for the updateOwnershipIdentifier operation. */ -export type CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseNextResponse = DetectorResponseCollection & { +export type DomainsUpdateOwnershipIdentifierResponse = DomainOwnershipIdentifier & { /** * The underlying HTTP response. */ @@ -13386,14 +14329,14 @@ export type CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorRe /** * The response body as parsed JSON or XML */ - parsedBody: DetectorResponseCollection; + parsedBody: DomainOwnershipIdentifier; }; }; /** - * Contains response data for the listOperations operation. + * Contains response data for the transferOut operation. */ -export type CertificateRegistrationProviderListOperationsResponse = CsmOperationCollection & { +export type DomainsTransferOutResponse = Domain & { /** * The underlying HTTP response. */ @@ -13406,14 +14349,14 @@ export type CertificateRegistrationProviderListOperationsResponse = CsmOperation /** * The response body as parsed JSON or XML */ - parsedBody: CsmOperationCollection; + parsedBody: Domain; }; }; /** - * Contains response data for the listOperationsNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type CertificateRegistrationProviderListOperationsNextResponse = CsmOperationCollection & { +export type DomainsBeginCreateOrUpdateResponse = Domain & { /** * The underlying HTTP response. */ @@ -13426,14 +14369,14 @@ export type CertificateRegistrationProviderListOperationsNextResponse = CsmOpera /** * The response body as parsed JSON or XML */ - parsedBody: CsmOperationCollection; + parsedBody: Domain; }; }; /** - * Contains response data for the checkAvailability operation. + * Contains response data for the listNext operation. */ -export type DomainsCheckAvailabilityResponse = DomainAvailabilityCheckResult & { +export type DomainsListNextResponse = DomainCollection & { /** * The underlying HTTP response. */ @@ -13446,14 +14389,14 @@ export type DomainsCheckAvailabilityResponse = DomainAvailabilityCheckResult & { /** * The response body as parsed JSON or XML */ - parsedBody: DomainAvailabilityCheckResult; + parsedBody: DomainCollection; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listRecommendationsNext operation. */ -export type DomainsListResponse = DomainCollection & { +export type DomainsListRecommendationsNextResponse = NameIdentifierCollection & { /** * The underlying HTTP response. */ @@ -13466,14 +14409,14 @@ export type DomainsListResponse = DomainCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: DomainCollection; + parsedBody: NameIdentifierCollection; }; }; /** - * Contains response data for the getControlCenterSsoRequest operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type DomainsGetControlCenterSsoRequestResponse = DomainControlCenterSsoRequest & { +export type DomainsListByResourceGroupNextResponse = DomainCollection & { /** * The underlying HTTP response. */ @@ -13486,14 +14429,14 @@ export type DomainsGetControlCenterSsoRequestResponse = DomainControlCenterSsoRe /** * The response body as parsed JSON or XML */ - parsedBody: DomainControlCenterSsoRequest; + parsedBody: DomainCollection; }; }; /** - * Contains response data for the listRecommendations operation. + * Contains response data for the listOwnershipIdentifiersNext operation. */ -export type DomainsListRecommendationsResponse = NameIdentifierCollection & { +export type DomainsListOwnershipIdentifiersNextResponse = DomainOwnershipIdentifierCollection & { /** * The underlying HTTP response. */ @@ -13506,14 +14449,14 @@ export type DomainsListRecommendationsResponse = NameIdentifierCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: NameIdentifierCollection; + parsedBody: DomainOwnershipIdentifierCollection; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the list operation. */ -export type DomainsListByResourceGroupResponse = DomainCollection & { +export type TopLevelDomainsListResponse = TopLevelDomainCollection & { /** * The underlying HTTP response. */ @@ -13526,14 +14469,14 @@ export type DomainsListByResourceGroupResponse = DomainCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: DomainCollection; + parsedBody: TopLevelDomainCollection; }; }; /** * Contains response data for the get operation. */ -export type DomainsGetResponse = Domain & { +export type TopLevelDomainsGetResponse = TopLevelDomain & { /** * The underlying HTTP response. */ @@ -13546,14 +14489,14 @@ export type DomainsGetResponse = Domain & { /** * The response body as parsed JSON or XML */ - parsedBody: Domain; + parsedBody: TopLevelDomain; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listAgreements operation. */ -export type DomainsCreateOrUpdateResponse = Domain & { +export type TopLevelDomainsListAgreementsResponse = TldLegalAgreementCollection & { /** * The underlying HTTP response. */ @@ -13566,14 +14509,14 @@ export type DomainsCreateOrUpdateResponse = Domain & { /** * The response body as parsed JSON or XML */ - parsedBody: Domain; + parsedBody: TldLegalAgreementCollection; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listNext operation. */ -export type DomainsUpdateResponse = Domain & { +export type TopLevelDomainsListNextResponse = TopLevelDomainCollection & { /** * The underlying HTTP response. */ @@ -13586,14 +14529,14 @@ export type DomainsUpdateResponse = Domain & { /** * The response body as parsed JSON or XML */ - parsedBody: Domain; + parsedBody: TopLevelDomainCollection; }; }; /** - * Contains response data for the listOwnershipIdentifiers operation. + * Contains response data for the listAgreementsNext operation. */ -export type DomainsListOwnershipIdentifiersResponse = DomainOwnershipIdentifierCollection & { +export type TopLevelDomainsListAgreementsNextResponse = TldLegalAgreementCollection & { /** * The underlying HTTP response. */ @@ -13606,14 +14549,14 @@ export type DomainsListOwnershipIdentifiersResponse = DomainOwnershipIdentifierC /** * The response body as parsed JSON or XML */ - parsedBody: DomainOwnershipIdentifierCollection; + parsedBody: TldLegalAgreementCollection; }; }; /** - * Contains response data for the getOwnershipIdentifier operation. + * Contains response data for the listOperations operation. */ -export type DomainsGetOwnershipIdentifierResponse = DomainOwnershipIdentifier & { +export type DomainRegistrationProviderListOperationsResponse = CsmOperationCollection & { /** * The underlying HTTP response. */ @@ -13626,14 +14569,14 @@ export type DomainsGetOwnershipIdentifierResponse = DomainOwnershipIdentifier & /** * The response body as parsed JSON or XML */ - parsedBody: DomainOwnershipIdentifier; + parsedBody: CsmOperationCollection; }; }; /** - * Contains response data for the createOrUpdateOwnershipIdentifier operation. + * Contains response data for the listOperationsNext operation. */ -export type DomainsCreateOrUpdateOwnershipIdentifierResponse = DomainOwnershipIdentifier & { +export type DomainRegistrationProviderListOperationsNextResponse = CsmOperationCollection & { /** * The underlying HTTP response. */ @@ -13646,14 +14589,14 @@ export type DomainsCreateOrUpdateOwnershipIdentifierResponse = DomainOwnershipId /** * The response body as parsed JSON or XML */ - parsedBody: DomainOwnershipIdentifier; + parsedBody: CsmOperationCollection; }; }; /** - * Contains response data for the updateOwnershipIdentifier operation. + * Contains response data for the list operation. */ -export type DomainsUpdateOwnershipIdentifierResponse = DomainOwnershipIdentifier & { +export type AppServiceEnvironmentsListResponse = AppServiceEnvironmentCollection & { /** * The underlying HTTP response. */ @@ -13666,14 +14609,14 @@ export type DomainsUpdateOwnershipIdentifierResponse = DomainOwnershipIdentifier /** * The response body as parsed JSON or XML */ - parsedBody: DomainOwnershipIdentifier; + parsedBody: AppServiceEnvironmentCollection; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByResourceGroup operation. */ -export type DomainsBeginCreateOrUpdateResponse = Domain & { +export type AppServiceEnvironmentsListByResourceGroupResponse = AppServiceEnvironmentCollection & { /** * The underlying HTTP response. */ @@ -13686,14 +14629,14 @@ export type DomainsBeginCreateOrUpdateResponse = Domain & { /** * The response body as parsed JSON or XML */ - parsedBody: Domain; + parsedBody: AppServiceEnvironmentCollection; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the get operation. */ -export type DomainsListNextResponse = DomainCollection & { +export type AppServiceEnvironmentsGetResponse = AppServiceEnvironmentResource & { /** * The underlying HTTP response. */ @@ -13706,14 +14649,14 @@ export type DomainsListNextResponse = DomainCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: DomainCollection; + parsedBody: AppServiceEnvironmentResource; }; }; /** - * Contains response data for the listRecommendationsNext operation. + * Contains response data for the createOrUpdate operation. */ -export type DomainsListRecommendationsNextResponse = NameIdentifierCollection & { +export type AppServiceEnvironmentsCreateOrUpdateResponse = AppServiceEnvironmentResource & { /** * The underlying HTTP response. */ @@ -13726,14 +14669,14 @@ export type DomainsListRecommendationsNextResponse = NameIdentifierCollection & /** * The response body as parsed JSON or XML */ - parsedBody: NameIdentifierCollection; + parsedBody: AppServiceEnvironmentResource; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the update operation. */ -export type DomainsListByResourceGroupNextResponse = DomainCollection & { +export type AppServiceEnvironmentsUpdateResponse = AppServiceEnvironmentResource & { /** * The underlying HTTP response. */ @@ -13746,14 +14689,14 @@ export type DomainsListByResourceGroupNextResponse = DomainCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: DomainCollection; + parsedBody: AppServiceEnvironmentResource; }; }; /** - * Contains response data for the listOwnershipIdentifiersNext operation. + * Contains response data for the listCapacities operation. */ -export type DomainsListOwnershipIdentifiersNextResponse = DomainOwnershipIdentifierCollection & { +export type AppServiceEnvironmentsListCapacitiesResponse = StampCapacityCollection & { /** * The underlying HTTP response. */ @@ -13766,14 +14709,14 @@ export type DomainsListOwnershipIdentifiersNextResponse = DomainOwnershipIdentif /** * The response body as parsed JSON or XML */ - parsedBody: DomainOwnershipIdentifierCollection; + parsedBody: StampCapacityCollection; }; }; /** - * Contains response data for the list operation. + * Contains response data for the getVipInfo operation. */ -export type TopLevelDomainsListResponse = TopLevelDomainCollection & { +export type AppServiceEnvironmentsGetVipInfoResponse = AddressResponse & { /** * The underlying HTTP response. */ @@ -13786,14 +14729,14 @@ export type TopLevelDomainsListResponse = TopLevelDomainCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: TopLevelDomainCollection; + parsedBody: AddressResponse; }; }; /** - * Contains response data for the get operation. + * Contains response data for the changeVnet operation. */ -export type TopLevelDomainsGetResponse = TopLevelDomain & { +export type AppServiceEnvironmentsChangeVnetResponse = WebAppCollection & { /** * The underlying HTTP response. */ @@ -13806,14 +14749,14 @@ export type TopLevelDomainsGetResponse = TopLevelDomain & { /** * The response body as parsed JSON or XML */ - parsedBody: TopLevelDomain; + parsedBody: WebAppCollection; }; }; /** - * Contains response data for the listAgreements operation. + * Contains response data for the getAseV3NetworkingConfiguration operation. */ -export type TopLevelDomainsListAgreementsResponse = TldLegalAgreementCollection & { +export type AppServiceEnvironmentsGetAseV3NetworkingConfigurationResponse = AseV3NetworkingConfiguration & { /** * The underlying HTTP response. */ @@ -13826,14 +14769,14 @@ export type TopLevelDomainsListAgreementsResponse = TldLegalAgreementCollection /** * The response body as parsed JSON or XML */ - parsedBody: TldLegalAgreementCollection; + parsedBody: AseV3NetworkingConfiguration; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the updateAseNetworkingConfiguration operation. */ -export type TopLevelDomainsListNextResponse = TopLevelDomainCollection & { +export type AppServiceEnvironmentsUpdateAseNetworkingConfigurationResponse = AseV3NetworkingConfiguration & { /** * The underlying HTTP response. */ @@ -13846,14 +14789,14 @@ export type TopLevelDomainsListNextResponse = TopLevelDomainCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: TopLevelDomainCollection; + parsedBody: AseV3NetworkingConfiguration; }; }; /** - * Contains response data for the listAgreementsNext operation. + * Contains response data for the listDiagnostics operation. */ -export type TopLevelDomainsListAgreementsNextResponse = TldLegalAgreementCollection & { +export type AppServiceEnvironmentsListDiagnosticsResponse = Array & { /** * The underlying HTTP response. */ @@ -13866,14 +14809,14 @@ export type TopLevelDomainsListAgreementsNextResponse = TldLegalAgreementCollect /** * The response body as parsed JSON or XML */ - parsedBody: TldLegalAgreementCollection; + parsedBody: HostingEnvironmentDiagnostics[]; }; }; /** - * Contains response data for the listOperations operation. + * Contains response data for the getDiagnosticsItem operation. */ -export type DomainRegistrationProviderListOperationsResponse = CsmOperationCollection & { +export type AppServiceEnvironmentsGetDiagnosticsItemResponse = HostingEnvironmentDiagnostics & { /** * The underlying HTTP response. */ @@ -13886,14 +14829,14 @@ export type DomainRegistrationProviderListOperationsResponse = CsmOperationColle /** * The response body as parsed JSON or XML */ - parsedBody: CsmOperationCollection; + parsedBody: HostingEnvironmentDiagnostics; }; }; /** - * Contains response data for the listOperationsNext operation. + * Contains response data for the getInboundNetworkDependenciesEndpoints operation. */ -export type DomainRegistrationProviderListOperationsNextResponse = CsmOperationCollection & { +export type AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsResponse = InboundEnvironmentEndpointCollection & { /** * The underlying HTTP response. */ @@ -13906,14 +14849,14 @@ export type DomainRegistrationProviderListOperationsNextResponse = CsmOperationC /** * The response body as parsed JSON or XML */ - parsedBody: CsmOperationCollection; + parsedBody: InboundEnvironmentEndpointCollection; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listMultiRolePools operation. */ -export type AppServiceEnvironmentsListResponse = AppServiceEnvironmentCollection & { +export type AppServiceEnvironmentsListMultiRolePoolsResponse = WorkerPoolCollection & { /** * The underlying HTTP response. */ @@ -13926,14 +14869,14 @@ export type AppServiceEnvironmentsListResponse = AppServiceEnvironmentCollection /** * The response body as parsed JSON or XML */ - parsedBody: AppServiceEnvironmentCollection; + parsedBody: WorkerPoolCollection; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the getMultiRolePool operation. */ -export type AppServiceEnvironmentsListByResourceGroupResponse = AppServiceEnvironmentCollection & { +export type AppServiceEnvironmentsGetMultiRolePoolResponse = WorkerPoolResource & { /** * The underlying HTTP response. */ @@ -13946,14 +14889,14 @@ export type AppServiceEnvironmentsListByResourceGroupResponse = AppServiceEnviro /** * The response body as parsed JSON or XML */ - parsedBody: AppServiceEnvironmentCollection; + parsedBody: WorkerPoolResource; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdateMultiRolePool operation. */ -export type AppServiceEnvironmentsGetResponse = AppServiceEnvironmentResource & { +export type AppServiceEnvironmentsCreateOrUpdateMultiRolePoolResponse = WorkerPoolResource & { /** * The underlying HTTP response. */ @@ -13966,14 +14909,14 @@ export type AppServiceEnvironmentsGetResponse = AppServiceEnvironmentResource & /** * The response body as parsed JSON or XML */ - parsedBody: AppServiceEnvironmentResource; + parsedBody: WorkerPoolResource; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the updateMultiRolePool operation. */ -export type AppServiceEnvironmentsCreateOrUpdateResponse = AppServiceEnvironmentResource & { +export type AppServiceEnvironmentsUpdateMultiRolePoolResponse = WorkerPoolResource & { /** * The underlying HTTP response. */ @@ -13986,14 +14929,14 @@ export type AppServiceEnvironmentsCreateOrUpdateResponse = AppServiceEnvironment /** * The response body as parsed JSON or XML */ - parsedBody: AppServiceEnvironmentResource; + parsedBody: WorkerPoolResource; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listMultiRolePoolInstanceMetricDefinitions operation. */ -export type AppServiceEnvironmentsUpdateResponse = AppServiceEnvironmentResource & { +export type AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsResponse = ResourceMetricDefinitionCollection & { /** * The underlying HTTP response. */ @@ -14006,14 +14949,14 @@ export type AppServiceEnvironmentsUpdateResponse = AppServiceEnvironmentResource /** * The response body as parsed JSON or XML */ - parsedBody: AppServiceEnvironmentResource; + parsedBody: ResourceMetricDefinitionCollection; }; }; /** - * Contains response data for the listCapacities operation. + * Contains response data for the listMultiRoleMetricDefinitions operation. */ -export type AppServiceEnvironmentsListCapacitiesResponse = StampCapacityCollection & { +export type AppServiceEnvironmentsListMultiRoleMetricDefinitionsResponse = ResourceMetricDefinitionCollection & { /** * The underlying HTTP response. */ @@ -14026,14 +14969,14 @@ export type AppServiceEnvironmentsListCapacitiesResponse = StampCapacityCollecti /** * The response body as parsed JSON or XML */ - parsedBody: StampCapacityCollection; + parsedBody: ResourceMetricDefinitionCollection; }; }; /** - * Contains response data for the getVipInfo operation. + * Contains response data for the listMultiRolePoolSkus operation. */ -export type AppServiceEnvironmentsGetVipInfoResponse = AddressResponse & { +export type AppServiceEnvironmentsListMultiRolePoolSkusResponse = SkuInfoCollection & { /** * The underlying HTTP response. */ @@ -14046,14 +14989,14 @@ export type AppServiceEnvironmentsGetVipInfoResponse = AddressResponse & { /** * The response body as parsed JSON or XML */ - parsedBody: AddressResponse; + parsedBody: SkuInfoCollection; }; }; /** - * Contains response data for the changeVnet operation. + * Contains response data for the listMultiRoleUsages operation. */ -export type AppServiceEnvironmentsChangeVnetResponse = WebAppCollection & { +export type AppServiceEnvironmentsListMultiRoleUsagesResponse = UsageCollection & { /** * The underlying HTTP response. */ @@ -14066,14 +15009,14 @@ export type AppServiceEnvironmentsChangeVnetResponse = WebAppCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: WebAppCollection; + parsedBody: UsageCollection; }; }; /** - * Contains response data for the getAseV3NetworkingConfiguration operation. + * Contains response data for the listOperations operation. */ -export type AppServiceEnvironmentsGetAseV3NetworkingConfigurationResponse = AseV3NetworkingConfiguration & { +export type AppServiceEnvironmentsListOperationsResponse = Array & { /** * The underlying HTTP response. */ @@ -14086,14 +15029,14 @@ export type AppServiceEnvironmentsGetAseV3NetworkingConfigurationResponse = AseV /** * The response body as parsed JSON or XML */ - parsedBody: AseV3NetworkingConfiguration; + parsedBody: Operation[]; }; }; /** - * Contains response data for the updateAseNetworkingConfiguration operation. + * Contains response data for the getOutboundNetworkDependenciesEndpoints operation. */ -export type AppServiceEnvironmentsUpdateAseNetworkingConfigurationResponse = AseV3NetworkingConfiguration & { +export type AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsResponse = OutboundEnvironmentEndpointCollection & { /** * The underlying HTTP response. */ @@ -14106,14 +15049,14 @@ export type AppServiceEnvironmentsUpdateAseNetworkingConfigurationResponse = Ase /** * The response body as parsed JSON or XML */ - parsedBody: AseV3NetworkingConfiguration; + parsedBody: OutboundEnvironmentEndpointCollection; }; }; /** - * Contains response data for the listDiagnostics operation. + * Contains response data for the getPrivateEndpointConnectionList operation. */ -export type AppServiceEnvironmentsListDiagnosticsResponse = Array & { +export type AppServiceEnvironmentsGetPrivateEndpointConnectionListResponse = PrivateEndpointConnectionCollection & { /** * The underlying HTTP response. */ @@ -14126,14 +15069,14 @@ export type AppServiceEnvironmentsListDiagnosticsResponse = Array & { +export type AppServiceEnvironmentsGetWorkerPoolResponse = WorkerPoolResource & { /** * The underlying HTTP response. */ @@ -14346,14 +15294,14 @@ export type AppServiceEnvironmentsListOperationsResponse = Array & { /** * The response body as parsed JSON or XML */ - parsedBody: Operation[]; + parsedBody: WorkerPoolResource; }; }; /** - * Contains response data for the getOutboundNetworkDependenciesEndpoints operation. + * Contains response data for the createOrUpdateWorkerPool operation. */ -export type AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsResponse = OutboundEnvironmentEndpointCollection & { +export type AppServiceEnvironmentsCreateOrUpdateWorkerPoolResponse = WorkerPoolResource & { /** * The underlying HTTP response. */ @@ -14366,14 +15314,14 @@ export type AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsRespons /** * The response body as parsed JSON or XML */ - parsedBody: OutboundEnvironmentEndpointCollection; + parsedBody: WorkerPoolResource; }; }; /** - * Contains response data for the getPrivateEndpointConnectionList operation. + * Contains response data for the updateWorkerPool operation. */ -export type AppServiceEnvironmentsGetPrivateEndpointConnectionListResponse = PrivateEndpointConnectionCollection & { +export type AppServiceEnvironmentsUpdateWorkerPoolResponse = WorkerPoolResource & { /** * The underlying HTTP response. */ @@ -14386,14 +15334,14 @@ export type AppServiceEnvironmentsGetPrivateEndpointConnectionListResponse = Pri /** * The response body as parsed JSON or XML */ - parsedBody: PrivateEndpointConnectionCollection; + parsedBody: WorkerPoolResource; }; }; /** - * Contains response data for the getPrivateEndpointConnection operation. + * Contains response data for the listWorkerPoolInstanceMetricDefinitions operation. */ -export type AppServiceEnvironmentsGetPrivateEndpointConnectionResponse = RemotePrivateEndpointConnectionARMResource & { +export type AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsResponse = ResourceMetricDefinitionCollection & { /** * The underlying HTTP response. */ @@ -14406,14 +15354,14 @@ export type AppServiceEnvironmentsGetPrivateEndpointConnectionResponse = RemoteP /** * The response body as parsed JSON or XML */ - parsedBody: RemotePrivateEndpointConnectionARMResource; + parsedBody: ResourceMetricDefinitionCollection; }; }; /** - * Contains response data for the approveOrRejectPrivateEndpointConnection operation. + * Contains response data for the listWebWorkerMetricDefinitions operation. */ -export type AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionResponse = RemotePrivateEndpointConnectionARMResource & { +export type AppServiceEnvironmentsListWebWorkerMetricDefinitionsResponse = ResourceMetricDefinitionCollection & { /** * The underlying HTTP response. */ @@ -14426,19 +15374,14 @@ export type AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionRespon /** * The response body as parsed JSON or XML */ - parsedBody: RemotePrivateEndpointConnectionARMResource; + parsedBody: ResourceMetricDefinitionCollection; }; }; /** - * Contains response data for the deletePrivateEndpointConnection operation. + * Contains response data for the listWorkerPoolSkus operation. */ -export type AppServiceEnvironmentsDeletePrivateEndpointConnectionResponse = { - /** - * The parsed response body. - */ - body: any; - +export type AppServiceEnvironmentsListWorkerPoolSkusResponse = SkuInfoCollection & { /** * The underlying HTTP response. */ @@ -14451,14 +15394,14 @@ export type AppServiceEnvironmentsDeletePrivateEndpointConnectionResponse = { /** * The response body as parsed JSON or XML */ - parsedBody: any; + parsedBody: SkuInfoCollection; }; }; /** - * Contains response data for the getPrivateLinkResources operation. + * Contains response data for the listWebWorkerUsages operation. */ -export type AppServiceEnvironmentsGetPrivateLinkResourcesResponse = PrivateLinkResourcesWrapper & { +export type AppServiceEnvironmentsListWebWorkerUsagesResponse = UsageCollection & { /** * The underlying HTTP response. */ @@ -14471,14 +15414,14 @@ export type AppServiceEnvironmentsGetPrivateLinkResourcesResponse = PrivateLinkR /** * The response body as parsed JSON or XML */ - parsedBody: PrivateLinkResourcesWrapper; + parsedBody: UsageCollection; }; }; /** - * Contains response data for the resume operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type AppServiceEnvironmentsResumeResponse = WebAppCollection & { +export type AppServiceEnvironmentsBeginCreateOrUpdateResponse = AppServiceEnvironmentResource & { /** * The underlying HTTP response. */ @@ -14491,14 +15434,14 @@ export type AppServiceEnvironmentsResumeResponse = WebAppCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: WebAppCollection; + parsedBody: AppServiceEnvironmentResource; }; }; /** - * Contains response data for the listAppServicePlans operation. + * Contains response data for the beginChangeVnet operation. */ -export type AppServiceEnvironmentsListAppServicePlansResponse = AppServicePlanCollection & { +export type AppServiceEnvironmentsBeginChangeVnetResponse = WebAppCollection & { /** * The underlying HTTP response. */ @@ -14511,14 +15454,14 @@ export type AppServiceEnvironmentsListAppServicePlansResponse = AppServicePlanCo /** * The response body as parsed JSON or XML */ - parsedBody: AppServicePlanCollection; + parsedBody: WebAppCollection; }; }; /** - * Contains response data for the listWebApps operation. + * Contains response data for the beginCreateOrUpdateMultiRolePool operation. */ -export type AppServiceEnvironmentsListWebAppsResponse = WebAppCollection & { +export type AppServiceEnvironmentsBeginCreateOrUpdateMultiRolePoolResponse = WorkerPoolResource & { /** * The underlying HTTP response. */ @@ -14531,14 +15474,14 @@ export type AppServiceEnvironmentsListWebAppsResponse = WebAppCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: WebAppCollection; + parsedBody: WorkerPoolResource; }; }; /** - * Contains response data for the suspend operation. + * Contains response data for the beginApproveOrRejectPrivateEndpointConnection operation. */ -export type AppServiceEnvironmentsSuspendResponse = WebAppCollection & { +export type AppServiceEnvironmentsBeginApproveOrRejectPrivateEndpointConnectionResponse = RemotePrivateEndpointConnectionARMResource & { /** * The underlying HTTP response. */ @@ -14551,14 +15494,19 @@ export type AppServiceEnvironmentsSuspendResponse = WebAppCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: WebAppCollection; + parsedBody: RemotePrivateEndpointConnectionARMResource; }; }; /** - * Contains response data for the listUsages operation. + * Contains response data for the beginDeletePrivateEndpointConnection operation. */ -export type AppServiceEnvironmentsListUsagesResponse = CsmUsageQuotaCollection & { +export type AppServiceEnvironmentsBeginDeletePrivateEndpointConnectionResponse = { + /** + * The parsed response body. + */ + body: any; + /** * The underlying HTTP response. */ @@ -14571,14 +15519,14 @@ export type AppServiceEnvironmentsListUsagesResponse = CsmUsageQuotaCollection & /** * The response body as parsed JSON or XML */ - parsedBody: CsmUsageQuotaCollection; + parsedBody: any; }; }; /** - * Contains response data for the listWorkerPools operation. + * Contains response data for the beginResume operation. */ -export type AppServiceEnvironmentsListWorkerPoolsResponse = WorkerPoolCollection & { +export type AppServiceEnvironmentsBeginResumeResponse = WebAppCollection & { /** * The underlying HTTP response. */ @@ -14591,14 +15539,14 @@ export type AppServiceEnvironmentsListWorkerPoolsResponse = WorkerPoolCollection /** * The response body as parsed JSON or XML */ - parsedBody: WorkerPoolCollection; + parsedBody: WebAppCollection; }; }; /** - * Contains response data for the getWorkerPool operation. + * Contains response data for the beginSuspend operation. */ -export type AppServiceEnvironmentsGetWorkerPoolResponse = WorkerPoolResource & { +export type AppServiceEnvironmentsBeginSuspendResponse = WebAppCollection & { /** * The underlying HTTP response. */ @@ -14611,14 +15559,14 @@ export type AppServiceEnvironmentsGetWorkerPoolResponse = WorkerPoolResource & { /** * The response body as parsed JSON or XML */ - parsedBody: WorkerPoolResource; + parsedBody: WebAppCollection; }; }; /** - * Contains response data for the createOrUpdateWorkerPool operation. + * Contains response data for the beginCreateOrUpdateWorkerPool operation. */ -export type AppServiceEnvironmentsCreateOrUpdateWorkerPoolResponse = WorkerPoolResource & { +export type AppServiceEnvironmentsBeginCreateOrUpdateWorkerPoolResponse = WorkerPoolResource & { /** * The underlying HTTP response. */ @@ -14636,9 +15584,9 @@ export type AppServiceEnvironmentsCreateOrUpdateWorkerPoolResponse = WorkerPoolR }; /** - * Contains response data for the updateWorkerPool operation. + * Contains response data for the listNext operation. */ -export type AppServiceEnvironmentsUpdateWorkerPoolResponse = WorkerPoolResource & { +export type AppServiceEnvironmentsListNextResponse = AppServiceEnvironmentCollection & { /** * The underlying HTTP response. */ @@ -14651,14 +15599,14 @@ export type AppServiceEnvironmentsUpdateWorkerPoolResponse = WorkerPoolResource /** * The response body as parsed JSON or XML */ - parsedBody: WorkerPoolResource; + parsedBody: AppServiceEnvironmentCollection; }; }; /** - * Contains response data for the listWorkerPoolInstanceMetricDefinitions operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsResponse = ResourceMetricDefinitionCollection & { +export type AppServiceEnvironmentsListByResourceGroupNextResponse = AppServiceEnvironmentCollection & { /** * The underlying HTTP response. */ @@ -14671,14 +15619,14 @@ export type AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsRespons /** * The response body as parsed JSON or XML */ - parsedBody: ResourceMetricDefinitionCollection; + parsedBody: AppServiceEnvironmentCollection; }; }; /** - * Contains response data for the listWebWorkerMetricDefinitions operation. + * Contains response data for the listCapacitiesNext operation. */ -export type AppServiceEnvironmentsListWebWorkerMetricDefinitionsResponse = ResourceMetricDefinitionCollection & { +export type AppServiceEnvironmentsListCapacitiesNextResponse = StampCapacityCollection & { /** * The underlying HTTP response. */ @@ -14691,14 +15639,14 @@ export type AppServiceEnvironmentsListWebWorkerMetricDefinitionsResponse = Resou /** * The response body as parsed JSON or XML */ - parsedBody: ResourceMetricDefinitionCollection; + parsedBody: StampCapacityCollection; }; }; /** - * Contains response data for the listWorkerPoolSkus operation. + * Contains response data for the changeVnetNext operation. */ -export type AppServiceEnvironmentsListWorkerPoolSkusResponse = SkuInfoCollection & { +export type AppServiceEnvironmentsChangeVnetNextResponse = WebAppCollection & { /** * The underlying HTTP response. */ @@ -14711,14 +15659,14 @@ export type AppServiceEnvironmentsListWorkerPoolSkusResponse = SkuInfoCollection /** * The response body as parsed JSON or XML */ - parsedBody: SkuInfoCollection; + parsedBody: WebAppCollection; }; }; /** - * Contains response data for the listWebWorkerUsages operation. + * Contains response data for the getInboundNetworkDependenciesEndpointsNext operation. */ -export type AppServiceEnvironmentsListWebWorkerUsagesResponse = UsageCollection & { +export type AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsNextResponse = InboundEnvironmentEndpointCollection & { /** * The underlying HTTP response. */ @@ -14731,14 +15679,14 @@ export type AppServiceEnvironmentsListWebWorkerUsagesResponse = UsageCollection /** * The response body as parsed JSON or XML */ - parsedBody: UsageCollection; + parsedBody: InboundEnvironmentEndpointCollection; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listMultiRolePoolsNext operation. */ -export type AppServiceEnvironmentsBeginCreateOrUpdateResponse = AppServiceEnvironmentResource & { +export type AppServiceEnvironmentsListMultiRolePoolsNextResponse = WorkerPoolCollection & { /** * The underlying HTTP response. */ @@ -14751,14 +15699,14 @@ export type AppServiceEnvironmentsBeginCreateOrUpdateResponse = AppServiceEnviro /** * The response body as parsed JSON or XML */ - parsedBody: AppServiceEnvironmentResource; + parsedBody: WorkerPoolCollection; }; }; /** - * Contains response data for the beginChangeVnet operation. + * Contains response data for the listMultiRolePoolInstanceMetricDefinitionsNext operation. */ -export type AppServiceEnvironmentsBeginChangeVnetResponse = WebAppCollection & { +export type AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsNextResponse = ResourceMetricDefinitionCollection & { /** * The underlying HTTP response. */ @@ -14771,14 +15719,14 @@ export type AppServiceEnvironmentsBeginChangeVnetResponse = WebAppCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: WebAppCollection; + parsedBody: ResourceMetricDefinitionCollection; }; }; /** - * Contains response data for the beginCreateOrUpdateMultiRolePool operation. + * Contains response data for the listMultiRoleMetricDefinitionsNext operation. */ -export type AppServiceEnvironmentsBeginCreateOrUpdateMultiRolePoolResponse = WorkerPoolResource & { +export type AppServiceEnvironmentsListMultiRoleMetricDefinitionsNextResponse = ResourceMetricDefinitionCollection & { /** * The underlying HTTP response. */ @@ -14791,14 +15739,14 @@ export type AppServiceEnvironmentsBeginCreateOrUpdateMultiRolePoolResponse = Wor /** * The response body as parsed JSON or XML */ - parsedBody: WorkerPoolResource; + parsedBody: ResourceMetricDefinitionCollection; }; }; /** - * Contains response data for the beginApproveOrRejectPrivateEndpointConnection operation. + * Contains response data for the listMultiRolePoolSkusNext operation. */ -export type AppServiceEnvironmentsBeginApproveOrRejectPrivateEndpointConnectionResponse = RemotePrivateEndpointConnectionARMResource & { +export type AppServiceEnvironmentsListMultiRolePoolSkusNextResponse = SkuInfoCollection & { /** * The underlying HTTP response. */ @@ -14811,19 +15759,14 @@ export type AppServiceEnvironmentsBeginApproveOrRejectPrivateEndpointConnectionR /** * The response body as parsed JSON or XML */ - parsedBody: RemotePrivateEndpointConnectionARMResource; + parsedBody: SkuInfoCollection; }; }; /** - * Contains response data for the beginDeletePrivateEndpointConnection operation. + * Contains response data for the listMultiRoleUsagesNext operation. */ -export type AppServiceEnvironmentsBeginDeletePrivateEndpointConnectionResponse = { - /** - * The parsed response body. - */ - body: any; - +export type AppServiceEnvironmentsListMultiRoleUsagesNextResponse = UsageCollection & { /** * The underlying HTTP response. */ @@ -14836,14 +15779,14 @@ export type AppServiceEnvironmentsBeginDeletePrivateEndpointConnectionResponse = /** * The response body as parsed JSON or XML */ - parsedBody: any; + parsedBody: UsageCollection; }; }; /** - * Contains response data for the beginResume operation. + * Contains response data for the getOutboundNetworkDependenciesEndpointsNext operation. */ -export type AppServiceEnvironmentsBeginResumeResponse = WebAppCollection & { +export type AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsNextResponse = OutboundEnvironmentEndpointCollection & { /** * The underlying HTTP response. */ @@ -14856,14 +15799,14 @@ export type AppServiceEnvironmentsBeginResumeResponse = WebAppCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: WebAppCollection; + parsedBody: OutboundEnvironmentEndpointCollection; }; }; /** - * Contains response data for the beginSuspend operation. + * Contains response data for the getPrivateEndpointConnectionListNext operation. */ -export type AppServiceEnvironmentsBeginSuspendResponse = WebAppCollection & { +export type AppServiceEnvironmentsGetPrivateEndpointConnectionListNextResponse = PrivateEndpointConnectionCollection & { /** * The underlying HTTP response. */ @@ -14876,14 +15819,14 @@ export type AppServiceEnvironmentsBeginSuspendResponse = WebAppCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: WebAppCollection; + parsedBody: PrivateEndpointConnectionCollection; }; }; /** - * Contains response data for the beginCreateOrUpdateWorkerPool operation. + * Contains response data for the resumeNext operation. */ -export type AppServiceEnvironmentsBeginCreateOrUpdateWorkerPoolResponse = WorkerPoolResource & { +export type AppServiceEnvironmentsResumeNextResponse = WebAppCollection & { /** * The underlying HTTP response. */ @@ -14896,14 +15839,14 @@ export type AppServiceEnvironmentsBeginCreateOrUpdateWorkerPoolResponse = Worker /** * The response body as parsed JSON or XML */ - parsedBody: WorkerPoolResource; + parsedBody: WebAppCollection; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listAppServicePlansNext operation. */ -export type AppServiceEnvironmentsListNextResponse = AppServiceEnvironmentCollection & { +export type AppServiceEnvironmentsListAppServicePlansNextResponse = AppServicePlanCollection & { /** * The underlying HTTP response. */ @@ -14916,14 +15859,14 @@ export type AppServiceEnvironmentsListNextResponse = AppServiceEnvironmentCollec /** * The response body as parsed JSON or XML */ - parsedBody: AppServiceEnvironmentCollection; + parsedBody: AppServicePlanCollection; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the listWebAppsNext operation. */ -export type AppServiceEnvironmentsListByResourceGroupNextResponse = AppServiceEnvironmentCollection & { +export type AppServiceEnvironmentsListWebAppsNextResponse = WebAppCollection & { /** * The underlying HTTP response. */ @@ -14936,14 +15879,14 @@ export type AppServiceEnvironmentsListByResourceGroupNextResponse = AppServiceEn /** * The response body as parsed JSON or XML */ - parsedBody: AppServiceEnvironmentCollection; + parsedBody: WebAppCollection; }; }; /** - * Contains response data for the listCapacitiesNext operation. + * Contains response data for the suspendNext operation. */ -export type AppServiceEnvironmentsListCapacitiesNextResponse = StampCapacityCollection & { +export type AppServiceEnvironmentsSuspendNextResponse = WebAppCollection & { /** * The underlying HTTP response. */ @@ -14956,14 +15899,14 @@ export type AppServiceEnvironmentsListCapacitiesNextResponse = StampCapacityColl /** * The response body as parsed JSON or XML */ - parsedBody: StampCapacityCollection; + parsedBody: WebAppCollection; }; }; /** - * Contains response data for the changeVnetNext operation. + * Contains response data for the listUsagesNext operation. */ -export type AppServiceEnvironmentsChangeVnetNextResponse = WebAppCollection & { +export type AppServiceEnvironmentsListUsagesNextResponse = CsmUsageQuotaCollection & { /** * The underlying HTTP response. */ @@ -14976,14 +15919,14 @@ export type AppServiceEnvironmentsChangeVnetNextResponse = WebAppCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: WebAppCollection; + parsedBody: CsmUsageQuotaCollection; }; }; /** - * Contains response data for the getInboundNetworkDependenciesEndpointsNext operation. + * Contains response data for the listWorkerPoolsNext operation. */ -export type AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsNextResponse = InboundEnvironmentEndpointCollection & { +export type AppServiceEnvironmentsListWorkerPoolsNextResponse = WorkerPoolCollection & { /** * The underlying HTTP response. */ @@ -14996,14 +15939,14 @@ export type AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsNextResp /** * The response body as parsed JSON or XML */ - parsedBody: InboundEnvironmentEndpointCollection; + parsedBody: WorkerPoolCollection; }; }; /** - * Contains response data for the listMultiRolePoolsNext operation. + * Contains response data for the listWorkerPoolInstanceMetricDefinitionsNext operation. */ -export type AppServiceEnvironmentsListMultiRolePoolsNextResponse = WorkerPoolCollection & { +export type AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsNextResponse = ResourceMetricDefinitionCollection & { /** * The underlying HTTP response. */ @@ -15016,14 +15959,14 @@ export type AppServiceEnvironmentsListMultiRolePoolsNextResponse = WorkerPoolCol /** * The response body as parsed JSON or XML */ - parsedBody: WorkerPoolCollection; + parsedBody: ResourceMetricDefinitionCollection; }; }; /** - * Contains response data for the listMultiRolePoolInstanceMetricDefinitionsNext operation. + * Contains response data for the listWebWorkerMetricDefinitionsNext operation. */ -export type AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsNextResponse = ResourceMetricDefinitionCollection & { +export type AppServiceEnvironmentsListWebWorkerMetricDefinitionsNextResponse = ResourceMetricDefinitionCollection & { /** * The underlying HTTP response. */ @@ -15041,9 +15984,9 @@ export type AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsNext }; /** - * Contains response data for the listMultiRoleMetricDefinitionsNext operation. + * Contains response data for the listWorkerPoolSkusNext operation. */ -export type AppServiceEnvironmentsListMultiRoleMetricDefinitionsNextResponse = ResourceMetricDefinitionCollection & { +export type AppServiceEnvironmentsListWorkerPoolSkusNextResponse = SkuInfoCollection & { /** * The underlying HTTP response. */ @@ -15056,14 +15999,14 @@ export type AppServiceEnvironmentsListMultiRoleMetricDefinitionsNextResponse = R /** * The response body as parsed JSON or XML */ - parsedBody: ResourceMetricDefinitionCollection; + parsedBody: SkuInfoCollection; }; }; /** - * Contains response data for the listMultiRolePoolSkusNext operation. + * Contains response data for the listWebWorkerUsagesNext operation. */ -export type AppServiceEnvironmentsListMultiRolePoolSkusNextResponse = SkuInfoCollection & { +export type AppServiceEnvironmentsListWebWorkerUsagesNextResponse = UsageCollection & { /** * The underlying HTTP response. */ @@ -15076,14 +16019,14 @@ export type AppServiceEnvironmentsListMultiRolePoolSkusNextResponse = SkuInfoCol /** * The response body as parsed JSON or XML */ - parsedBody: SkuInfoCollection; + parsedBody: UsageCollection; }; }; /** - * Contains response data for the listMultiRoleUsagesNext operation. + * Contains response data for the beginChangeVnetNext operation. */ -export type AppServiceEnvironmentsListMultiRoleUsagesNextResponse = UsageCollection & { +export type AppServiceEnvironmentsBeginChangeVnetNextResponse = WebAppCollection & { /** * The underlying HTTP response. */ @@ -15096,14 +16039,14 @@ export type AppServiceEnvironmentsListMultiRoleUsagesNextResponse = UsageCollect /** * The response body as parsed JSON or XML */ - parsedBody: UsageCollection; + parsedBody: WebAppCollection; }; }; /** - * Contains response data for the getOutboundNetworkDependenciesEndpointsNext operation. + * Contains response data for the beginResumeNext operation. */ -export type AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsNextResponse = OutboundEnvironmentEndpointCollection & { +export type AppServiceEnvironmentsBeginResumeNextResponse = WebAppCollection & { /** * The underlying HTTP response. */ @@ -15116,14 +16059,14 @@ export type AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsNextRes /** * The response body as parsed JSON or XML */ - parsedBody: OutboundEnvironmentEndpointCollection; + parsedBody: WebAppCollection; }; }; /** - * Contains response data for the getPrivateEndpointConnectionListNext operation. + * Contains response data for the beginSuspendNext operation. */ -export type AppServiceEnvironmentsGetPrivateEndpointConnectionListNextResponse = PrivateEndpointConnectionCollection & { +export type AppServiceEnvironmentsBeginSuspendNextResponse = WebAppCollection & { /** * The underlying HTTP response. */ @@ -15136,14 +16079,14 @@ export type AppServiceEnvironmentsGetPrivateEndpointConnectionListNextResponse = /** * The response body as parsed JSON or XML */ - parsedBody: PrivateEndpointConnectionCollection; + parsedBody: WebAppCollection; }; }; /** - * Contains response data for the resumeNext operation. + * Contains response data for the list operation. */ -export type AppServiceEnvironmentsResumeNextResponse = WebAppCollection & { +export type AppServicePlansListResponse = AppServicePlanCollection & { /** * The underlying HTTP response. */ @@ -15156,14 +16099,14 @@ export type AppServiceEnvironmentsResumeNextResponse = WebAppCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: WebAppCollection; + parsedBody: AppServicePlanCollection; }; }; /** - * Contains response data for the listAppServicePlansNext operation. + * Contains response data for the listByResourceGroup operation. */ -export type AppServiceEnvironmentsListAppServicePlansNextResponse = AppServicePlanCollection & { +export type AppServicePlansListByResourceGroupResponse = AppServicePlanCollection & { /** * The underlying HTTP response. */ @@ -15181,9 +16124,9 @@ export type AppServiceEnvironmentsListAppServicePlansNextResponse = AppServicePl }; /** - * Contains response data for the listWebAppsNext operation. + * Contains response data for the get operation. */ -export type AppServiceEnvironmentsListWebAppsNextResponse = WebAppCollection & { +export type AppServicePlansGetResponse = AppServicePlan & { /** * The underlying HTTP response. */ @@ -15196,14 +16139,14 @@ export type AppServiceEnvironmentsListWebAppsNextResponse = WebAppCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: WebAppCollection; + parsedBody: AppServicePlan; }; }; /** - * Contains response data for the suspendNext operation. + * Contains response data for the createOrUpdate operation. */ -export type AppServiceEnvironmentsSuspendNextResponse = WebAppCollection & { +export type AppServicePlansCreateOrUpdateResponse = AppServicePlan & { /** * The underlying HTTP response. */ @@ -15216,14 +16159,14 @@ export type AppServiceEnvironmentsSuspendNextResponse = WebAppCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: WebAppCollection; + parsedBody: AppServicePlan; }; }; /** - * Contains response data for the listUsagesNext operation. + * Contains response data for the update operation. */ -export type AppServiceEnvironmentsListUsagesNextResponse = CsmUsageQuotaCollection & { +export type AppServicePlansUpdateResponse = AppServicePlan & { /** * The underlying HTTP response. */ @@ -15236,14 +16179,14 @@ export type AppServiceEnvironmentsListUsagesNextResponse = CsmUsageQuotaCollecti /** * The response body as parsed JSON or XML */ - parsedBody: CsmUsageQuotaCollection; + parsedBody: AppServicePlan; }; }; /** - * Contains response data for the listWorkerPoolsNext operation. + * Contains response data for the listCapabilities operation. */ -export type AppServiceEnvironmentsListWorkerPoolsNextResponse = WorkerPoolCollection & { +export type AppServicePlansListCapabilitiesResponse = Array & { /** * The underlying HTTP response. */ @@ -15256,14 +16199,14 @@ export type AppServiceEnvironmentsListWorkerPoolsNextResponse = WorkerPoolCollec /** * The response body as parsed JSON or XML */ - parsedBody: WorkerPoolCollection; + parsedBody: Capability[]; }; }; /** - * Contains response data for the listWorkerPoolInstanceMetricDefinitionsNext operation. + * Contains response data for the getHybridConnection operation. */ -export type AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsNextResponse = ResourceMetricDefinitionCollection & { +export type AppServicePlansGetHybridConnectionResponse = HybridConnection & { /** * The underlying HTTP response. */ @@ -15276,14 +16219,14 @@ export type AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsNextRes /** * The response body as parsed JSON or XML */ - parsedBody: ResourceMetricDefinitionCollection; + parsedBody: HybridConnection; }; }; /** - * Contains response data for the listWebWorkerMetricDefinitionsNext operation. + * Contains response data for the listHybridConnectionKeys operation. */ -export type AppServiceEnvironmentsListWebWorkerMetricDefinitionsNextResponse = ResourceMetricDefinitionCollection & { +export type AppServicePlansListHybridConnectionKeysResponse = HybridConnectionKey & { /** * The underlying HTTP response. */ @@ -15296,14 +16239,14 @@ export type AppServiceEnvironmentsListWebWorkerMetricDefinitionsNextResponse = R /** * The response body as parsed JSON or XML */ - parsedBody: ResourceMetricDefinitionCollection; + parsedBody: HybridConnectionKey; }; }; /** - * Contains response data for the listWorkerPoolSkusNext operation. + * Contains response data for the listWebAppsByHybridConnection operation. */ -export type AppServiceEnvironmentsListWorkerPoolSkusNextResponse = SkuInfoCollection & { +export type AppServicePlansListWebAppsByHybridConnectionResponse = ResourceCollection & { /** * The underlying HTTP response. */ @@ -15316,14 +16259,14 @@ export type AppServiceEnvironmentsListWorkerPoolSkusNextResponse = SkuInfoCollec /** * The response body as parsed JSON or XML */ - parsedBody: SkuInfoCollection; + parsedBody: ResourceCollection; }; }; /** - * Contains response data for the listWebWorkerUsagesNext operation. + * Contains response data for the getHybridConnectionPlanLimit operation. */ -export type AppServiceEnvironmentsListWebWorkerUsagesNextResponse = UsageCollection & { +export type AppServicePlansGetHybridConnectionPlanLimitResponse = HybridConnectionLimits & { /** * The underlying HTTP response. */ @@ -15336,14 +16279,14 @@ export type AppServiceEnvironmentsListWebWorkerUsagesNextResponse = UsageCollect /** * The response body as parsed JSON or XML */ - parsedBody: UsageCollection; + parsedBody: HybridConnectionLimits; }; }; /** - * Contains response data for the beginChangeVnetNext operation. + * Contains response data for the listHybridConnections operation. */ -export type AppServiceEnvironmentsBeginChangeVnetNextResponse = WebAppCollection & { +export type AppServicePlansListHybridConnectionsResponse = HybridConnectionCollection & { /** * The underlying HTTP response. */ @@ -15356,14 +16299,14 @@ export type AppServiceEnvironmentsBeginChangeVnetNextResponse = WebAppCollection /** * The response body as parsed JSON or XML */ - parsedBody: WebAppCollection; + parsedBody: HybridConnectionCollection; }; }; /** - * Contains response data for the beginResumeNext operation. + * Contains response data for the listWebApps operation. */ -export type AppServiceEnvironmentsBeginResumeNextResponse = WebAppCollection & { +export type AppServicePlansListWebAppsResponse = WebAppCollection & { /** * The underlying HTTP response. */ @@ -15381,9 +16324,14 @@ export type AppServiceEnvironmentsBeginResumeNextResponse = WebAppCollection & { }; /** - * Contains response data for the beginSuspendNext operation. + * Contains response data for the getServerFarmSkus operation. */ -export type AppServiceEnvironmentsBeginSuspendNextResponse = WebAppCollection & { +export type AppServicePlansGetServerFarmSkusResponse = { + /** + * The parsed response body. + */ + body: any; + /** * The underlying HTTP response. */ @@ -15396,14 +16344,14 @@ export type AppServiceEnvironmentsBeginSuspendNextResponse = WebAppCollection & /** * The response body as parsed JSON or XML */ - parsedBody: WebAppCollection; + parsedBody: any; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listUsages operation. */ -export type AppServicePlansListResponse = AppServicePlanCollection & { +export type AppServicePlansListUsagesResponse = CsmUsageQuotaCollection & { /** * The underlying HTTP response. */ @@ -15416,14 +16364,14 @@ export type AppServicePlansListResponse = AppServicePlanCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: AppServicePlanCollection; + parsedBody: CsmUsageQuotaCollection; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the listVnets operation. */ -export type AppServicePlansListByResourceGroupResponse = AppServicePlanCollection & { +export type AppServicePlansListVnetsResponse = Array & { /** * The underlying HTTP response. */ @@ -15436,14 +16384,14 @@ export type AppServicePlansListByResourceGroupResponse = AppServicePlanCollectio /** * The response body as parsed JSON or XML */ - parsedBody: AppServicePlanCollection; + parsedBody: VnetInfoResource[]; }; }; /** - * Contains response data for the get operation. + * Contains response data for the getVnetFromServerFarm operation. */ -export type AppServicePlansGetResponse = AppServicePlan & { +export type AppServicePlansGetVnetFromServerFarmResponse = VnetInfoResource & { /** * The underlying HTTP response. */ @@ -15456,14 +16404,14 @@ export type AppServicePlansGetResponse = AppServicePlan & { /** * The response body as parsed JSON or XML */ - parsedBody: AppServicePlan; + parsedBody: VnetInfoResource; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the getVnetGateway operation. */ -export type AppServicePlansCreateOrUpdateResponse = AppServicePlan & { +export type AppServicePlansGetVnetGatewayResponse = VnetGateway & { /** * The underlying HTTP response. */ @@ -15476,14 +16424,14 @@ export type AppServicePlansCreateOrUpdateResponse = AppServicePlan & { /** * The response body as parsed JSON or XML */ - parsedBody: AppServicePlan; + parsedBody: VnetGateway; }; }; /** - * Contains response data for the update operation. + * Contains response data for the updateVnetGateway operation. */ -export type AppServicePlansUpdateResponse = AppServicePlan & { +export type AppServicePlansUpdateVnetGatewayResponse = VnetGateway & { /** * The underlying HTTP response. */ @@ -15496,14 +16444,14 @@ export type AppServicePlansUpdateResponse = AppServicePlan & { /** * The response body as parsed JSON or XML */ - parsedBody: AppServicePlan; + parsedBody: VnetGateway; }; }; /** - * Contains response data for the listCapabilities operation. + * Contains response data for the listRoutesForVnet operation. */ -export type AppServicePlansListCapabilitiesResponse = Array & { +export type AppServicePlansListRoutesForVnetResponse = Array & { /** * The underlying HTTP response. */ @@ -15516,14 +16464,14 @@ export type AppServicePlansListCapabilitiesResponse = Array & { /** * The response body as parsed JSON or XML */ - parsedBody: Capability[]; + parsedBody: VnetRoute[]; }; }; /** - * Contains response data for the getHybridConnection operation. + * Contains response data for the getRouteForVnet operation. */ -export type AppServicePlansGetHybridConnectionResponse = HybridConnection & { +export type AppServicePlansGetRouteForVnetResponse = Array & { /** * The underlying HTTP response. */ @@ -15536,14 +16484,14 @@ export type AppServicePlansGetHybridConnectionResponse = HybridConnection & { /** * The response body as parsed JSON or XML */ - parsedBody: HybridConnection; + parsedBody: VnetRoute[]; }; }; /** - * Contains response data for the listHybridConnectionKeys operation. + * Contains response data for the createOrUpdateVnetRoute operation. */ -export type AppServicePlansListHybridConnectionKeysResponse = HybridConnectionKey & { +export type AppServicePlansCreateOrUpdateVnetRouteResponse = VnetRoute & { /** * The underlying HTTP response. */ @@ -15556,14 +16504,14 @@ export type AppServicePlansListHybridConnectionKeysResponse = HybridConnectionKe /** * The response body as parsed JSON or XML */ - parsedBody: HybridConnectionKey; + parsedBody: VnetRoute; }; }; /** - * Contains response data for the listWebAppsByHybridConnection operation. + * Contains response data for the updateVnetRoute operation. */ -export type AppServicePlansListWebAppsByHybridConnectionResponse = ResourceCollection & { +export type AppServicePlansUpdateVnetRouteResponse = VnetRoute & { /** * The underlying HTTP response. */ @@ -15576,14 +16524,14 @@ export type AppServicePlansListWebAppsByHybridConnectionResponse = ResourceColle /** * The response body as parsed JSON or XML */ - parsedBody: ResourceCollection; + parsedBody: VnetRoute; }; }; /** - * Contains response data for the getHybridConnectionPlanLimit operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type AppServicePlansGetHybridConnectionPlanLimitResponse = HybridConnectionLimits & { +export type AppServicePlansBeginCreateOrUpdateResponse = AppServicePlan & { /** * The underlying HTTP response. */ @@ -15596,14 +16544,14 @@ export type AppServicePlansGetHybridConnectionPlanLimitResponse = HybridConnecti /** * The response body as parsed JSON or XML */ - parsedBody: HybridConnectionLimits; + parsedBody: AppServicePlan; }; }; /** - * Contains response data for the listHybridConnections operation. + * Contains response data for the listNext operation. */ -export type AppServicePlansListHybridConnectionsResponse = HybridConnectionCollection & { +export type AppServicePlansListNextResponse = AppServicePlanCollection & { /** * The underlying HTTP response. */ @@ -15616,14 +16564,14 @@ export type AppServicePlansListHybridConnectionsResponse = HybridConnectionColle /** * The response body as parsed JSON or XML */ - parsedBody: HybridConnectionCollection; + parsedBody: AppServicePlanCollection; }; }; /** - * Contains response data for the listWebApps operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type AppServicePlansListWebAppsResponse = WebAppCollection & { +export type AppServicePlansListByResourceGroupNextResponse = AppServicePlanCollection & { /** * The underlying HTTP response. */ @@ -15636,19 +16584,14 @@ export type AppServicePlansListWebAppsResponse = WebAppCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: WebAppCollection; + parsedBody: AppServicePlanCollection; }; }; /** - * Contains response data for the getServerFarmSkus operation. + * Contains response data for the listWebAppsByHybridConnectionNext operation. */ -export type AppServicePlansGetServerFarmSkusResponse = { - /** - * The parsed response body. - */ - body: any; - +export type AppServicePlansListWebAppsByHybridConnectionNextResponse = ResourceCollection & { /** * The underlying HTTP response. */ @@ -15661,14 +16604,14 @@ export type AppServicePlansGetServerFarmSkusResponse = { /** * The response body as parsed JSON or XML */ - parsedBody: any; + parsedBody: ResourceCollection; }; }; /** - * Contains response data for the listUsages operation. + * Contains response data for the listHybridConnectionsNext operation. */ -export type AppServicePlansListUsagesResponse = CsmUsageQuotaCollection & { +export type AppServicePlansListHybridConnectionsNextResponse = HybridConnectionCollection & { /** * The underlying HTTP response. */ @@ -15681,14 +16624,14 @@ export type AppServicePlansListUsagesResponse = CsmUsageQuotaCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: CsmUsageQuotaCollection; + parsedBody: HybridConnectionCollection; }; }; /** - * Contains response data for the listVnets operation. + * Contains response data for the listWebAppsNext operation. */ -export type AppServicePlansListVnetsResponse = Array & { +export type AppServicePlansListWebAppsNextResponse = WebAppCollection & { /** * The underlying HTTP response. */ @@ -15701,14 +16644,14 @@ export type AppServicePlansListVnetsResponse = Array & { /** * The response body as parsed JSON or XML */ - parsedBody: VnetInfoResource[]; + parsedBody: WebAppCollection; }; }; /** - * Contains response data for the getVnetFromServerFarm operation. + * Contains response data for the listUsagesNext operation. */ -export type AppServicePlansGetVnetFromServerFarmResponse = VnetInfoResource & { +export type AppServicePlansListUsagesNextResponse = CsmUsageQuotaCollection & { /** * The underlying HTTP response. */ @@ -15721,14 +16664,14 @@ export type AppServicePlansGetVnetFromServerFarmResponse = VnetInfoResource & { /** * The response body as parsed JSON or XML */ - parsedBody: VnetInfoResource; + parsedBody: CsmUsageQuotaCollection; }; }; /** - * Contains response data for the getVnetGateway operation. + * Contains response data for the list operation. */ -export type AppServicePlansGetVnetGatewayResponse = VnetGateway & { +export type CertificatesListResponse = CertificateCollection & { /** * The underlying HTTP response. */ @@ -15741,14 +16684,14 @@ export type AppServicePlansGetVnetGatewayResponse = VnetGateway & { /** * The response body as parsed JSON or XML */ - parsedBody: VnetGateway; + parsedBody: CertificateCollection; }; }; /** - * Contains response data for the updateVnetGateway operation. + * Contains response data for the listByResourceGroup operation. */ -export type AppServicePlansUpdateVnetGatewayResponse = VnetGateway & { +export type CertificatesListByResourceGroupResponse = CertificateCollection & { /** * The underlying HTTP response. */ @@ -15761,14 +16704,14 @@ export type AppServicePlansUpdateVnetGatewayResponse = VnetGateway & { /** * The response body as parsed JSON or XML */ - parsedBody: VnetGateway; + parsedBody: CertificateCollection; }; }; /** - * Contains response data for the listRoutesForVnet operation. + * Contains response data for the get operation. */ -export type AppServicePlansListRoutesForVnetResponse = Array & { +export type CertificatesGetResponse = Certificate & { /** * The underlying HTTP response. */ @@ -15781,14 +16724,14 @@ export type AppServicePlansListRoutesForVnetResponse = Array & { /** * The response body as parsed JSON or XML */ - parsedBody: VnetRoute[]; + parsedBody: Certificate; }; }; /** - * Contains response data for the getRouteForVnet operation. + * Contains response data for the createOrUpdate operation. */ -export type AppServicePlansGetRouteForVnetResponse = Array & { +export type CertificatesCreateOrUpdateResponse = Certificate & { /** * The underlying HTTP response. */ @@ -15801,14 +16744,14 @@ export type AppServicePlansGetRouteForVnetResponse = Array & { /** * The response body as parsed JSON or XML */ - parsedBody: VnetRoute[]; + parsedBody: Certificate; }; }; /** - * Contains response data for the createOrUpdateVnetRoute operation. + * Contains response data for the update operation. */ -export type AppServicePlansCreateOrUpdateVnetRouteResponse = VnetRoute & { +export type CertificatesUpdateResponse = Certificate & { /** * The underlying HTTP response. */ @@ -15821,14 +16764,14 @@ export type AppServicePlansCreateOrUpdateVnetRouteResponse = VnetRoute & { /** * The response body as parsed JSON or XML */ - parsedBody: VnetRoute; + parsedBody: Certificate; }; }; /** - * Contains response data for the updateVnetRoute operation. + * Contains response data for the listHostnameBindings operation. */ -export type AppServicePlansUpdateVnetRouteResponse = VnetRoute & { +export type CertificatesListHostnameBindingsResponse = HostNameBindingCollection & { /** * The underlying HTTP response. */ @@ -15841,14 +16784,14 @@ export type AppServicePlansUpdateVnetRouteResponse = VnetRoute & { /** * The response body as parsed JSON or XML */ - parsedBody: VnetRoute; + parsedBody: HostNameBindingCollection; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listNext operation. */ -export type AppServicePlansBeginCreateOrUpdateResponse = AppServicePlan & { +export type CertificatesListNextResponse = CertificateCollection & { /** * The underlying HTTP response. */ @@ -15861,14 +16804,14 @@ export type AppServicePlansBeginCreateOrUpdateResponse = AppServicePlan & { /** * The response body as parsed JSON or XML */ - parsedBody: AppServicePlan; + parsedBody: CertificateCollection; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type AppServicePlansListNextResponse = AppServicePlanCollection & { +export type CertificatesListByResourceGroupNextResponse = CertificateCollection & { /** * The underlying HTTP response. */ @@ -15881,14 +16824,14 @@ export type AppServicePlansListNextResponse = AppServicePlanCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: AppServicePlanCollection; + parsedBody: CertificateCollection; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the listHostnameBindingsNext operation. */ -export type AppServicePlansListByResourceGroupNextResponse = AppServicePlanCollection & { +export type CertificatesListHostnameBindingsNextResponse = HostNameBindingCollection & { /** * The underlying HTTP response. */ @@ -15901,14 +16844,14 @@ export type AppServicePlansListByResourceGroupNextResponse = AppServicePlanColle /** * The response body as parsed JSON or XML */ - parsedBody: AppServicePlanCollection; + parsedBody: HostNameBindingCollection; }; }; /** - * Contains response data for the listWebAppsByHybridConnectionNext operation. + * Contains response data for the listBySubscription operation. */ -export type AppServicePlansListWebAppsByHybridConnectionNextResponse = ResourceCollection & { +export type ContainerAppsListBySubscriptionResponse = ContainerAppCollection & { /** * The underlying HTTP response. */ @@ -15921,14 +16864,14 @@ export type AppServicePlansListWebAppsByHybridConnectionNextResponse = ResourceC /** * The response body as parsed JSON or XML */ - parsedBody: ResourceCollection; + parsedBody: ContainerAppCollection; }; }; /** - * Contains response data for the listHybridConnectionsNext operation. + * Contains response data for the listByResourceGroup operation. */ -export type AppServicePlansListHybridConnectionsNextResponse = HybridConnectionCollection & { +export type ContainerAppsListByResourceGroupResponse = ContainerAppCollection & { /** * The underlying HTTP response. */ @@ -15941,14 +16884,14 @@ export type AppServicePlansListHybridConnectionsNextResponse = HybridConnectionC /** * The response body as parsed JSON or XML */ - parsedBody: HybridConnectionCollection; + parsedBody: ContainerAppCollection; }; }; /** - * Contains response data for the listWebAppsNext operation. + * Contains response data for the get operation. */ -export type AppServicePlansListWebAppsNextResponse = WebAppCollection & { +export type ContainerAppsGetResponse = ContainerApp & { /** * The underlying HTTP response. */ @@ -15961,14 +16904,14 @@ export type AppServicePlansListWebAppsNextResponse = WebAppCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: WebAppCollection; + parsedBody: ContainerApp; }; }; /** - * Contains response data for the listUsagesNext operation. + * Contains response data for the createOrUpdate operation. */ -export type AppServicePlansListUsagesNextResponse = CsmUsageQuotaCollection & { +export type ContainerAppsCreateOrUpdateResponse = ContainerApp & { /** * The underlying HTTP response. */ @@ -15981,14 +16924,14 @@ export type AppServicePlansListUsagesNextResponse = CsmUsageQuotaCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: CsmUsageQuotaCollection; + parsedBody: ContainerApp; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listSecrets operation. */ -export type CertificatesListResponse = CertificateCollection & { +export type ContainerAppsListSecretsResponse = SecretsCollection & { /** * The underlying HTTP response. */ @@ -16001,14 +16944,14 @@ export type CertificatesListResponse = CertificateCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: CertificateCollection; + parsedBody: SecretsCollection; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type CertificatesListByResourceGroupResponse = CertificateCollection & { +export type ContainerAppsBeginCreateOrUpdateResponse = ContainerApp & { /** * The underlying HTTP response. */ @@ -16021,14 +16964,14 @@ export type CertificatesListByResourceGroupResponse = CertificateCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: CertificateCollection; + parsedBody: ContainerApp; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listBySubscriptionNext operation. */ -export type CertificatesGetResponse = Certificate & { +export type ContainerAppsListBySubscriptionNextResponse = ContainerAppCollection & { /** * The underlying HTTP response. */ @@ -16041,14 +16984,14 @@ export type CertificatesGetResponse = Certificate & { /** * The response body as parsed JSON or XML */ - parsedBody: Certificate; + parsedBody: ContainerAppCollection; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type CertificatesCreateOrUpdateResponse = Certificate & { +export type ContainerAppsListByResourceGroupNextResponse = ContainerAppCollection & { /** * The underlying HTTP response. */ @@ -16061,14 +17004,14 @@ export type CertificatesCreateOrUpdateResponse = Certificate & { /** * The response body as parsed JSON or XML */ - parsedBody: Certificate; + parsedBody: ContainerAppCollection; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listRevisions operation. */ -export type CertificatesUpdateResponse = Certificate & { +export type ContainerAppsRevisionsListRevisionsResponse = RevisionCollection & { /** * The underlying HTTP response. */ @@ -16081,14 +17024,14 @@ export type CertificatesUpdateResponse = Certificate & { /** * The response body as parsed JSON or XML */ - parsedBody: Certificate; + parsedBody: RevisionCollection; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the getRevision operation. */ -export type CertificatesListNextResponse = CertificateCollection & { +export type ContainerAppsRevisionsGetRevisionResponse = Revision & { /** * The underlying HTTP response. */ @@ -16101,14 +17044,14 @@ export type CertificatesListNextResponse = CertificateCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: CertificateCollection; + parsedBody: Revision; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the listRevisionsNext operation. */ -export type CertificatesListByResourceGroupNextResponse = CertificateCollection & { +export type ContainerAppsRevisionsListRevisionsNextResponse = RevisionCollection & { /** * The underlying HTTP response. */ @@ -16121,7 +17064,7 @@ export type CertificatesListByResourceGroupNextResponse = CertificateCollection /** * The response body as parsed JSON or XML */ - parsedBody: CertificateCollection; + parsedBody: RevisionCollection; }; }; @@ -17765,26 +18708,6 @@ export type ResourceHealthMetadataListBySiteSlotNextResponse = ResourceHealthMet }; }; -/** - * 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. */ @@ -17925,6 +18848,26 @@ export type CheckNameAvailabilityResponse = ResourceNameAvailability & { }; }; +/** + * Contains response data for the listCustomHostNameSites operation. + */ +export type ListCustomHostNameSitesResponse = CustomHostnameSitesCollection & { + /** + * 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: CustomHostnameSitesCollection; + }; +}; + /** * Contains response data for the getSubscriptionDeploymentLocations operation. */ @@ -18105,6 +19048,26 @@ export type ListBillingMetersNextResponse = BillingMeterCollection & { }; }; +/** + * Contains response data for the listCustomHostNameSitesNext operation. + */ +export type ListCustomHostNameSitesNextResponse = CustomHostnameSitesCollection & { + /** + * 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: CustomHostnameSitesCollection; + }; +}; + /** * Contains response data for the listGeoRegionsNext operation. */ @@ -19636,6 +20599,26 @@ export type WebAppsGetAuthSettingsResponse = SiteAuthSettings & { }; }; +/** + * Contains response data for the getAuthSettingsV2 operation. + */ +export type WebAppsGetAuthSettingsV2Response = 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 updateAuthSettingsV2 operation. */ @@ -19657,9 +20640,9 @@ export type WebAppsUpdateAuthSettingsV2Response = SiteAuthSettingsV2 & { }; /** - * Contains response data for the getAuthSettingsV2 operation. + * Contains response data for the listAuthSettingsV2 operation. */ -export type WebAppsGetAuthSettingsV2Response = SiteAuthSettingsV2 & { +export type WebAppsListAuthSettingsV2Response = SiteAuthSettingsV2 & { /** * The underlying HTTP response. */ diff --git a/sdk/appservice/arm-appservice/src/models/kubeEnvironmentsMappers.ts b/sdk/appservice/arm-appservice/src/models/kubeEnvironmentsMappers.ts index 4a04e39866e0..e1bd975d4cbf 100644 --- a/sdk/appservice/arm-appservice/src/models/kubeEnvironmentsMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/kubeEnvironmentsMappers.ts @@ -69,22 +69,32 @@ export { CertificatePatchResource, ClientRegistration, CloningInfo, + Configuration, ConnectionStringDictionary, ConnStringInfo, ConnStringValueTypePair, Contact, + Container, + ContainerApp, + ContainerAppsConfiguration, ContainerCpuStatistics, ContainerCpuUsage, ContainerInfo, ContainerMemoryStatistics, ContainerNetworkInterfaceStatistics, + ContainerResources, ContainerThrottlingData, ContinuousWebJob, CookieExpiration, CorsSettings, CsmPublishingCredentialsPoliciesEntity, CustomHostnameAnalysisResult, + CustomHostnameSites, CustomOpenIdConnectProvider, + CustomScaleRule, + Dapr, + DaprComponent, + DaprMetadata, DatabaseBackupSetting, DataProviderMetadata, DataSource, @@ -113,6 +123,7 @@ export { DomainPatchResource, DomainPurchaseConsent, EnabledConfig, + EnvironmentVar, ErrorEntity, Experiments, ExtendedLocation, @@ -142,6 +153,7 @@ export { HostNameBinding, HostNameSslState, HttpLogsConfig, + HttpScaleRule, HttpSettings, HttpSettingsRoutes, HybridConnection, @@ -149,6 +161,7 @@ export { HybridConnectionLimits, Identifier, IdentityProviders, + Ingress, IpSecurityRestriction, JwtClaimChecks, KeyValuePairStringObject, @@ -192,9 +205,11 @@ export { PushSettings, QueryUtterancesResult, QueryUtterancesResults, + QueueScaleRule, RampUpRule, Recommendation, RecommendationRule, + RegistryCredentials, ReissueCertificateOrderRequest, RelayServiceConnectionEntity, RemotePrivateEndpointConnection, @@ -209,7 +224,12 @@ export { ResponseMessageEnvelopeRemotePrivateEndpointConnection, ResponseMetaData, RestoreRequest, + Revision, SampleUtterance, + Scale, + ScaleRule, + ScaleRuleAuth, + Secret, Site, SiteAuthSettings, SiteAuthSettingsV2, @@ -263,8 +283,10 @@ export { StringList, SupportTopic, SwiftVirtualNetwork, + Template, TokenStore, TopLevelDomain, + TrafficWeight, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, diff --git a/sdk/appservice/arm-appservice/src/models/mappers.ts b/sdk/appservice/arm-appservice/src/models/mappers.ts index 43e4f061d4bb..9682ec1b0fa2 100644 --- a/sdk/appservice/arm-appservice/src/models/mappers.ts +++ b/sdk/appservice/arm-appservice/src/models/mappers.ts @@ -1354,6 +1354,89 @@ export const HybridConnection: msRest.CompositeMapper = { } }; +export const HostNameBinding: msRest.CompositeMapper = { + serializedName: "HostNameBinding", + type: { + name: "Composite", + className: "HostNameBinding", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + siteName: { + serializedName: "properties.siteName", + type: { + name: "String" + } + }, + domainId: { + serializedName: "properties.domainId", + type: { + name: "String" + } + }, + azureResourceName: { + serializedName: "properties.azureResourceName", + type: { + name: "String" + } + }, + azureResourceType: { + serializedName: "properties.azureResourceType", + type: { + name: "Enum", + allowedValues: [ + "Website", + "TrafficManager" + ] + } + }, + customHostNameDnsRecordType: { + serializedName: "properties.customHostNameDnsRecordType", + type: { + name: "Enum", + allowedValues: [ + "CName", + "A" + ] + } + }, + hostNameType: { + serializedName: "properties.hostNameType", + type: { + name: "Enum", + allowedValues: [ + "Verified", + "Managed" + ] + } + }, + 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 SampleUtterance: msRest.CompositeMapper = { serializedName: "SampleUtterance", type: { @@ -7393,162 +7476,172 @@ export const CertificatePatchResource: msRest.CompositeMapper = { } }; -export const Solution: msRest.CompositeMapper = { - serializedName: "Solution", +export const EnvironmentVar: msRest.CompositeMapper = { + serializedName: "EnvironmentVar", type: { name: "Composite", - className: "Solution", + className: "EnvironmentVar", modelProperties: { - id: { - serializedName: "id", + name: { + serializedName: "name", type: { - name: "Number" + name: "String" } }, - displayName: { - serializedName: "displayName", + value: { + serializedName: "value", type: { name: "String" } }, - order: { - serializedName: "order", + secretRef: { + serializedName: "secretRef", + type: { + name: "String" + } + } + } + } +}; + +export const ContainerResources: msRest.CompositeMapper = { + serializedName: "ContainerResources", + type: { + name: "Composite", + className: "ContainerResources", + modelProperties: { + cpu: { + serializedName: "cpu", type: { name: "Number" } }, - description: { - serializedName: "description", + memory: { + serializedName: "memory", + type: { + name: "String" + } + } + } + } +}; + +export const Container: msRest.CompositeMapper = { + serializedName: "Container", + type: { + name: "Composite", + className: "Container", + modelProperties: { + image: { + serializedName: "image", type: { name: "String" } }, - type: { - serializedName: "type", + name: { + serializedName: "name", type: { - name: "Enum", - allowedValues: [ - "QuickSolution", - "DeepInvestigation", - "BestPractices" - ] + name: "String" } }, - data: { - serializedName: "data", + command: { + serializedName: "command", type: { name: "Sequence", element: { type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "NameValuePair" - } - } + name: "String" } } } }, - metadata: { - serializedName: "metadata", + args: { + serializedName: "args", type: { name: "Sequence", element: { type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "NameValuePair" - } - } + name: "String" + } + } + } + }, + env: { + serializedName: "env", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EnvironmentVar" } } } + }, + resources: { + serializedName: "resources", + type: { + name: "Composite", + className: "ContainerResources" + } } } } }; -export const DetectorAbnormalTimePeriod: msRest.CompositeMapper = { - serializedName: "DetectorAbnormalTimePeriod", +export const ScaleRuleAuth: msRest.CompositeMapper = { + serializedName: "ScaleRuleAuth", type: { name: "Composite", - className: "DetectorAbnormalTimePeriod", + className: "ScaleRuleAuth", modelProperties: { - startTime: { - serializedName: "startTime", - type: { - name: "DateTime" - } - }, - endTime: { - serializedName: "endTime", - type: { - name: "DateTime" - } - }, - message: { - serializedName: "message", + secretRef: { + serializedName: "secretRef", type: { name: "String" } }, - source: { - serializedName: "source", + triggerParameter: { + serializedName: "triggerParameter", type: { name: "String" } - }, - priority: { - serializedName: "priority", + } + } + } +}; + +export const CustomScaleRule: msRest.CompositeMapper = { + serializedName: "CustomScaleRule", + type: { + name: "Composite", + className: "CustomScaleRule", + modelProperties: { + type: { + serializedName: "type", type: { - name: "Number" + name: "String" } }, - metaData: { - serializedName: "metaData", + metadata: { + serializedName: "metadata", type: { - name: "Sequence", - element: { + name: "Dictionary", + value: { type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "NameValuePair" - } - } + name: "String" } } } }, - type: { - serializedName: "type", - type: { - name: "Enum", - allowedValues: [ - "ServiceIncident", - "AppDeployment", - "AppCrash", - "RuntimeIssueDetected", - "AseDeployment", - "UserIssue", - "PlatformIssue", - "Other" - ] - } - }, - solutions: { - serializedName: "solutions", + auth: { + serializedName: "auth", type: { name: "Sequence", element: { type: { name: "Composite", - className: "Solution" + className: "ScaleRuleAuth" } } } @@ -7557,29 +7650,835 @@ export const DetectorAbnormalTimePeriod: msRest.CompositeMapper = { } }; -export const AbnormalTimePeriod: msRest.CompositeMapper = { - serializedName: "AbnormalTimePeriod", +export const DaprMetadata: msRest.CompositeMapper = { + serializedName: "DaprMetadata", type: { name: "Composite", - className: "AbnormalTimePeriod", + className: "DaprMetadata", modelProperties: { - startTime: { - serializedName: "startTime", + name: { + serializedName: "name", type: { - name: "DateTime" + name: "String" } }, - endTime: { - serializedName: "endTime", + value: { + serializedName: "value", type: { - name: "DateTime" + name: "String" } }, - events: { - serializedName: "events", + secretRef: { + serializedName: "secretRef", type: { - name: "Sequence", - element: { + name: "String" + } + } + } + } +}; + +export const DaprComponent: msRest.CompositeMapper = { + serializedName: "DaprComponent", + type: { + name: "Composite", + className: "DaprComponent", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + type: { + serializedName: "type", + type: { + name: "String" + } + }, + version: { + serializedName: "version", + type: { + name: "String" + } + }, + metadata: { + serializedName: "metadata", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DaprMetadata" + } + } + } + } + } + } +}; + +export const Dapr: msRest.CompositeMapper = { + serializedName: "Dapr", + type: { + name: "Composite", + className: "Dapr", + modelProperties: { + enabled: { + serializedName: "enabled", + type: { + name: "Boolean" + } + }, + appId: { + serializedName: "appId", + type: { + name: "String" + } + }, + appPort: { + serializedName: "appPort", + type: { + name: "Number" + } + }, + components: { + serializedName: "components", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DaprComponent" + } + } + } + } + } + } +}; + +export const HttpScaleRule: msRest.CompositeMapper = { + serializedName: "HttpScaleRule", + type: { + name: "Composite", + className: "HttpScaleRule", + modelProperties: { + metadata: { + serializedName: "metadata", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + auth: { + serializedName: "auth", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ScaleRuleAuth" + } + } + } + } + } + } +}; + +export const QueueScaleRule: msRest.CompositeMapper = { + serializedName: "QueueScaleRule", + type: { + name: "Composite", + className: "QueueScaleRule", + modelProperties: { + queueName: { + serializedName: "queueName", + type: { + name: "String" + } + }, + queueLength: { + serializedName: "queueLength", + type: { + name: "Number" + } + }, + auth: { + serializedName: "auth", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ScaleRuleAuth" + } + } + } + } + } + } +}; + +export const ScaleRule: msRest.CompositeMapper = { + serializedName: "ScaleRule", + type: { + name: "Composite", + className: "ScaleRule", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + azureQueue: { + serializedName: "azureQueue", + type: { + name: "Composite", + className: "QueueScaleRule" + } + }, + custom: { + serializedName: "custom", + type: { + name: "Composite", + className: "CustomScaleRule" + } + }, + http: { + serializedName: "http", + type: { + name: "Composite", + className: "HttpScaleRule" + } + } + } + } +}; + +export const Scale: msRest.CompositeMapper = { + serializedName: "Scale", + type: { + name: "Composite", + className: "Scale", + modelProperties: { + minReplicas: { + serializedName: "minReplicas", + type: { + name: "Number" + } + }, + maxReplicas: { + serializedName: "maxReplicas", + type: { + name: "Number" + } + }, + rules: { + serializedName: "rules", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ScaleRule" + } + } + } + } + } + } +}; + +export const Template: msRest.CompositeMapper = { + serializedName: "Template", + type: { + name: "Composite", + className: "Template", + modelProperties: { + revisionSuffix: { + serializedName: "revisionSuffix", + type: { + name: "String" + } + }, + containers: { + serializedName: "containers", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Container" + } + } + } + }, + scale: { + serializedName: "scale", + type: { + name: "Composite", + className: "Scale" + } + }, + dapr: { + serializedName: "dapr", + type: { + name: "Composite", + className: "Dapr" + } + } + } + } +}; + +export const Secret: msRest.CompositeMapper = { + serializedName: "Secret", + type: { + name: "Composite", + className: "Secret", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + value: { + serializedName: "value", + type: { + name: "String" + } + } + } + } +}; + +export const TrafficWeight: msRest.CompositeMapper = { + serializedName: "TrafficWeight", + type: { + name: "Composite", + className: "TrafficWeight", + modelProperties: { + revisionName: { + serializedName: "revisionName", + type: { + name: "String" + } + }, + weight: { + serializedName: "weight", + type: { + name: "Number" + } + }, + latestRevision: { + serializedName: "latestRevision", + defaultValue: false, + type: { + name: "Boolean" + } + } + } + } +}; + +export const Ingress: msRest.CompositeMapper = { + serializedName: "Ingress", + type: { + name: "Composite", + className: "Ingress", + modelProperties: { + fqdn: { + readOnly: true, + serializedName: "fqdn", + type: { + name: "String" + } + }, + external: { + serializedName: "external", + defaultValue: false, + type: { + name: "Boolean" + } + }, + targetPort: { + serializedName: "targetPort", + type: { + name: "Number" + } + }, + transport: { + serializedName: "transport", + type: { + name: "String" + } + }, + traffic: { + serializedName: "traffic", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "TrafficWeight" + } + } + } + }, + allowInsecure: { + serializedName: "allowInsecure", + type: { + name: "Boolean" + } + } + } + } +}; + +export const RegistryCredentials: msRest.CompositeMapper = { + serializedName: "RegistryCredentials", + type: { + name: "Composite", + className: "RegistryCredentials", + modelProperties: { + server: { + serializedName: "server", + type: { + name: "String" + } + }, + username: { + serializedName: "username", + type: { + name: "String" + } + }, + passwordSecretRef: { + serializedName: "passwordSecretRef", + type: { + name: "String" + } + } + } + } +}; + +export const Configuration: msRest.CompositeMapper = { + serializedName: "Configuration", + type: { + name: "Composite", + className: "Configuration", + modelProperties: { + secrets: { + serializedName: "secrets", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Secret" + } + } + } + }, + activeRevisionsMode: { + serializedName: "activeRevisionsMode", + type: { + name: "String" + } + }, + ingress: { + serializedName: "ingress", + type: { + name: "Composite", + className: "Ingress" + } + }, + registries: { + serializedName: "registries", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RegistryCredentials" + } + } + } + } + } + } +}; + +export const ContainerApp: msRest.CompositeMapper = { + serializedName: "ContainerApp", + type: { + name: "Composite", + className: "ContainerApp", + modelProperties: { + ...Resource.type.modelProperties, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + kubeEnvironmentId: { + serializedName: "properties.kubeEnvironmentId", + type: { + name: "String" + } + }, + latestRevisionName: { + readOnly: true, + serializedName: "properties.latestRevisionName", + type: { + name: "String" + } + }, + latestRevisionFqdn: { + readOnly: true, + serializedName: "properties.latestRevisionFqdn", + type: { + name: "String" + } + }, + configuration: { + serializedName: "properties.configuration", + type: { + name: "Composite", + className: "Configuration" + } + }, + template: { + serializedName: "properties.template", + type: { + name: "Composite", + className: "Template" + } + } + } + } +}; + +export const ContainerAppSecret: msRest.CompositeMapper = { + serializedName: "ContainerAppSecret", + type: { + name: "Composite", + className: "ContainerAppSecret", + modelProperties: { + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + value: { + readOnly: true, + serializedName: "value", + type: { + name: "String" + } + } + } + } +}; + +export const SecretsCollection: msRest.CompositeMapper = { + serializedName: "SecretsCollection", + type: { + name: "Composite", + className: "SecretsCollection", + modelProperties: { + value: { + required: true, + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ContainerAppSecret" + } + } + } + } + } + } +}; + +export const Revision: msRest.CompositeMapper = { + serializedName: "Revision", + type: { + name: "Composite", + className: "Revision", + modelProperties: { + ...Resource.type.modelProperties, + createdTime: { + readOnly: true, + serializedName: "properties.createdTime", + type: { + name: "DateTime" + } + }, + fqdn: { + readOnly: true, + serializedName: "properties.fqdn", + type: { + name: "String" + } + }, + template: { + readOnly: true, + serializedName: "properties.template", + type: { + name: "Composite", + className: "Template" + } + }, + active: { + readOnly: true, + serializedName: "properties.active", + type: { + name: "Boolean" + } + }, + replicas: { + readOnly: true, + serializedName: "properties.replicas", + type: { + name: "Number" + } + }, + trafficWeight: { + readOnly: true, + serializedName: "properties.trafficWeight", + type: { + name: "Number" + } + }, + provisioningError: { + readOnly: true, + serializedName: "properties.provisioningError", + type: { + name: "String" + } + }, + healthState: { + readOnly: true, + serializedName: "properties.healthState", + type: { + name: "String" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + } + } + } +}; + +export const Solution: msRest.CompositeMapper = { + serializedName: "Solution", + type: { + name: "Composite", + className: "Solution", + modelProperties: { + id: { + serializedName: "id", + type: { + name: "Number" + } + }, + displayName: { + serializedName: "displayName", + type: { + name: "String" + } + }, + order: { + serializedName: "order", + type: { + name: "Number" + } + }, + description: { + serializedName: "description", + type: { + name: "String" + } + }, + type: { + serializedName: "type", + type: { + name: "Enum", + allowedValues: [ + "QuickSolution", + "DeepInvestigation", + "BestPractices" + ] + } + }, + data: { + serializedName: "data", + type: { + name: "Sequence", + element: { + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "NameValuePair" + } + } + } + } + } + }, + metadata: { + serializedName: "metadata", + type: { + name: "Sequence", + element: { + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "NameValuePair" + } + } + } + } + } + } + } + } +}; + +export const DetectorAbnormalTimePeriod: msRest.CompositeMapper = { + serializedName: "DetectorAbnormalTimePeriod", + type: { + name: "Composite", + className: "DetectorAbnormalTimePeriod", + modelProperties: { + startTime: { + serializedName: "startTime", + type: { + name: "DateTime" + } + }, + endTime: { + serializedName: "endTime", + type: { + name: "DateTime" + } + }, + message: { + serializedName: "message", + type: { + name: "String" + } + }, + source: { + serializedName: "source", + type: { + name: "String" + } + }, + priority: { + serializedName: "priority", + type: { + name: "Number" + } + }, + metaData: { + serializedName: "metaData", + type: { + name: "Sequence", + element: { + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "NameValuePair" + } + } + } + } + } + }, + type: { + serializedName: "type", + type: { + name: "Enum", + allowedValues: [ + "ServiceIncident", + "AppDeployment", + "AppCrash", + "RuntimeIssueDetected", + "AseDeployment", + "UserIssue", + "PlatformIssue", + "Other" + ] + } + }, + solutions: { + serializedName: "solutions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Solution" + } + } + } + } + } + } +}; + +export const AbnormalTimePeriod: msRest.CompositeMapper = { + serializedName: "AbnormalTimePeriod", + type: { + name: "Composite", + className: "AbnormalTimePeriod", + modelProperties: { + startTime: { + serializedName: "startTime", + type: { + name: "DateTime" + } + }, + endTime: { + serializedName: "endTime", + type: { + name: "DateTime" + } + }, + events: { + serializedName: "events", + type: { + name: "Sequence", + element: { type: { name: "Composite", className: "DetectorAbnormalTimePeriod" @@ -8111,6 +9010,52 @@ export const AppLogsConfiguration: msRest.CompositeMapper = { } }; +export const ContainerAppsConfiguration: msRest.CompositeMapper = { + serializedName: "ContainerAppsConfiguration", + type: { + name: "Composite", + className: "ContainerAppsConfiguration", + modelProperties: { + daprAIInstrumentationKey: { + serializedName: "daprAIInstrumentationKey", + type: { + name: "String" + } + }, + platformReservedCidr: { + serializedName: "platformReservedCidr", + type: { + name: "String" + } + }, + platformReservedDnsIP: { + serializedName: "platformReservedDnsIP", + type: { + name: "String" + } + }, + controlPlaneSubnetResourceId: { + serializedName: "controlPlaneSubnetResourceId", + type: { + name: "String" + } + }, + appSubnetResourceId: { + serializedName: "appSubnetResourceId", + type: { + name: "String" + } + }, + dockerBridgeCidr: { + serializedName: "dockerBridgeCidr", + type: { + name: "String" + } + } + } + } +}; + export const FrontEndConfiguration: msRest.CompositeMapper = { serializedName: "FrontEndConfiguration", type: { @@ -8240,6 +9185,12 @@ export const KubeEnvironment: msRest.CompositeMapper = { name: "String" } }, + environmentType: { + serializedName: "properties.environmentType", + type: { + name: "String" + } + }, arcConfiguration: { serializedName: "properties.arcConfiguration", type: { @@ -8254,6 +9205,13 @@ export const KubeEnvironment: msRest.CompositeMapper = { className: "AppLogsConfiguration" } }, + containerAppsConfiguration: { + serializedName: "properties.containerAppsConfiguration", + type: { + name: "Composite", + className: "ContainerAppsConfiguration" + } + }, aksResourceID: { serializedName: "properties.aksResourceID", type: { @@ -8337,6 +9295,13 @@ export const KubeEnvironmentPatchResource: msRest.CompositeMapper = { className: "AppLogsConfiguration" } }, + containerAppsConfiguration: { + serializedName: "properties.containerAppsConfiguration", + type: { + name: "Composite", + className: "ContainerAppsConfiguration" + } + }, aksResourceID: { serializedName: "properties.aksResourceID", type: { @@ -9788,6 +10753,41 @@ export const CsmMoveResourceEnvelope: msRest.CompositeMapper = { } }; +export const CustomHostnameSites: msRest.CompositeMapper = { + serializedName: "CustomHostnameSites", + type: { + name: "Composite", + className: "CustomHostnameSites", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + customHostname: { + serializedName: "properties.customHostname", + type: { + name: "String" + } + }, + region: { + serializedName: "properties.region", + type: { + name: "String" + } + }, + siteResourceIds: { + serializedName: "properties.siteResourceIds", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Identifier" + } + } + } + } + } + } +}; + export const GeoRegion: msRest.CompositeMapper = { serializedName: "GeoRegion", type: { @@ -10844,12 +11844,17 @@ export const StaticSiteARMResource: msRest.CompositeMapper = { } }, provider: { - readOnly: true, serializedName: "properties.provider", type: { name: "String" } }, + enterpriseGradeCdnStatus: { + serializedName: "properties.enterpriseGradeCdnStatus", + type: { + name: "String" + } + }, sku: { serializedName: "sku", type: { @@ -11145,11 +12150,16 @@ export const StaticSitePatchResource: msRest.CompositeMapper = { } }, provider: { - readOnly: true, serializedName: "properties.provider", type: { name: "String" } + }, + enterpriseGradeCdnStatus: { + serializedName: "properties.enterpriseGradeCdnStatus", + type: { + name: "String" + } } } } @@ -11457,9 +12467,8 @@ export const AllowedPrincipals: msRest.CompositeMapper = { name: "Composite", className: "AllowedPrincipals", modelProperties: { - ...ProxyOnlyResource.type.modelProperties, groups: { - serializedName: "properties.groups", + serializedName: "groups", type: { name: "Sequence", element: { @@ -11470,7 +12479,7 @@ export const AllowedPrincipals: msRest.CompositeMapper = { } }, identities: { - serializedName: "properties.identities", + serializedName: "identities", type: { name: "Sequence", element: { @@ -11572,15 +12581,14 @@ export const AppRegistration: msRest.CompositeMapper = { name: "Composite", className: "AppRegistration", modelProperties: { - ...ProxyOnlyResource.type.modelProperties, appId: { - serializedName: "properties.appId", + serializedName: "appId", type: { name: "String" } }, appSecretSettingName: { - serializedName: "properties.appSecretSettingName", + serializedName: "appSecretSettingName", type: { name: "String" } @@ -11638,22 +12646,21 @@ export const Apple: msRest.CompositeMapper = { name: "Composite", className: "Apple", modelProperties: { - ...ProxyOnlyResource.type.modelProperties, enabled: { - serializedName: "properties.enabled", + serializedName: "enabled", type: { name: "Boolean" } }, registration: { - serializedName: "properties.registration", + serializedName: "registration", type: { name: "Composite", className: "AppleRegistration" } }, login: { - serializedName: "properties.login", + serializedName: "login", type: { name: "Composite", className: "LoginScopes" @@ -11817,39 +12824,38 @@ export const AzureActiveDirectoryRegistration: msRest.CompositeMapper = { name: "Composite", className: "AzureActiveDirectoryRegistration", modelProperties: { - ...ProxyOnlyResource.type.modelProperties, openIdIssuer: { - serializedName: "properties.openIdIssuer", + serializedName: "openIdIssuer", type: { name: "String" } }, clientId: { - serializedName: "properties.clientId", + serializedName: "clientId", type: { name: "String" } }, clientSecretSettingName: { - serializedName: "properties.clientSecretSettingName", + serializedName: "clientSecretSettingName", type: { name: "String" } }, clientSecretCertificateThumbprint: { - serializedName: "properties.clientSecretCertificateThumbprint", + serializedName: "clientSecretCertificateThumbprint", type: { name: "String" } }, clientSecretCertificateSubjectAlternativeName: { - serializedName: "properties.clientSecretCertificateSubjectAlternativeName", + serializedName: "clientSecretCertificateSubjectAlternativeName", type: { name: "String" } }, clientSecretCertificateIssuer: { - serializedName: "properties.clientSecretCertificateIssuer", + serializedName: "clientSecretCertificateIssuer", type: { name: "String" } @@ -11864,9 +12870,8 @@ export const AzureActiveDirectoryLogin: msRest.CompositeMapper = { name: "Composite", className: "AzureActiveDirectoryLogin", modelProperties: { - ...ProxyOnlyResource.type.modelProperties, loginParameters: { - serializedName: "properties.loginParameters", + serializedName: "loginParameters", type: { name: "Sequence", element: { @@ -11877,7 +12882,7 @@ export const AzureActiveDirectoryLogin: msRest.CompositeMapper = { } }, disableWWWAuthenticate: { - serializedName: "properties.disableWWWAuthenticate", + serializedName: "disableWWWAuthenticate", type: { name: "Boolean" } @@ -11952,16 +12957,15 @@ export const AzureActiveDirectoryValidation: msRest.CompositeMapper = { name: "Composite", className: "AzureActiveDirectoryValidation", modelProperties: { - ...ProxyOnlyResource.type.modelProperties, jwtClaimChecks: { - serializedName: "properties.jwtClaimChecks", + serializedName: "jwtClaimChecks", type: { name: "Composite", className: "JwtClaimChecks" } }, allowedAudiences: { - serializedName: "properties.allowedAudiences", + serializedName: "allowedAudiences", type: { name: "Sequence", element: { @@ -11972,7 +12976,7 @@ export const AzureActiveDirectoryValidation: msRest.CompositeMapper = { } }, defaultAuthorizationPolicy: { - serializedName: "properties.defaultAuthorizationPolicy", + serializedName: "defaultAuthorizationPolicy", type: { name: "Composite", className: "DefaultAuthorizationPolicy" @@ -12075,15 +13079,14 @@ export const AzureStaticWebApps: msRest.CompositeMapper = { name: "Composite", className: "AzureStaticWebApps", modelProperties: { - ...ProxyOnlyResource.type.modelProperties, enabled: { - serializedName: "properties.enabled", + serializedName: "enabled", type: { name: "Boolean" } }, registration: { - serializedName: "properties.registration", + serializedName: "registration", type: { name: "Composite", className: "AzureStaticWebAppsRegistration" @@ -12392,9 +13395,8 @@ export const BlobStorageTokenStore: msRest.CompositeMapper = { name: "Composite", className: "BlobStorageTokenStore", modelProperties: { - ...ProxyOnlyResource.type.modelProperties, sasUrlSettingName: { - serializedName: "properties.sasUrlSettingName", + serializedName: "sasUrlSettingName", type: { name: "String" } @@ -13155,22 +14157,21 @@ export const CustomOpenIdConnectProvider: msRest.CompositeMapper = { name: "Composite", className: "CustomOpenIdConnectProvider", modelProperties: { - ...ProxyOnlyResource.type.modelProperties, enabled: { - serializedName: "properties.enabled", + serializedName: "enabled", type: { name: "Boolean" } }, registration: { - serializedName: "properties.registration", + serializedName: "registration", type: { name: "Composite", className: "OpenIdConnectRegistration" } }, login: { - serializedName: "properties.login", + serializedName: "login", type: { name: "Composite", className: "OpenIdConnectLogin" @@ -13535,22 +14536,21 @@ export const GitHub: msRest.CompositeMapper = { name: "Composite", className: "GitHub", modelProperties: { - ...ProxyOnlyResource.type.modelProperties, enabled: { - serializedName: "properties.enabled", + serializedName: "enabled", type: { name: "Boolean" } }, registration: { - serializedName: "properties.registration", + serializedName: "registration", type: { name: "Composite", className: "ClientRegistration" } }, login: { - serializedName: "properties.login", + serializedName: "login", type: { name: "Composite", className: "LoginScopes" @@ -13703,29 +14703,28 @@ export const Google: msRest.CompositeMapper = { name: "Composite", className: "Google", modelProperties: { - ...ProxyOnlyResource.type.modelProperties, enabled: { - serializedName: "properties.enabled", + serializedName: "enabled", type: { name: "Boolean" } }, registration: { - serializedName: "properties.registration", + serializedName: "registration", type: { name: "Composite", className: "ClientRegistration" } }, login: { - serializedName: "properties.login", + serializedName: "login", type: { name: "Composite", className: "LoginScopes" } }, validation: { - serializedName: "properties.validation", + serializedName: "validation", type: { name: "Composite", className: "AllowedAudiencesValidation" @@ -13762,94 +14761,11 @@ export const HostKeys: msRest.CompositeMapper = { serializedName: "systemKeys", type: { name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - } - } - } -}; - -export const HostNameBinding: msRest.CompositeMapper = { - serializedName: "HostNameBinding", - type: { - name: "Composite", - className: "HostNameBinding", - modelProperties: { - ...ProxyOnlyResource.type.modelProperties, - siteName: { - serializedName: "properties.siteName", - type: { - name: "String" - } - }, - domainId: { - serializedName: "properties.domainId", - type: { - name: "String" - } - }, - azureResourceName: { - serializedName: "properties.azureResourceName", - type: { - name: "String" - } - }, - azureResourceType: { - serializedName: "properties.azureResourceType", - type: { - name: "Enum", - allowedValues: [ - "Website", - "TrafficManager" - ] - } - }, - customHostNameDnsRecordType: { - serializedName: "properties.customHostNameDnsRecordType", - type: { - name: "Enum", - allowedValues: [ - "CName", - "A" - ] - } - }, - hostNameType: { - serializedName: "properties.hostNameType", - type: { - name: "Enum", - allowedValues: [ - "Verified", - "Managed" - ] - } - }, - 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" + value: { + type: { + name: "String" + } + } } } } @@ -13926,84 +14842,82 @@ export const HttpSettings: msRest.CompositeMapper = { } }; -export const TwitterRegistration: msRest.CompositeMapper = { - serializedName: "TwitterRegistration", +export const LegacyMicrosoftAccount: msRest.CompositeMapper = { + serializedName: "LegacyMicrosoftAccount", type: { name: "Composite", - className: "TwitterRegistration", + className: "LegacyMicrosoftAccount", modelProperties: { - consumerKey: { - serializedName: "consumerKey", + enabled: { + serializedName: "enabled", type: { - name: "String" + name: "Boolean" } }, - consumerSecretSettingName: { - serializedName: "consumerSecretSettingName", + registration: { + serializedName: "registration", type: { - name: "String" + name: "Composite", + className: "ClientRegistration" + } + }, + login: { + serializedName: "login", + type: { + name: "Composite", + className: "LoginScopes" + } + }, + validation: { + serializedName: "validation", + type: { + name: "Composite", + className: "AllowedAudiencesValidation" } } } } }; -export const Twitter: msRest.CompositeMapper = { - serializedName: "Twitter", +export const TwitterRegistration: msRest.CompositeMapper = { + serializedName: "TwitterRegistration", type: { name: "Composite", - className: "Twitter", + className: "TwitterRegistration", modelProperties: { - ...ProxyOnlyResource.type.modelProperties, - enabled: { - serializedName: "properties.enabled", + consumerKey: { + serializedName: "consumerKey", type: { - name: "Boolean" + name: "String" } }, - registration: { - serializedName: "properties.registration", + consumerSecretSettingName: { + serializedName: "consumerSecretSettingName", type: { - name: "Composite", - className: "TwitterRegistration" + name: "String" } } } } }; -export const LegacyMicrosoftAccount: msRest.CompositeMapper = { - serializedName: "LegacyMicrosoftAccount", +export const Twitter: msRest.CompositeMapper = { + serializedName: "Twitter", type: { name: "Composite", - className: "LegacyMicrosoftAccount", + className: "Twitter", modelProperties: { - ...ProxyOnlyResource.type.modelProperties, enabled: { - serializedName: "properties.enabled", + serializedName: "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", + serializedName: "registration", type: { name: "Composite", - className: "AllowedAudiencesValidation" + className: "TwitterRegistration" } } } @@ -14044,30 +14958,18 @@ export const IdentityProviders: msRest.CompositeMapper = { className: "Google" } }, - twitter: { - serializedName: "twitter", + legacyMicrosoftAccount: { + serializedName: "legacyMicrosoftAccount", type: { name: "Composite", - className: "Twitter" - } - }, - customOpenIdConnectProviders: { - serializedName: "customOpenIdConnectProviders", - type: { - name: "Dictionary", - value: { - type: { - name: "Composite", - className: "CustomOpenIdConnectProvider" - } - } + className: "LegacyMicrosoftAccount" } }, - legacyMicrosoftAccount: { - serializedName: "legacyMicrosoftAccount", + twitter: { + serializedName: "twitter", type: { name: "Composite", - className: "LegacyMicrosoftAccount" + className: "Twitter" } }, apple: { @@ -14083,6 +14985,18 @@ export const IdentityProviders: msRest.CompositeMapper = { name: "Composite", className: "AzureStaticWebApps" } + }, + customOpenIdConnectProviders: { + serializedName: "customOpenIdConnectProviders", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "CustomOpenIdConnectProvider" + } + } + } } } } @@ -18243,6 +19157,96 @@ export const CertificateCollection: msRest.CompositeMapper = { } }; +export const HostNameBindingCollection: msRest.CompositeMapper = { + serializedName: "HostNameBindingCollection", + type: { + name: "Composite", + className: "HostNameBindingCollection", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HostNameBinding" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const ContainerAppCollection: msRest.CompositeMapper = { + serializedName: "ContainerAppCollection", + type: { + name: "Composite", + className: "ContainerAppCollection", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ContainerApp" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const RevisionCollection: msRest.CompositeMapper = { + serializedName: "RevisionCollection", + type: { + name: "Composite", + className: "RevisionCollection", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Revision" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const DeletedWebAppCollection: msRest.CompositeMapper = { serializedName: "DeletedWebAppCollection", type: { @@ -18603,6 +19607,36 @@ export const BillingMeterCollection: msRest.CompositeMapper = { } }; +export const CustomHostnameSitesCollection: msRest.CompositeMapper = { + serializedName: "CustomHostnameSitesCollection", + type: { + name: "Composite", + className: "CustomHostnameSitesCollection", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CustomHostnameSites" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const GeoRegionCollection: msRest.CompositeMapper = { serializedName: "GeoRegionCollection", type: { @@ -19113,36 +20147,6 @@ export const FunctionEnvelopeCollection: msRest.CompositeMapper = { } }; -export const HostNameBindingCollection: msRest.CompositeMapper = { - serializedName: "HostNameBindingCollection", - type: { - name: "Composite", - className: "HostNameBindingCollection", - modelProperties: { - value: { - required: true, - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HostNameBinding" - } - } - } - }, - nextLink: { - readOnly: true, - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - export const WebAppInstanceStatusCollection: msRest.CompositeMapper = { serializedName: "WebAppInstanceStatusCollection", type: { diff --git a/sdk/appservice/arm-appservice/src/models/parameters.ts b/sdk/appservice/arm-appservice/src/models/parameters.ts index ebdff54c8000..c9d62d2b5d9f 100644 --- a/sdk/appservice/arm-appservice/src/models/parameters.ts +++ b/sdk/appservice/arm-appservice/src/models/parameters.ts @@ -123,6 +123,16 @@ export const connectionStringKey: msRest.OperationURLParameter = { } } }; +export const containerAppName: msRest.OperationURLParameter = { + parameterPath: "containerAppName", + mapper: { + required: true, + serializedName: "containerAppName", + type: { + name: "String" + } + } +}; export const deletedSiteId: msRest.OperationURLParameter = { parameterPath: "deletedSiteId", mapper: { diff --git a/sdk/appservice/arm-appservice/src/models/providerMappers.ts b/sdk/appservice/arm-appservice/src/models/providerMappers.ts index f9ae30863caa..f22b6ababf9e 100644 --- a/sdk/appservice/arm-appservice/src/models/providerMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/providerMappers.ts @@ -70,15 +70,20 @@ export { CertificatePatchResource, ClientRegistration, CloningInfo, + Configuration, ConnectionStringDictionary, ConnStringInfo, ConnStringValueTypePair, Contact, + Container, + ContainerApp, + ContainerAppsConfiguration, ContainerCpuStatistics, ContainerCpuUsage, ContainerInfo, ContainerMemoryStatistics, ContainerNetworkInterfaceStatistics, + ContainerResources, ContainerThrottlingData, ContinuousWebJob, CookieExpiration, @@ -89,7 +94,12 @@ export { CsmOperationDisplay, CsmPublishingCredentialsPoliciesEntity, CustomHostnameAnalysisResult, + CustomHostnameSites, CustomOpenIdConnectProvider, + CustomScaleRule, + Dapr, + DaprComponent, + DaprMetadata, DatabaseBackupSetting, DataProviderMetadata, DataSource, @@ -119,6 +129,7 @@ export { DomainPatchResource, DomainPurchaseConsent, EnabledConfig, + EnvironmentVar, ErrorEntity, Experiments, ExtendedLocation, @@ -149,6 +160,7 @@ export { HostNameBinding, HostNameSslState, HttpLogsConfig, + HttpScaleRule, HttpSettings, HttpSettingsRoutes, HybridConnection, @@ -156,6 +168,7 @@ export { HybridConnectionLimits, Identifier, IdentityProviders, + Ingress, IpSecurityRestriction, JwtClaimChecks, KeyValuePairStringObject, @@ -201,9 +214,11 @@ export { PushSettings, QueryUtterancesResult, QueryUtterancesResults, + QueueScaleRule, RampUpRule, Recommendation, RecommendationRule, + RegistryCredentials, ReissueCertificateOrderRequest, RelayServiceConnectionEntity, RemotePrivateEndpointConnection, @@ -218,7 +233,12 @@ export { ResponseMessageEnvelopeRemotePrivateEndpointConnection, ResponseMetaData, RestoreRequest, + Revision, SampleUtterance, + Scale, + ScaleRule, + ScaleRuleAuth, + Secret, ServiceSpecification, Site, SiteAuthSettings, @@ -273,8 +293,10 @@ export { StringList, SupportTopic, SwiftVirtualNetwork, + Template, TokenStore, TopLevelDomain, + TrafficWeight, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, diff --git a/sdk/appservice/arm-appservice/src/models/recommendationsMappers.ts b/sdk/appservice/arm-appservice/src/models/recommendationsMappers.ts index a00476ca9f11..5501334583b8 100644 --- a/sdk/appservice/arm-appservice/src/models/recommendationsMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/recommendationsMappers.ts @@ -69,22 +69,32 @@ export { CertificatePatchResource, ClientRegistration, CloningInfo, + Configuration, ConnectionStringDictionary, ConnStringInfo, ConnStringValueTypePair, Contact, + Container, + ContainerApp, + ContainerAppsConfiguration, ContainerCpuStatistics, ContainerCpuUsage, ContainerInfo, ContainerMemoryStatistics, ContainerNetworkInterfaceStatistics, + ContainerResources, ContainerThrottlingData, ContinuousWebJob, CookieExpiration, CorsSettings, CsmPublishingCredentialsPoliciesEntity, CustomHostnameAnalysisResult, + CustomHostnameSites, CustomOpenIdConnectProvider, + CustomScaleRule, + Dapr, + DaprComponent, + DaprMetadata, DatabaseBackupSetting, DataProviderMetadata, DataSource, @@ -113,6 +123,7 @@ export { DomainPatchResource, DomainPurchaseConsent, EnabledConfig, + EnvironmentVar, ErrorEntity, Experiments, ExtendedLocation, @@ -142,6 +153,7 @@ export { HostNameBinding, HostNameSslState, HttpLogsConfig, + HttpScaleRule, HttpSettings, HttpSettingsRoutes, HybridConnection, @@ -149,6 +161,7 @@ export { HybridConnectionLimits, Identifier, IdentityProviders, + Ingress, IpSecurityRestriction, JwtClaimChecks, KeyValuePairStringObject, @@ -191,10 +204,12 @@ export { PushSettings, QueryUtterancesResult, QueryUtterancesResults, + QueueScaleRule, RampUpRule, Recommendation, RecommendationCollection, RecommendationRule, + RegistryCredentials, ReissueCertificateOrderRequest, RelayServiceConnectionEntity, RemotePrivateEndpointConnection, @@ -209,7 +224,12 @@ export { ResponseMessageEnvelopeRemotePrivateEndpointConnection, ResponseMetaData, RestoreRequest, + Revision, SampleUtterance, + Scale, + ScaleRule, + ScaleRuleAuth, + Secret, Site, SiteAuthSettings, SiteAuthSettingsV2, @@ -263,8 +283,10 @@ export { StringList, SupportTopic, SwiftVirtualNetwork, + Template, TokenStore, TopLevelDomain, + TrafficWeight, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, diff --git a/sdk/appservice/arm-appservice/src/models/resourceHealthMetadataOperationsMappers.ts b/sdk/appservice/arm-appservice/src/models/resourceHealthMetadataOperationsMappers.ts index 40eaf3f0f3b5..92a66da25db0 100644 --- a/sdk/appservice/arm-appservice/src/models/resourceHealthMetadataOperationsMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/resourceHealthMetadataOperationsMappers.ts @@ -69,22 +69,32 @@ export { CertificatePatchResource, ClientRegistration, CloningInfo, + Configuration, ConnectionStringDictionary, ConnStringInfo, ConnStringValueTypePair, Contact, + Container, + ContainerApp, + ContainerAppsConfiguration, ContainerCpuStatistics, ContainerCpuUsage, ContainerInfo, ContainerMemoryStatistics, ContainerNetworkInterfaceStatistics, + ContainerResources, ContainerThrottlingData, ContinuousWebJob, CookieExpiration, CorsSettings, CsmPublishingCredentialsPoliciesEntity, CustomHostnameAnalysisResult, + CustomHostnameSites, CustomOpenIdConnectProvider, + CustomScaleRule, + Dapr, + DaprComponent, + DaprMetadata, DatabaseBackupSetting, DataProviderMetadata, DataSource, @@ -113,6 +123,7 @@ export { DomainPatchResource, DomainPurchaseConsent, EnabledConfig, + EnvironmentVar, ErrorEntity, Experiments, ExtendedLocation, @@ -142,6 +153,7 @@ export { HostNameBinding, HostNameSslState, HttpLogsConfig, + HttpScaleRule, HttpSettings, HttpSettingsRoutes, HybridConnection, @@ -149,6 +161,7 @@ export { HybridConnectionLimits, Identifier, IdentityProviders, + Ingress, IpSecurityRestriction, JwtClaimChecks, KeyValuePairStringObject, @@ -191,9 +204,11 @@ export { PushSettings, QueryUtterancesResult, QueryUtterancesResults, + QueueScaleRule, RampUpRule, Recommendation, RecommendationRule, + RegistryCredentials, ReissueCertificateOrderRequest, RelayServiceConnectionEntity, RemotePrivateEndpointConnection, @@ -209,7 +224,12 @@ export { ResponseMessageEnvelopeRemotePrivateEndpointConnection, ResponseMetaData, RestoreRequest, + Revision, SampleUtterance, + Scale, + ScaleRule, + ScaleRuleAuth, + Secret, Site, SiteAuthSettings, SiteAuthSettingsV2, @@ -263,8 +283,10 @@ export { StringList, SupportTopic, SwiftVirtualNetwork, + Template, TokenStore, TopLevelDomain, + TrafficWeight, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, diff --git a/sdk/appservice/arm-appservice/src/models/staticSitesMappers.ts b/sdk/appservice/arm-appservice/src/models/staticSitesMappers.ts index e8826bc16f84..c01a359eab8c 100644 --- a/sdk/appservice/arm-appservice/src/models/staticSitesMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/staticSitesMappers.ts @@ -69,22 +69,32 @@ export { CertificatePatchResource, ClientRegistration, CloningInfo, + Configuration, ConnectionStringDictionary, ConnStringInfo, ConnStringValueTypePair, Contact, + Container, + ContainerApp, + ContainerAppsConfiguration, ContainerCpuStatistics, ContainerCpuUsage, ContainerInfo, ContainerMemoryStatistics, ContainerNetworkInterfaceStatistics, + ContainerResources, ContainerThrottlingData, ContinuousWebJob, CookieExpiration, CorsSettings, CsmPublishingCredentialsPoliciesEntity, CustomHostnameAnalysisResult, + CustomHostnameSites, CustomOpenIdConnectProvider, + CustomScaleRule, + Dapr, + DaprComponent, + DaprMetadata, DatabaseBackupSetting, DataProviderMetadata, DataSource, @@ -113,6 +123,7 @@ export { DomainPatchResource, DomainPurchaseConsent, EnabledConfig, + EnvironmentVar, ErrorEntity, Experiments, ExtendedLocation, @@ -142,6 +153,7 @@ export { HostNameBinding, HostNameSslState, HttpLogsConfig, + HttpScaleRule, HttpSettings, HttpSettingsRoutes, HybridConnection, @@ -149,6 +161,7 @@ export { HybridConnectionLimits, Identifier, IdentityProviders, + Ingress, IpSecurityRestriction, JwtClaimChecks, KeyValuePairStringObject, @@ -195,9 +208,11 @@ export { PushSettings, QueryUtterancesResult, QueryUtterancesResults, + QueueScaleRule, RampUpRule, Recommendation, RecommendationRule, + RegistryCredentials, ReissueCertificateOrderRequest, RelayServiceConnectionEntity, RemotePrivateEndpointConnection, @@ -212,7 +227,12 @@ export { ResponseMessageEnvelopeRemotePrivateEndpointConnection, ResponseMetaData, RestoreRequest, + Revision, SampleUtterance, + Scale, + ScaleRule, + ScaleRuleAuth, + Secret, Site, SiteAuthSettings, SiteAuthSettingsV2, @@ -272,8 +292,10 @@ export { StringList, SupportTopic, SwiftVirtualNetwork, + Template, TokenStore, TopLevelDomain, + TrafficWeight, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, diff --git a/sdk/appservice/arm-appservice/src/models/topLevelDomainsMappers.ts b/sdk/appservice/arm-appservice/src/models/topLevelDomainsMappers.ts index 6742d06b2410..3eaaea577645 100644 --- a/sdk/appservice/arm-appservice/src/models/topLevelDomainsMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/topLevelDomainsMappers.ts @@ -69,22 +69,32 @@ export { CertificatePatchResource, ClientRegistration, CloningInfo, + Configuration, ConnectionStringDictionary, ConnStringInfo, ConnStringValueTypePair, Contact, + Container, + ContainerApp, + ContainerAppsConfiguration, ContainerCpuStatistics, ContainerCpuUsage, ContainerInfo, ContainerMemoryStatistics, ContainerNetworkInterfaceStatistics, + ContainerResources, ContainerThrottlingData, ContinuousWebJob, CookieExpiration, CorsSettings, CsmPublishingCredentialsPoliciesEntity, CustomHostnameAnalysisResult, + CustomHostnameSites, CustomOpenIdConnectProvider, + CustomScaleRule, + Dapr, + DaprComponent, + DaprMetadata, DatabaseBackupSetting, DataProviderMetadata, DataSource, @@ -113,6 +123,7 @@ export { DomainPatchResource, DomainPurchaseConsent, EnabledConfig, + EnvironmentVar, ErrorEntity, Experiments, ExtendedLocation, @@ -142,6 +153,7 @@ export { HostNameBinding, HostNameSslState, HttpLogsConfig, + HttpScaleRule, HttpSettings, HttpSettingsRoutes, HybridConnection, @@ -149,6 +161,7 @@ export { HybridConnectionLimits, Identifier, IdentityProviders, + Ingress, IpSecurityRestriction, JwtClaimChecks, KeyValuePairStringObject, @@ -191,9 +204,11 @@ export { PushSettings, QueryUtterancesResult, QueryUtterancesResults, + QueueScaleRule, RampUpRule, Recommendation, RecommendationRule, + RegistryCredentials, ReissueCertificateOrderRequest, RelayServiceConnectionEntity, RemotePrivateEndpointConnection, @@ -208,7 +223,12 @@ export { ResponseMessageEnvelopeRemotePrivateEndpointConnection, ResponseMetaData, RestoreRequest, + Revision, SampleUtterance, + Scale, + ScaleRule, + ScaleRuleAuth, + Secret, Site, SiteAuthSettings, SiteAuthSettingsV2, @@ -262,12 +282,14 @@ export { StringList, SupportTopic, SwiftVirtualNetwork, + Template, TldLegalAgreement, TldLegalAgreementCollection, TokenStore, TopLevelDomain, TopLevelDomainAgreementOption, TopLevelDomainCollection, + TrafficWeight, TriggeredJobHistory, TriggeredJobRun, TriggeredWebJob, diff --git a/sdk/appservice/arm-appservice/src/models/webAppsMappers.ts b/sdk/appservice/arm-appservice/src/models/webAppsMappers.ts index eccb879c9baf..1d8421d8464f 100644 --- a/sdk/appservice/arm-appservice/src/models/webAppsMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/webAppsMappers.ts @@ -72,15 +72,20 @@ export { ClientRegistration, CloningInfo, CloudError, + Configuration, ConnectionStringDictionary, ConnStringInfo, ConnStringValueTypePair, Contact, + Container, + ContainerApp, + ContainerAppsConfiguration, ContainerCpuStatistics, ContainerCpuUsage, ContainerInfo, ContainerMemoryStatistics, ContainerNetworkInterfaceStatistics, + ContainerResources, ContainerThrottlingData, ContinuousWebJob, ContinuousWebJobCollection, @@ -92,7 +97,12 @@ export { CsmUsageQuota, CsmUsageQuotaCollection, CustomHostnameAnalysisResult, + CustomHostnameSites, CustomOpenIdConnectProvider, + CustomScaleRule, + Dapr, + DaprComponent, + DaprMetadata, DatabaseBackupSetting, DataProviderMetadata, DataSource, @@ -122,6 +132,7 @@ export { DomainPatchResource, DomainPurchaseConsent, EnabledConfig, + EnvironmentVar, ErrorEntity, Experiments, ExtendedLocation, @@ -155,6 +166,7 @@ export { HostNameBindingCollection, HostNameSslState, HttpLogsConfig, + HttpScaleRule, HttpSettings, HttpSettingsRoutes, HybridConnection, @@ -163,6 +175,7 @@ export { Identifier, IdentifierCollection, IdentityProviders, + Ingress, IpSecurityRestriction, JwtClaimChecks, KeyInfo, @@ -222,9 +235,11 @@ export { PushSettings, QueryUtterancesResult, QueryUtterancesResults, + QueueScaleRule, RampUpRule, Recommendation, RecommendationRule, + RegistryCredentials, ReissueCertificateOrderRequest, RelayServiceConnectionEntity, RemotePrivateEndpointConnection, @@ -239,7 +254,12 @@ export { ResponseMessageEnvelopeRemotePrivateEndpointConnection, ResponseMetaData, RestoreRequest, + Revision, SampleUtterance, + Scale, + ScaleRule, + ScaleRuleAuth, + Secret, Site, SiteAuthSettings, SiteAuthSettingsV2, @@ -300,8 +320,10 @@ export { StringList, SupportTopic, SwiftVirtualNetwork, + Template, TokenStore, TopLevelDomain, + TrafficWeight, TriggeredJobHistory, TriggeredJobHistoryCollection, TriggeredJobRun, diff --git a/sdk/appservice/arm-appservice/src/operations/certificates.ts b/sdk/appservice/arm-appservice/src/operations/certificates.ts index 3d76dec9ff02..3f73a6ef1b0c 100644 --- a/sdk/appservice/arm-appservice/src/operations/certificates.ts +++ b/sdk/appservice/arm-appservice/src/operations/certificates.ts @@ -219,6 +219,38 @@ export class Certificates { callback) as Promise; } + /** + * @summary Gets all hostname bindings a certificate is used in. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the certificate. + * @param [options] The optional parameters + * @returns Promise + */ + listHostnameBindings(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 certificate. + * @param callback The callback + */ + listHostnameBindings(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 certificate. + * @param options The optional parameters + * @param callback The callback + */ + listHostnameBindings(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listHostnameBindings(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + options + }, + listHostnameBindingsOperationSpec, + callback) as Promise; + } + /** * Description for Get all certificates for a subscription. * @summary Get all certificates for a subscription. @@ -276,6 +308,34 @@ export class Certificates { listByResourceGroupNextOperationSpec, callback) as Promise; } + + /** + * @summary Gets all hostname bindings a certificate is used in. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listHostnameBindingsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listHostnameBindingsNext(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 + */ + listHostnameBindingsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listHostnameBindingsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listHostnameBindingsNextOperationSpec, + callback) as Promise; + } } // Operation Specifications @@ -441,6 +501,31 @@ const updateOperationSpec: msRest.OperationSpec = { serializer }; +const listHostnameBindingsOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}/hostNameBindings", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.HostNameBindingCollection + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + const listNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", @@ -489,3 +574,27 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { }, serializer }; + +const listHostnameBindingsNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.HostNameBindingCollection + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; diff --git a/sdk/appservice/arm-appservice/src/operations/containerApps.ts b/sdk/appservice/arm-appservice/src/operations/containerApps.ts new file mode 100644 index 000000000000..cdaf869adf5a --- /dev/null +++ b/sdk/appservice/arm-appservice/src/operations/containerApps.ts @@ -0,0 +1,470 @@ +/* + * 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. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/containerAppsMappers"; +import * as Parameters from "../models/parameters"; +import { WebSiteManagementClientContext } from "../webSiteManagementClientContext"; + +/** Class representing a ContainerApps. */ +export class ContainerApps { + private readonly client: WebSiteManagementClientContext; + + /** + * Create a ContainerApps. + * @param {WebSiteManagementClientContext} client Reference to the service client. + */ + constructor(client: WebSiteManagementClientContext) { + this.client = client; + } + + /** + * @summary Get the Container Apps in a given subscription. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscription(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + listBySubscription(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listBySubscriptionOperationSpec, + callback) as Promise; + } + + /** + * @summary Get the Container Apps in a given resource group. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + options + }, + listByResourceGroupOperationSpec, + callback) as Promise; + } + + /** + * @summary Get the properties of a Container App. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the Container App. + * @param [options] The optional parameters + * @returns Promise + */ + get(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 Container App. + * @param callback The callback + */ + get(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 Container App. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Description for Create or update a Container App. + * @summary Create or update a Container App. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the Container App. + * @param containerAppEnvelope + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, name: string, containerAppEnvelope: Models.ContainerApp, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,name,containerAppEnvelope,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Description for Delete a Container App. + * @summary Delete a Container App. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the Container App. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,name,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * @summary List secrets for a container app + * @param name Name of the Container App. + * @param [options] The optional parameters + * @returns Promise + */ + listSecrets(name: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param name Name of the Container App. + * @param callback The callback + */ + listSecrets(name: string, callback: msRest.ServiceCallback): void; + /** + * @param name Name of the Container App. + * @param options The optional parameters + * @param callback The callback + */ + listSecrets(name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listSecrets(name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + name, + options + }, + listSecretsOperationSpec, + callback) as Promise; + } + + /** + * Description for Create or update a Container App. + * @summary Create or update a Container App. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the Container App. + * @param containerAppEnvelope + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, name: string, containerAppEnvelope: Models.ContainerApp, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + name, + containerAppEnvelope, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Description for Delete a Container App. + * @summary Delete a Container App. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the Container App. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + name, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * @summary Get the Container Apps in a given subscription. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listBySubscriptionNext(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 + */ + listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listBySubscriptionNextOperationSpec, + callback) as Promise; + } + + /** + * @summary Get the Container Apps in a given resource group. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByResourceGroupNext(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 + */ + listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByResourceGroupNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listBySubscriptionOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Web/containerApps", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ContainerAppCollection + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const listByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ContainerAppCollection + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{name}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ContainerApp + }, + 404: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const listSecretsOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Web/containerApps/{name}/listSecrets", + urlParameters: [ + Parameters.subscriptionId, + Parameters.name + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SecretsCollection + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{name}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "containerAppEnvelope", + mapper: { + ...Mappers.ContainerApp, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ContainerApp + }, + 201: { + bodyMapper: Mappers.ContainerApp + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{name}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ContainerAppCollection + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ContainerAppCollection + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; diff --git a/sdk/appservice/arm-appservice/src/operations/containerAppsRevisions.ts b/sdk/appservice/arm-appservice/src/operations/containerAppsRevisions.ts new file mode 100644 index 000000000000..fffe0d4ffe03 --- /dev/null +++ b/sdk/appservice/arm-appservice/src/operations/containerAppsRevisions.ts @@ -0,0 +1,380 @@ +/* + * 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. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/containerAppsRevisionsMappers"; +import * as Parameters from "../models/parameters"; +import { WebSiteManagementClientContext } from "../webSiteManagementClientContext"; + +/** Class representing a ContainerAppsRevisions. */ +export class ContainerAppsRevisions { + private readonly client: WebSiteManagementClientContext; + + /** + * Create a ContainerAppsRevisions. + * @param {WebSiteManagementClientContext} client Reference to the service client. + */ + constructor(client: WebSiteManagementClientContext) { + this.client = client; + } + + /** + * @summary Get the Revisions for a given Container App. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param containerAppName Name of the Container App for which Revisions are needed. + * @param [options] The optional parameters + * @returns Promise + */ + listRevisions(resourceGroupName: string, containerAppName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param containerAppName Name of the Container App for which Revisions are needed. + * @param callback The callback + */ + listRevisions(resourceGroupName: string, containerAppName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param containerAppName Name of the Container App for which Revisions are needed. + * @param options The optional parameters + * @param callback The callback + */ + listRevisions(resourceGroupName: string, containerAppName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listRevisions(resourceGroupName: string, containerAppName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + containerAppName, + options + }, + listRevisionsOperationSpec, + callback) as Promise; + } + + /** + * @summary Get a revision of a Container App. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param containerAppName Name of the Container App. + * @param name Name of the Container App Revision. + * @param [options] The optional parameters + * @returns Promise + */ + getRevision(resourceGroupName: string, containerAppName: string, name: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param containerAppName Name of the Container App. + * @param name Name of the Container App Revision. + * @param callback The callback + */ + getRevision(resourceGroupName: string, containerAppName: string, name: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param containerAppName Name of the Container App. + * @param name Name of the Container App Revision. + * @param options The optional parameters + * @param callback The callback + */ + getRevision(resourceGroupName: string, containerAppName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getRevision(resourceGroupName: string, containerAppName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + containerAppName, + name, + options + }, + getRevisionOperationSpec, + callback) as Promise; + } + + /** + * @summary Activates a revision for a Container App + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param containerAppName Name of the Container App. + * @param name Name of the Container App Revision to activate + * @param [options] The optional parameters + * @returns Promise + */ + activateRevision(resourceGroupName: string, containerAppName: string, name: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param containerAppName Name of the Container App. + * @param name Name of the Container App Revision to activate + * @param callback The callback + */ + activateRevision(resourceGroupName: string, containerAppName: string, name: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param containerAppName Name of the Container App. + * @param name Name of the Container App Revision to activate + * @param options The optional parameters + * @param callback The callback + */ + activateRevision(resourceGroupName: string, containerAppName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + activateRevision(resourceGroupName: string, containerAppName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + containerAppName, + name, + options + }, + activateRevisionOperationSpec, + callback); + } + + /** + * @summary Deactivates a revision for a Container App + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param containerAppName Name of the Container App. + * @param name Name of the Container App Revision to deactivate + * @param [options] The optional parameters + * @returns Promise + */ + deactivateRevision(resourceGroupName: string, containerAppName: string, name: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param containerAppName Name of the Container App. + * @param name Name of the Container App Revision to deactivate + * @param callback The callback + */ + deactivateRevision(resourceGroupName: string, containerAppName: string, name: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param containerAppName Name of the Container App. + * @param name Name of the Container App Revision to deactivate + * @param options The optional parameters + * @param callback The callback + */ + deactivateRevision(resourceGroupName: string, containerAppName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deactivateRevision(resourceGroupName: string, containerAppName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + containerAppName, + name, + options + }, + deactivateRevisionOperationSpec, + callback); + } + + /** + * @summary Restarts a revision for a Container App + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param containerAppName Name of the Container App. + * @param name Name of the Container App Revision to restart + * @param [options] The optional parameters + * @returns Promise + */ + restartRevision(resourceGroupName: string, containerAppName: string, name: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param containerAppName Name of the Container App. + * @param name Name of the Container App Revision to restart + * @param callback The callback + */ + restartRevision(resourceGroupName: string, containerAppName: string, name: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param containerAppName Name of the Container App. + * @param name Name of the Container App Revision to restart + * @param options The optional parameters + * @param callback The callback + */ + restartRevision(resourceGroupName: string, containerAppName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + restartRevision(resourceGroupName: string, containerAppName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + containerAppName, + name, + options + }, + restartRevisionOperationSpec, + callback); + } + + /** + * @summary Get the Revisions for a given Container App. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listRevisionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listRevisionsNext(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 + */ + listRevisionsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listRevisionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listRevisionsNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listRevisionsOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.containerAppName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RevisionCollection + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const getRevisionOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions/{name}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.containerAppName, + Parameters.name, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.Revision + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const activateRevisionOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions/{name}/activate", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.containerAppName, + Parameters.name, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const deactivateRevisionOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions/{name}/deactivate", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.containerAppName, + Parameters.name, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const restartRevisionOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions/{name}/restart", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.containerAppName, + Parameters.name, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const listRevisionsNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RevisionCollection + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; diff --git a/sdk/appservice/arm-appservice/src/operations/domains.ts b/sdk/appservice/arm-appservice/src/operations/domains.ts index 9e3f55998410..23da23bcdfee 100644 --- a/sdk/appservice/arm-appservice/src/operations/domains.ts +++ b/sdk/appservice/arm-appservice/src/operations/domains.ts @@ -502,6 +502,38 @@ export class Domains { callback); } + /** + * @summary Transfer out domain to another registrar + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param domainName Name of domain. + * @param [options] The optional parameters + * @returns Promise + */ + transferOut(resourceGroupName: string, domainName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param domainName Name of domain. + * @param callback The callback + */ + transferOut(resourceGroupName: string, domainName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param domainName Name of domain. + * @param options The optional parameters + * @param callback The callback + */ + transferOut(resourceGroupName: string, domainName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + transferOut(resourceGroupName: string, domainName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + domainName, + options + }, + transferOutOperationSpec, + callback) as Promise; + } + /** * Description for Creates or updates a domain. * @summary Creates or updates a domain. @@ -1029,6 +1061,32 @@ const renewOperationSpec: msRest.OperationSpec = { serializer }; +const transferOutOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/transferOut", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.domainName0, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.Domain + }, + 400: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}", diff --git a/sdk/appservice/arm-appservice/src/operations/index.ts b/sdk/appservice/arm-appservice/src/operations/index.ts index 567f90805a0e..195b8e22c651 100644 --- a/sdk/appservice/arm-appservice/src/operations/index.ts +++ b/sdk/appservice/arm-appservice/src/operations/index.ts @@ -16,6 +16,8 @@ export * from "./domainRegistrationProvider"; export * from "./appServiceEnvironments"; export * from "./appServicePlans"; export * from "./certificates"; +export * from "./containerApps"; +export * from "./containerAppsRevisions"; export * from "./deletedWebApps"; export * from "./diagnostics"; export * from "./global"; diff --git a/sdk/appservice/arm-appservice/src/operations/webApps.ts b/sdk/appservice/arm-appservice/src/operations/webApps.ts index f1bdf61c9ef0..e1f64860c353 100644 --- a/sdk/appservice/arm-appservice/src/operations/webApps.ts +++ b/sdk/appservice/arm-appservice/src/operations/webApps.ts @@ -829,6 +829,39 @@ export class WebApps { 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 site's Authentication / Authorization settings for apps via the V2 * format @@ -873,31 +906,31 @@ export class WebApps { * @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 + * @returns Promise */ - getAuthSettingsV2(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise; + listAuthSettingsV2(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; + listAuthSettingsV2(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 { + listAuthSettingsV2(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listAuthSettingsV2(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getAuthSettingsV2OperationSpec, - callback) as Promise; + listAuthSettingsV2OperationSpec, + callback) as Promise; } /** @@ -5667,29 +5700,9 @@ export class WebApps { * @param [options] The optional parameters * @returns Promise */ - restart(resourceGroupName: string, name: string, options?: Models.WebAppsRestartOptionalParams): Promise; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param callback The callback - */ - restart(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 - */ - restart(resourceGroupName: string, name: string, options: Models.WebAppsRestartOptionalParams, callback: msRest.ServiceCallback): void; - restart(resourceGroupName: string, name: string, options?: Models.WebAppsRestartOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - options - }, - restartOperationSpec, - callback); + restart(resourceGroupName: string, name: string, options?: Models.WebAppsRestartOptionalParams): Promise { + return this.beginRestart(resourceGroupName,name,options) + .then(lroPoller => lroPoller.pollUntilFinished()); } /** @@ -12242,34 +12255,9 @@ export class WebApps { * @param [options] The optional parameters * @returns Promise */ - restartSlot(resourceGroupName: string, name: string, slot: string, options?: Models.WebAppsRestartSlotOptionalParams): 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 restart the - * production slot. - * @param callback The callback - */ - restartSlot(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 restart the - * production slot. - * @param options The optional parameters - * @param callback The callback - */ - restartSlot(resourceGroupName: string, name: string, slot: string, options: Models.WebAppsRestartSlotOptionalParams, callback: msRest.ServiceCallback): void; - restartSlot(resourceGroupName: string, name: string, slot: string, options?: Models.WebAppsRestartSlotOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - slot, - options - }, - restartSlotOperationSpec, - callback); + restartSlot(resourceGroupName: string, name: string, slot: string, options?: Models.WebAppsRestartSlotOptionalParams): Promise { + return this.beginRestartSlot(resourceGroupName,name,slot,options) + .then(lroPoller => lroPoller.pollUntilFinished()); } /** @@ -15011,6 +14999,25 @@ export class WebApps { options); } + /** + * Description for Restarts an app (or deployment slot, if specified). + * @summary Restarts an app (or deployment slot, if specified). + * @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 + */ + beginRestart(resourceGroupName: string, name: string, options?: Models.WebAppsBeginRestartOptionalParams): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + name, + options + }, + beginRestartOperationSpec, + options); + } + /** * Description for Restores an app from a backup blob in Azure Storage. * @summary Restores an app from a backup blob in Azure Storage. @@ -15313,6 +15320,28 @@ export class WebApps { options); } + /** + * Description for Restarts an app (or deployment slot, if specified). + * @summary Restarts an app (or deployment slot, if specified). + * @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 restart the + * production slot. + * @param [options] The optional parameters + * @returns Promise + */ + beginRestartSlot(resourceGroupName: string, name: string, slot: string, options?: Models.WebAppsBeginRestartSlotOptionalParams): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + name, + slot, + options + }, + beginRestartSlotOperationSpec, + options); + } + /** * Description for Restores an app from a backup blob in Azure Storage. * @summary Restores an app from a backup blob in Azure Storage. @@ -18009,6 +18038,31 @@ const getAuthSettingsOperationSpec: msRest.OperationSpec = { serializer }; +const getAuthSettingsV2OperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettingsV2", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SiteAuthSettingsV2 + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + const updateAuthSettingsV2OperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettingsV2", @@ -18041,7 +18095,7 @@ const updateAuthSettingsV2OperationSpec: msRest.OperationSpec = { serializer }; -const getAuthSettingsV2OperationSpec: msRest.OperationSpec = { +const listAuthSettingsV2OperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettingsV2/list", urlParameters: [ @@ -21543,31 +21597,6 @@ const resetProductionSlotConfigOperationSpec: msRest.OperationSpec = { serializer }; -const restartOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restart", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.softRestart, - Parameters.synchronous, - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: {}, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - serializer -}; - const listSiteExtensionsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions", @@ -25855,32 +25884,6 @@ const resetSlotConfigurationSlotOperationSpec: msRest.OperationSpec = { serializer }; -const restartSlotOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restart", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.slot, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.softRestart, - Parameters.synchronous, - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: {}, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - serializer -}; - const listSiteExtensionsSlotOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/siteextensions", @@ -27935,6 +27938,32 @@ const beginDeletePrivateEndpointConnectionOperationSpec: msRest.OperationSpec = serializer }; +const beginRestartOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restart", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.softRestart, + Parameters.synchronous, + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + const beginRestoreFromBackupBlobOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restoreFromBackupBlob", @@ -28395,6 +28424,33 @@ const beginDeletePrivateEndpointConnectionSlotOperationSpec: msRest.OperationSpe serializer }; +const beginRestartSlotOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restart", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.softRestart, + Parameters.synchronous, + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + const beginRestoreFromBackupBlobSlotOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restoreFromBackupBlob", diff --git a/sdk/appservice/arm-appservice/src/webSiteManagementClient.ts b/sdk/appservice/arm-appservice/src/webSiteManagementClient.ts index aeec0eec437c..808b52f625d2 100644 --- a/sdk/appservice/arm-appservice/src/webSiteManagementClient.ts +++ b/sdk/appservice/arm-appservice/src/webSiteManagementClient.ts @@ -27,6 +27,8 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { appServiceEnvironments: operations.AppServiceEnvironments; appServicePlans: operations.AppServicePlans; certificates: operations.Certificates; + containerApps: operations.ContainerApps; + containerAppsRevisions: operations.ContainerAppsRevisions; deletedWebApps: operations.DeletedWebApps; diagnostics: operations.Diagnostics; global: operations.Global; @@ -60,6 +62,8 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { this.appServiceEnvironments = new operations.AppServiceEnvironments(this); this.appServicePlans = new operations.AppServicePlans(this); this.certificates = new operations.Certificates(this); + this.containerApps = new operations.ContainerApps(this); + this.containerAppsRevisions = new operations.ContainerAppsRevisions(this); this.deletedWebApps = new operations.DeletedWebApps(this); this.diagnostics = new operations.Diagnostics(this); this.global = new operations.Global(this); @@ -71,39 +75,6 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { this.webApps = new operations.WebApps(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 @@ -309,6 +280,30 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { callback) as Promise; } + /** + * @summary Get custom hostnames under this subscription + * @param [options] The optional parameters + * @returns Promise + */ + listCustomHostNameSites(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + listCustomHostNameSites(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + listCustomHostNameSites(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listCustomHostNameSites(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.sendOperationRequest( + { + options + }, + listCustomHostNameSitesOperationSpec, + callback) as Promise; + } + /** * Description for Gets list of available geo regions plus ministamps * @summary Gets list of available geo regions plus ministamps @@ -622,6 +617,34 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { callback) as Promise; } + /** + * @summary Get custom hostnames under this subscription + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listCustomHostNameSitesNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listCustomHostNameSitesNext(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 + */ + listCustomHostNameSitesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listCustomHostNameSitesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.sendOperationRequest( + { + nextPageLink, + options + }, + listCustomHostNameSitesNextOperationSpec, + callback) as Promise; + } + /** * Description for Get a list of available geographical regions. * @summary Get a list of available geographical regions. @@ -712,36 +735,6 @@ 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", @@ -924,6 +917,29 @@ const checkNameAvailabilityOperationSpec: msRest.OperationSpec = { serializer }; +const listCustomHostNameSitesOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Web/customhostnameSites", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CustomHostnameSitesCollection + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + const getSubscriptionDeploymentLocationsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/providers/Microsoft.Web/deploymentLocations", @@ -1224,6 +1240,30 @@ const listBillingMetersNextOperationSpec: msRest.OperationSpec = { serializer }; +const listCustomHostNameSitesNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CustomHostnameSitesCollection + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + const listGeoRegionsNextOperationSpec: 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 9f4767bb0eaf..83b82ee9709d 100644 --- a/sdk/appservice/arm-appservice/src/webSiteManagementClientContext.ts +++ b/sdk/appservice/arm-appservice/src/webSiteManagementClientContext.ts @@ -50,7 +50,7 @@ export class WebSiteManagementClientContext extends msRestAzure.AzureServiceClie super(credentials, options); - this.apiVersion = '2021-02-01'; + this.apiVersion = '2021-03-01'; this.acceptLanguage = 'en-US'; this.longRunningOperationRetryTimeout = 30; this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";