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
+ * default
- Single: 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